Any edit to the cursor glyphs: generates an invalid file when starting from the Roobert-10-Bold SDK font.
Note that these glyphs are working in game/vscode but are incorrectly displayed as 2 characters in caps:
Compiler gives the following error:
.../Source/font/Roobert-10-White.fnt has 345 entries, but there are only 342 images in the table
Note: I have other fonts with these cursor glyphs that are compiling just fine!
Anything I can do while waiting for a fix?
Regards
Roobert-10-White.zip (15.7 KB)
matt
(gingerbeardman)
October 6, 2024, 7:31pm
2
You can use tophat (in prefer it)
thanks but looks like I am cursed - tophat font still breaks compiler with a different error:
/Source/font/Roobert-10-Black.fnt: encountered kerning data before spacing entries concluded, line 1107
Roobert-10-Black.zip (16.7 KB)
matt
(gingerbeardman)
October 6, 2024, 8:51pm
4
This file seems to have both old and new kerning data. I would try opening in text editor and deleting the whole metrics line. Or replace it with default metrics from a "blank" fnt
The kerning data I'd expect is at the bottom of the file.
I'm out and about so I can't try it myself.
Fixed by removing:
all double char entries (y* ...)
double left/right/... entries, CAPS (and VScode) is totally confused by:
One of these Unicode days I guess!
1 Like
matt
(gingerbeardman)
October 7, 2024, 9:47pm
7
The most minimal fix for me was removing only line 347.