Skip to content
Discussion options

You must be logged in to vote

The corruption occurs at multiples of 10, so 10, 20, 30 etc. etc.. The reason seems to be that the PixelHallfeticaJP10P-Regular.ttf font file contains bitmap fonts for those sizes. It doesn't seem that Axmol handles the case of bitmap fonts embedded in TTF files.

You can see the bitmap fonts contained in it when loading in FontForge:

If you delete the bitmap fonts from the file, and save it back out, then not only does it fix the issue, but it also reduces the file size from 16MB to ~1.4MB. The file with the bitmap fonts removed is in this archive:

PixelHallfeticaJP10P-Regular.zip

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by halx99
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #3064 on February 20, 2026 12:15.