Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Japanese fonts look insane in Java



Hi,

> This used to done with font.properties, not sure if this is still the
> case.

AFAIK, to change the default fonts, edit the font.properties.ja file
in the lib directory of the Java Runtime Environment.

Actually I used this info
http://jgloss.sourceforge.net/japanesejava.html to change fonts
before.

That author also noted this (it may be outdated though):

Java and X11 fonts

The font.properties.ja file of the Linux version of Java is configured
for fonts contained in the Japanese distribution of Red Hat 6.1 (and
the international Red Hat 7.x with Japanese support installed). It
seems that these fonts (wadalab-gothic.ttf and watanabe-mincho.ttf)
are not contained in most other Linux distributions. To make matters
worse, Java only seems to accept TrueType fonts and not the Japanese
bitmap fonts commonly installed with X11. This means that you will
either have to install the mentioned TrueType fonts or edit the
properties file to use a different already installed Japanese TrueType
font.

Shawn


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links