Hi all,
I have some trouble getting extended characters (umlauts from latin1) displayed correctly. I updated the Sasser-Slab font from the SDK to have the characters using Tophat, but the characters display with a star symbol (which is different then before, when the font did not have the characters, which caused a question mark symbol).
The font file looks good to me, it has the characters in the image map and the list (see zip attached).
Sasser-Slab-extended.zip (6.1 KB)
Any hints what this could cause?
That font works for me:
Here's my code:
font = playdate.graphics.font.new("Sasser-Slab")
function playdate.update()
font:drawText("ÄÖÜßäöüẞ", 64, 64)
end
Interesting. It does not work for me, no matter what I try. I even checked if the encoding of my source text is correct.
I do get the feeling that this is caused by something in the toolchain. I am using Linux and the Linux SDK and emulator. I guess you're using Windows? I don't have real hardware or a Windows machine right now, but will check If I can get access to a Windows system.
I created a minimal setup and it still does not work. Interesting is that some characters seem to be mismatched by a "..." and a TM sign.
results in:

I use macOS. It might be worth filing a bug report if it could be something wrong with the Linux version.
Ok, got my hands on a Windows system. It's indeed an issue with the Linux SDK or Emulator, the font works fine on Windows. I`ll file a bug report. Thanks!