I've got sun's 1.2.2 jdk on my workstation.  When I first installed it
I was running RH 6.1.  Of course, back then, I got the classic whining about
the symbol font being missing.  I fixed that by updating the font paths
used by xfs.

Last week I upgraded my machine to RH6.2, and the whining returned.

The very odd thing is, xlsfonts continues to display symbol as one of
the fonts.  So, clearly, something new is now broken.

I undid all the changes RH made to my font config, restarted X, and
had no luck.  The new xfs config actually had fewer paths in it
than I already had.

Finally I crafted a shell script which would run my application
under strace.

>From there I found that the JVM is no longer looking at my xfs at all,
it's looking directly at the filesystem, and NOT where I have my fonts.
Doh.  I have no idea why it's not looking anywhere now.  Perhaps some
new bug in X11 which doesn't return a proper fontpath to the JVM or
something.
 
Anyway, I finally got the whining to stop by creating a JAVA_FONTS
environment variable and stuffing a complete list of my font dirs
into the JVM by brute force.

Do any of you have a clue why this broke in 6.2 and/or what the JVM
is trying to do here?

I've only spent 6 hours finding this workaround. :p  And this sure
isn't a clean, portable solution.

--
Joi Ellis                    Software Engineer
Aravox Technologies          [EMAIL PROTECTED], [EMAIL PROTECTED]

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
           - Chris Johnson


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to