OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Fonts For Blackdown
ludo
post Mar 12 2006, 11:29 PM
Post #1





Group: Members
Posts: 53
Joined: 9-December 05
Member No.: 8,688



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
Go to the top of the page
 
+Quote Post
Meanie
post Mar 13 2006, 04:13 PM
Post #2





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



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.
Go to the top of the page
 
+Quote Post
ludo
post Mar 13 2006, 04:36 PM
Post #3





Group: Members
Posts: 53
Joined: 9-December 05
Member No.: 8,688



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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th September 2014 - 08:09 PM