Dmitri
Reserves
I tried to increase font quality in the game.
It partially worked, somewhere there were problems with alignment, but the main problem is that it caused often crashes.
Basically I'm increasing the font size (passed from .apt config files into render engine), and at the same time, upscaling the rendering matrix (so the font looks the same size in-game, but with better quality).
I think the game allocates a sinlge texture for each text/line: and for bigger font size, the game tries to create bigger textures, and in some cases the engine is not able to create large textures.
I also tried to increase the quality in other ways. I think I found the "dpi" value for fonts (which is 72 by default), but also got crashes at some point (more quality = more crashes), and also alignment problems were more visible.
I tried to increase multiple engine limits but nothing worked. If no solution for crashes problem will be found, I think I will need to completely rewrite the font rendering and make the game renders each glyph separately.
It partially worked, somewhere there were problems with alignment, but the main problem is that it caused often crashes.
Basically I'm increasing the font size (passed from .apt config files into render engine), and at the same time, upscaling the rendering matrix (so the font looks the same size in-game, but with better quality).
I think the game allocates a sinlge texture for each text/line: and for bigger font size, the game tries to create bigger textures, and in some cases the engine is not able to create large textures.
I also tried to increase the quality in other ways. I think I found the "dpi" value for fonts (which is 72 by default), but also got crashes at some point (more quality = more crashes), and also alignment problems were more visible.
I tried to increase multiple engine limits but nothing worked. If no solution for crashes problem will be found, I think I will need to completely rewrite the font rendering and make the game renders each glyph separately.