Nowadays, I develop a game which need custom font(ttf) to print the text in the game.
But now, orx doesn't support ttf. I think it is somewhat reasonable since ttf parsed may affect the performance of the game. The solution to replace this feature is using orxFontGen to generate a bitmap as a custom font. But the problem is the size of the letters in the bitmap is not the same. Some letters need a broad width while some need a narrow width relatively. now if every letter is the same, the space between letters will be broad, and have a bad effect to the beauty of the game.
my solution is to store every letter's width(get from ttf face's glyph advance) in the font section in config. and display every letter according to it. To realize it the places to modify include the orx lib, plugins, and the font gen tool.
I think I could complete this modification for orx by myself. But Before I work on it, I want to ask you is there any better solution to this issue. If agree with it, I will modify them. and hope to sync with thunk.
Maybe another solution to this is to realize ttf support. But it seems cost more time.