problem about CEGUI's font
Posted: Fri Mar 14, 2008 01:29
I come from China. I try to use CEGUI, and I want show Chinese in my project. I followed some articles to do this(provide a .font file and a .ttf file, create font from c++, save as the file which contains Chinese words to UTF8 format...), and now I can show it.
But the memory occupancy increase a lot! I guess CEGUI create a texture for every "word", when I load Chinese font, more than ten thousand of glyphs are created, at the same time, 20M memory gone, and the startup became slowly....
How can I avoid this problem?
Does anyone know it ? I use DIRECTX9. If I use ID3DXFont interface shipped with the SDK, could the problem be solved?
This is my first post after I learn CEGUI four days. Thanks for any suggestion.
But the memory occupancy increase a lot! I guess CEGUI create a texture for every "word", when I load Chinese font, more than ten thousand of glyphs are created, at the same time, 20M memory gone, and the startup became slowly....
How can I avoid this problem?
Does anyone know it ? I use DIRECTX9. If I use ID3DXFont interface shipped with the SDK, could the problem be solved?
This is my first post after I learn CEGUI four days. Thanks for any suggestion.