Author Topic: Fonts For Blackdown  (Read 6547 times)

ludo

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Fonts For Blackdown
« on: March 13, 2006, 02:29:31 am »
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
C3000 sharp ROM

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Fonts For Blackdown
« Reply #1 on: March 13, 2006, 07:13:39 pm »
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118297\"][{POST_SNAPBACK}][/a][/div]

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.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

ludo

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Fonts For Blackdown
« Reply #2 on: March 13, 2006, 07:36:15 pm »
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
« Last Edit: March 15, 2006, 08:00:39 pm by ludo »
C3000 sharp ROM