The font that the JVM is looking for is "symbol.ttf". This font should be available on any Windows machine. You need to get a copy of the font and copy it to the JDK fonts directory, for example "/usr/local/jdk1.2.2/jre/lib/fonts".
In the "fonts" directory there is a file named "fonts.dir" that lists the available, scalable fonts for the Sun JDK. Edit this file (you may need to be root) to include the symbol.ttf font file like:
You may notice whitespace in the file after the other font names. Note that these are spaces and not tabs. After you have added the above line, increment the number on the first line of the file by one (to indicate the total number of fonts listed in the file).
Is this item
helpful? yesno
Previous votes Yes: 2 No: 0
Is this item
helpful? yesno
Previous votes Yes: 0 No: 0
symbol.ttf not necessary Wolfgang Helbig, Aug 23, 2001 [replies:1]
At least on NetBSD-current with XFree86 4.1.0
appletviewer gets the symbol fonts from the
X-environment. (tested with the applet
"Symbol Test.") So you don't need to
copy symbol.ttf into the fonts directory
or change the fonts.dir file. Instead
you need to delete the lines that end
with "adobe-fontspecific" from the
file font.properties. This avoids the
error messages when starting the appletviewer.
Is this item
helpful? yesno
Previous votes Yes: 0 No: 0
Re: symbol.ttf not necessary java novice, Oct 14, 2001
I just commented out those lines and it seems to have taken care of the problem - no annoying messages. I have version 3.0 of the Forte from Sun on RedHat Linux 7.1.
Is this item
helpful? yesno
Previous votes Yes: 0 No: 0