User Tools

Site Tools


tips:java:missingsymbollinux
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


tips:java:missingsymbollinux [2009/06/08 12:10] (current) – created erik
Line 1: Line 1:
 +====== Missing Symbol font when running Java under Linux ======
  
 +** Problem ** 
 +
 +Running Java under Linux returns the following error:
 +
 +  Font specified in font.properties not found
 +  [[-symbol-medium-r-normal-*-%d-*-*-p-*-adobe-fontspecific]]
 +
 +** Solution **
 +
 +Get a copy of the TrueType font ''symbol.ttf'' from a Windows machine (usually located in ''C:\WINNT'' or ''C:\WINDOWS'') and place it in the JDK fonts directory (e.g. ''/usr/java/jdk1.3.0_01/jre/lib/fonts/'')
 +
 +Edit the ''fonts.dir'' file also located in the font directory, include the following:
 +
 +  symbol.ttf -urw-symbol-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
 +
 +//(The white space between the font name and description are spaces not tabs.)//
 +
 +You will also need to add 1 to the number of fonts listed in the first line of the ''fonts.dir'' file.
 +
 +You may have to repeat the procedure with JRE if also installed (e.g. ''/usr/java/jre/lib/fonts'')
tips/java/missingsymbollinux.txt · Last modified: 2009/06/08 12:10 by erik