0.5.0 Chinese Font Demo

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

kalitbri
Just popping in
Just popping in
Posts: 3
Joined: Wed Aug 09, 2006 08:08
Location: Taipei, Taiwan

0.5.0 Chinese Font Demo

Postby kalitbri » Thu Aug 10, 2006 10:05

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

HyperIris
Just popping in
Just popping in
Posts: 11
Joined: Tue Aug 01, 2006 09:21
Location: China
Contact:

Postby HyperIris » Fri Aug 11, 2006 05:10

: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.
I am a GAME UI Programmer, but...
almost all of my computer knowledge is system programming, such as IA32/X64 asm, rootkits, WDM...

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

Postby CrazyEddie » Fri Aug 11, 2006 08:23

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

HyperIris
Just popping in
Just popping in
Posts: 11
Joined: Tue Aug 01, 2006 09:21
Location: China
Contact:

Postby HyperIris » Fri Aug 11, 2006 09:59

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.
I am a GAME UI Programmer, but...

almost all of my computer knowledge is system programming, such as IA32/X64 asm, rootkits, WDM...


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 3 guests