OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: ludo on January 12, 2006, 02:33:52 am

Title: Why Hancomword Displays Some Chinese
Post by: ludo on January 12, 2006, 02:33:52 am
Would you happen to know?

In HanComMobile you can select the font you want, which you can't in Tree!Text Qt. Thus selecting the good font I can display any chinese character in HanComMobile (efont and Taipei work).

What default font are using in Tree!Text Qt, can we change it?
Does Tree!TextQt relates to the locale? If so then there is maybe a way to have any apps in Java displaying correctly any chinese character, which I can't get to work with PersonalProfile.

Thanks for any hint

Ludo (C3000, sharp)
Title: Why Hancomword Displays Some Chinese
Post by: Meanie on January 12, 2006, 04:09:58 am
Quote
Would you happen to know?

In HanComMobile you can select the font you want, which you can't in Tree!Text Qt. Thus selecting the good font I can display any chinese character in HanComMobile (efont and Taipei work).

What default font are using in Tree!Text Qt, can we change it?
Does Tree!TextQt relates to the locale? If so then there is maybe a way to have any apps in Java displaying correctly any chinese character, which I can't get to work with PersonalProfile.

Thanks for any hint

Ludo (C3000, sharp)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110593\"][{POST_SNAPBACK}][/a][/div]

java gets its font depending on what is specified in its fonts.properties file. you can change the locale programmatically in java which makes it look up the corresponding entries in fonts.properties. since the jvm on the zaurus is cut down, it only has very minimal settings. you can copy a working fonts.properties from your PC and use that on the zaurus instead.
Title: Why Hancomword Displays Some Chinese
Post by: craigtyson on January 12, 2006, 12:05:23 pm
Where does the fonts.properties file live ??? (SHARP/CACKO)
Title: Why Hancomword Displays Some Chinese
Post by: ludo on January 12, 2006, 09:51:53 pm
Meanie,

Thanks for some more hints... I may be getting to somewhere eventually.

Craig, on the PC, the font.propertie files are located under you java directory in /lib
If you go there you'll see a bunch of font.properties files, for example:

font.properties.ZH_TW
font.properties.CP12.51
etc

Now what I can't figure out is where to find the equivalent on the Zaurus, and which java flavour includes it. Jeode do not seem to, my version of j2me neither (well I don't find them in the /lib).

Meanie, can J2ME handle font.properties. imported from the PC, or should we change the java version (like Blackdown?)?

Ludo