Page 1 of 1

How to set font's GlyphRange in CEGUI 5.0?

Posted: Sat Mar 24, 2007 07:18
by hcg_me
I use the Chinese Font ,but I don't render all Glyph ,becase it is too more and take up too resource, I want set GlyphRange StartCodepoint="19968" EndCodepoint="40868" ,like CEGUI 4.0 ,how to do ?

Posted: Sat Mar 24, 2007 14:41
by scriptkid
Hi,

according to the font.xsd file you should be able to use these tags in 0.5 as well, by adding something like this to your font file:

Code: Select all

<GlyphRange StartCodepoint="19968" EndCodepoint="40868" />


Or did you try this already?

HTH.

Posted: Mon Mar 26, 2007 08:34
by hcg_me
Thank your adviance,but I try almost all methods ,but it still not works,
I need your help.