Page 1 of 1

can not show chinese character(version 0.7.1)

Posted: Wed Jun 30, 2010 10:45
by cl781121
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

Re: can not show chinese character(version 0.7.1)

Posted: Thu Jul 01, 2010 09:11
by CrazyEddie
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.