Page 1 of 1

0.5.0 Chinese Font Demo

Posted: Thu Aug 10, 2006 10:05
by kalitbri
I've modified the font demo with CEGUI 0.5.0 RC1 source code to let it display Chinese font.
Both the binary and modified demo source code are provided in the package:
http://openhouse.nctu.edu.tw/~tbri/CEGUI-0.5.0-RC1-ChineseFontDemo.rar

Here are some screenshots:

Image
Image

When the program is loading and displaying texts with Chinese fonts,
we can experience slow speed and high memory usage as HyperIris stated in another forum post.
(http://www.cegui.org.uk/phpBB2/viewtopic.php?t=1771)

Moreover, I found when displaying with the KaiU font, the chinese words will brake apart.
(Shown as the following screenshot) This is also happening in some X-window misconfiguration.
I think the reason is the bytecode interpreter is disabled in the FreeType2 library.
Enabling it should solve this problem.

Image

Hope this demo helps.

Brian Wang

Posted: Fri Aug 11, 2006 05:10
by HyperIris
:D

I had alreay fix the slow and memory usage problem, and I wish I could submit modified code to svn depository later if administrator accept it.

But these days I 'm so busy with my job, please wait me some more time, may be two weeks.

Posted: Fri Aug 11, 2006 08:23
by CrazyEddie
I didn't run the demo yet, but the screenies look great :)

@HyperIris: Please feel free to submit a patch against the code (in unified diff form please - no complete files), and we'll review it for possible inclusion. You can submit patches on the Mantis tracker

CE

Posted: Fri Aug 11, 2006 09:59
by HyperIris
CrazyEddie wrote:I didn't run the demo yet, but the screenies look great :)

@HyperIris: Please feel free to submit a patch against the code (in unified diff form please - no complete files), and we'll review it for possible inclusion. You can submit patches on the Mantis tracker

CE


OK, I'll submit the patch when I get ready.