1:找个中文字体.例如(C:\WINDOWS\Fonts\simhei.ttf)
2:把C:\WINDOWS\Fonts\simhei.ttf中文字体拷到CEGUI资源目录下(datafiles\fonts\)
3:建个simhei.font文本文件,文件的内容:
<?xml version="1.0" ?><Font Name="simhei" Filename="simhei.ttf" Type="FreeType" Size="10" NativeHorzRes="800" NativeVertRes="600" AutoScaled="true" />
4:在你的代码里使用:
FontManager::getSingleton().createFont("simhei.font");