I'm using: Roobert-24-Medium-table-36-36.pngRoobert-24-Medium.fnt files from the Resources/Fonts folder of the SDK but no matter how I change the .fnt file it doesn't seem to affect the font on screen. Do I also need to load the .fnt file somehow (as well as the .png)?
I was trying to adjust the spacing of "11" like it shows in the docs but it doesn't seem to be working.
I'm doing exactly what you're showing above, and my font shows up just like it should, it just doesn't seem to take the .fnt file into account. I wanted to have more space between the one's in the number eleven just like they show in the docs (Inside Playdate - under text) but no matter what number I put in there to add more space it doesn't work.
I have tried extreme numbers and nothing happens, even the first two listings in the .fnt file don't seem to be taken into account (tracking and space) it just seems like the SDK on compiling is not using it, and I even checked the naming of the 2 files (the .png vs the .fnt) seems like a bug.
look in the resource/fonts folder - notice that each font consists of a .png and a matching .fnt file, if you look at the .fnt file with a text editor you will see two columns - the first entry or two start with space and sometimes also tracking then the rest of the file is the character on the left and a number for the width of that character, then farther down the list is special info for custom spacing, etc.
search the Inside Playdate.html for this [Sample .fnt file excerp] to see what I'm talking about, the third example down shows what I'm talking about, it's being ignored. you should be able to put some custom spacing in there on a character by character basis. Unless I'm reading that wrong.
I think there's a compiler bug there--if you make a change to the fnt file and recompile the compiler doesn't realize it needs to update the compiled font because its timestamp is newer than the png file. If you delete the pdx and rebuild from scratch I believe you'll see the kerning and spacing changes.