Glyph does not fit in atlas
Posted: 01 May 2026, 18:14
Problem: the glyph atlas is full. Here is the error message:
I know that it is possible to increase the cache size (SetGlyphCacheHeight, SetGlyphCacheWidth), which I have already done up to 2048. However, I am not sure that this will fix my problem for long.
I have a cross platform online game. At the moment there is support for two languages. In the near future it is planned to add more languages. There is a shared in game chat where messages can appear in different languages. There are also various game interfaces that the player can open and close. These interfaces are displayed only in the language selected by the player. They use different fonts (Montserrat: Bold, Bold Italic, Regular, Medium, SemiBold, SemiBold Italic). In Noesis Inspector I observed that 1024 was filled very quickly. The 2048 atlas is already half full. When multilingual support is added, I am sure that 2048 will also overflow.
What are the possible solutions for multilingual applications where different glyphs fill the atlas and are not replaced quickly enough?
Code: Select all
Glyph '1ec' (28x62) does not fit in atlas (1024x1024). Consider increasing atlas sizeI have a cross platform online game. At the moment there is support for two languages. In the near future it is planned to add more languages. There is a shared in game chat where messages can appear in different languages. There are also various game interfaces that the player can open and close. These interfaces are displayed only in the language selected by the player. They use different fonts (Montserrat: Bold, Bold Italic, Regular, Medium, SemiBold, SemiBold Italic). In Noesis Inspector I observed that 1024 was filled very quickly. The 2048 atlas is already half full. When multilingual support is added, I am sure that 2048 will also overflow.
What are the possible solutions for multilingual applications where different glyphs fill the atlas and are not replaced quickly enough?