This turned out to be "operator error".  I had forgotten that the
accelerated server that I am using from Xi graphics does not used the
standard XF86Config file but rather its own file, "Xaccel.ini".  As soon as
I updated the font path for the URW fonts in this file, then the fonts were
handled as I expected.   The good thing is that I was forced to review a
lot of information about fonts.

My only remaining comment is that the names of the java fonts in the
"font.properties" file were changed from "zapf dingbats" to "dingbats" and
from "symbol" to "standard symbols l".   I changed the names back to avoid
the font not found errors on start-up.

Cynthia Jeness


Cynthia Jeness wrote:

> I am running JDK 1.2.2 on RedHat Linux 6.1.  My font path  (as provided
> by chkfontpath --list) includes among others:
>
>     /usr/X11R6/lib/fonts/URW
>
> These are the fonts that I downloaded from the gimp site.
>
> These fonts include "-Adobe-Zapf Dingbats-..."
>
> When I run the SwingSet application, I get the message  that it is
> unable to find "--dingbats-..." which is listed in the font properties.
>
> Under the previous JDK1.2, I had gotten rid of this error message, by
> actually copying my URW fonts under the "jre/lib/fonts" and amending the
>
> "fonts.dir" file to include them.  Should this have been necessary?
> Should java be able to find the fonts in the X font path?  Now, however,
>
> even this technique does not work.  Is this because the name has changed
>
> in the font.properties file from "--zapf dingbats-" to "--dingbats"?
>
> My XF86Config has the following line with regard to fonts:
>
>    FontPath   "unix/:-11"
>
> and I am running the "xfs" file server supplied by RedHat.
>
> I realize that the messages are harmless; however, I would like to
> understand how to deal with fonts under the JDK for Linux.
>
> I did read the "README.LINUX" that was supplied with the JDK.  I also
> searched the RedHat site for any information that I could find on
> fonts.  I even dug out my old X11 book and re-read the section on
> fonts.   But so far, nothing has worked.  So I would greatly appreciate
> some guidance again.
>
> Thanks,
> Cynthia Jeness
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


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

Reply via email to