Help - Search - Members - Calendar
Full Version: Fonts For Blackdown
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > Personal Java/Jeode/J2ME Personal Profile
ludo
Thanks to Meanie' s help I have now babbletower runing succesfully on blakdown j2se.1.3).

The only last issue I have is that the japanese and chinese are displayed with question marks. I think it is a problem with the font.property file, located in

mnt/xqt/java/jre1.3.1/lib.

Do you know what to set to get the japanese and chinese displayed all right?

In
http://java.sun.com/j2se/1.3/docs/guide/intl/fontprop.html

it is said that to get the display in a given language, you need to rename the font.propertie.language to font.propertie

So for example:

rename font.propertie.jp to font.propertie

But then what will happen to the chinese?

After this I will be busy working on the dictionaries, so I doubt I will bother you anymore.

Thanks for any help

Ludo
Meanie
QUOTE(ludo @ Mar 13 2006, 05:29 PM)
Thanks to Meanie' s help I have now babbletower runing succesfully on blakdown j2se.1.3).

The only last issue I have is that the japanese and chinese are displayed with question marks. I think it is a problem with the font.property file, located in

mnt/xqt/java/jre1.3.1/lib.

Do you know what to set to get the japanese and chinese displayed all right?

In
http://java.sun.com/j2se/1.3/docs/guide/intl/fontprop.html

it is said that to get the display in a given language, you need to rename the font.propertie.language to font.propertie

So for example:

rename font.propertie.jp to  font.propertie

But then what will happen to the chinese?

After this I will be busy working on the dictionaries, so I doubt I will bother you anymore.

Thanks for any help

Ludo
*


What they really meant was that font.properties contains the definitions for what font and encodings is used by default. The other files contain sample definitions to change the default to the various languages, ie renaming fonts.properties.ja to fonts.properties would make japanese the defaultt, however, you can also combine all the font properties files into one huge font.properties which contains definitions for every language. This obviously would make java load all the possible fonts and hence use up a lot of more memory and be slower, thus they decided to have a sample file for each language so to minimise resource consumption and load speed. You can customise font.properties to load several languages, ie combine en, ja and cn into one font.properties. unfortunately, this would make the Zaurus load java even slower than it already does and consume even more scare memory.
ludo
Thanks Meanie

I did try to copy font.properties.ja to font.properties but it wouldn't allow me to do so. I did it either with su or su - or from Tree!text. In the console for example, the reply to

cp font.properties.ja font.properties

is

cp: write: invalid argument

and if I try to rename font.properties to font.properties (using cp), I get:

cp: unable to open 'font.properties.': permission denied

Moreover, any modification done with vi or in Tree!text is not actually saved.

I did a chmod 777 but it doesn't help at all.
It seems I can not write anything where my font properties files are: in /mnt/xqt/java/jre1.3.1/lib

Do you know why and what I could do?

Ludo
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.