[LWN Logo]

Date: Mon, 6 Apr 1998 11:12:53 -0700
From: "amaury c. darsch" <amaury@blueneptune.com>
To: java-linux@java.blackdown.org, Jeremy.Cook@ii.uib.no, tcorner@via.at
Subject: Re: Ugly Fonts with Linux JAVA

The problem is located in the font.properties file. Basically Sun JDK is based
on X11R5 while Linux uses X11R6 and fonts have different names. Most of the
graphical application (especially Swing aka jfc 1.0.1) uses the dialog font.
You can do a xlsfont to find what you have on your system, then pick the name
and change it in the font.properties. Be carefull, not all fonts work. The
Helvetica is working good (So far). You will notice that the font name is
longer in X11R6 than in X11R5. Chnaging the dialog fonts should be enough.

good luck - regards amaury