• Post Reply Bookmark Topic Watch Topic
  • New Topic

Font issue with Java  RSS feed

 
Jason Kretzer
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I run the following code

I did not copy/paste the code so any mistakes are purely done during my copying not in the original code.
Anyway, when I run this I get the following message:
Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-
fontspecific]

Any ideas on what I can do to stop this? The code still runs fine but the message is a little annoying.
My system info:
RedHat 7.2 with Kernel 2.4.7-10(from uname -a)
jdk1.3.1_02

Thanks,
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can edit your font.properties files to exclude this value. On my system it's located on $JAVA_HOME/jre/lib/font.properties. It's likely to be different on that amusing little OS you're using but there somewhere nonetheless.
 
Frank Hale
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Linux JDK is missing the symbol true type font, or rather it expects your system to have this font. I did a search on google based on this error and found a solution pretty easily. The solution is to add the symbol true type font to the JDK fonts dir, update the fonts.dir file and your all set.
Hope this helps you out!
Frank
 
Tim Holloway
Saloon Keeper
Posts: 18799
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think there was some sort of screwball license problem with putting those fonts in a default linux installation and so the JDK implementors make the decision that rather than have legitimate requests fail, they'd leave it and allow all those icky error messages to come rollong out.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!