can not show chinese character(version 0.7.1)

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

cl781121
Just popping in
Just popping in
Posts: 18
Joined: Wed May 26, 2010 08:02

can not show chinese character(version 0.7.1)

Postby cl781121 » Wed Jun 30, 2010 10:45

hi there

here is my problem..


i use "sample_FontDemo" project for test

it is work fine if i use old version of cegui (0.6.2)

i just add

Code: Select all

{   
    (utf8 *)"MSYH. Chinese",   
    (utf8 *)"简体中文测试,微软雅黑\n",   
in struct LangList

but when i update version to 0.7.1 ,i can not see anything in editbox!!

i add

Code: Select all

{(utf8 *)"Chinese",
    (utf8*)"MSYH",
    (utf8*)("简体中文测试,微软雅黑\n")} 
in struct langlist


i create font in xml

Code: Select all

<?xml version="1.0" ?> 
<Font Name="MSYH" Filename="MSYH.TTF" Type="FreeType" Size="10" NativeHorzRes="800" NativeVertRes="600" AutoScaled="true" />


also i save as "FontDemo.layout" as utf-8,i use same font between 0.6.2 and 0.7.1

and..i missing something??

thanks

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

Re: can not show chinese character(version 0.7.1)

Postby CrazyEddie » Thu Jul 01, 2010 09:11

This should still be working. In 0.7.0 or 0.7.1 (I think) for the FontDemo code there were some changes to the way fonts and texts are dealt with and if the font is lot loaded the language will not be listed in the demo - not sure if that's the issue you're seeing or something else.

CE.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 8 guests