[SOLVED] Problem with font

Use this forum for:
- Discussion regarding unofficial CEGUI related tools, scripts and utilities.
- User to user help for the obsoleted CELayoutEditor and CEImagesetEditor tools.

Moderators: CEGUI MVP, CEGUI Team

Just popping in
Just popping in
Posts: 16
Joined: Sat Nov 15, 2008 13:12

[SOLVED] Problem with font

Postby westpointer » Sun Mar 01, 2009 02:20

I use a chinese font in CEGUI Layout Editor. But the editor crash on running giving the following message:
CELayoutEditor Error
CELayoutEditor has detected and caught an exception. The following detailed info is available:

Description: Error
Exception Location: EditorFrame::LoadData
Exception Message: FreeTypeFont::load - The font 'msJKT-12' does not have a Unicode charmap, and cannot be used.
Exception Filename: \Temp\CEGUI-0.6.1-vc7\src\CEGUIFreeTypeFont.cpp
Exception Line: 413

Is it the problem of my ttf file? How can I solve it?

User avatar
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England

Re: Problem with font

Postby CrazyEddie » Sun Mar 01, 2009 19:06


westpointer wrote:Is it the problem of my ttf file?

Yes; because text rendering in CEGUI tries to be Unicode aware, we require that ttf font files have the Unicode character set.

westpointer wrote:How can I solve it?

Unfortunately, I think the only solution is to replace the ttf file with another that provides the required character set.


Return to “Unofficial CEGUI-Related Tools”

Who is online

Users browsing this forum: No registered users and 1 guest