"Kapoor, Nishikant X" wrote:
>
> Hi all
>
> Excuse my ignorance but can someone please post the EXACT fix for this
> problem. I've seen some responses about unwrapping a few lines
> containing zapf in $JAVA_HOME/jre/lib/fonts.properties (I think the
> path is right !) but I guess, the EXACT 'diff' would be highly
> appreciated.
>
[kersnip]
The problem is due to the fact
that the fonts specified in the fonts.properties
of the JDK distribution
are merely a collection of default fonts,
which are not necessarily present on all X systems.
What you need to do is CHANGE that fonts.properties
so that it points to a nice collection of fonts
that you have installed.
In March, Kazuki Yasumatsu posted to java-linux
with an example of how to do this using the Ghostscript fonts.
You do NOT need to install the ghostscript fonts
in order to make this problem go away --
you can just modify your fonts.properties to point to
the fonts you have installed on your system.
However, if you simply want to get up and running,
Kazuki's post is at
http://www.mail-archive.com/java-linux@java.blackdown.org/msg05371.html
Please remember the first part of that URL.
It is the java linux mailing list archives.
List archives are a developer's best friend.
If you're having trouble with Java under Linux,
there's a %75 probability that the answer to your question
is available in the archives.
Also, the fonts.properties he includes with his post
has a few lines that were wrapped by the posting process.
Unless you unwrap them, you'll get a few font errors.
Search the post for "zapf",
and it will be obvious where they are.
--
Matthew McKeon - [EMAIL PROTECTED]
Developer | MAYA Viz, Ltd.
| 2100 Wharton St.
| Pittsburgh, PA 15203
| 412.488.2900
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]