How to set font's GlyphRange in CEGUI 5.0?

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

hcg_me
Just popping in
Just popping in
Posts: 6
Joined: Thu May 25, 2006 07:22

How to set font's GlyphRange in CEGUI 5.0?

Postby hcg_me » Sat Mar 24, 2007 07:18

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 ?
I love CEGUI

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Sat Mar 24, 2007 14:41

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.

hcg_me
Just popping in
Just popping in
Posts: 6
Joined: Thu May 25, 2006 07:22

Postby hcg_me » Mon Mar 26, 2007 08:34

Thank your adviance,but I try almost all methods ,but it still not works,
I need your help.
I love CEGUI


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 4 guests