can not show chinese character(version 0.7.1)
Posted: 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 in struct LangList
but when i update version to 0.7.1 ,i can not see anything in editbox!!
i add in struct langlist
i create font in xml
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
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",
}
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")}
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