LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-30-2006, 12:15 PM   #1
lel800
Member
 
Registered: Aug 2003
Distribution: Red Hat RHEL WS 3, RHEL WS 4
Posts: 228

Rep: Reputation: 30
Font specified in font.properties not found


I'm running DSL Linux on an old tower. I've installed the Java Runtime Environment from Sun version 1.3.1 from a self-extracting binary. I'm using an archived version of the runtime because the hardware is nearly ten years old and the more recent JRE's did not install properly.

When I attempt to run a small java application I see the following appear in the shell and then the application dies. The java application is not attempting to use a specific font, only the defaults.

Code:
Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-font-specific]
( repeated 20x )
I understand that the message is referring to the font.properties file inside the lib directory of the JRE.
And I've discovered that the fonts folder for the linux OS is located at /usr/shared/fonts.

If anyone could help interpret the message and offer any suggestions I'd appreciate it. Thanks.

ETA --
I found this page
http://java.sun.com/j2se/1.3/install-linux-sdk.html

And discovered that I am to replace the font.properties file with a file obtained here...
http://java.sun.com/j2se/1.3/font.properties

So I did that and now the error message is slightly different, referring to a different font...
Code:
Font specified in font.properties not found [-urw-standard symbols l-medium-r-normal--*-%d-*-*-p-*-urw-fontspecific]

Last edited by lel800; 11-30-2006 at 06:47 PM.
 
Old 12-01-2006, 08:54 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
It's probably looking for the Lucida fonts that ship with Java. You should find them in the java directory. Move the .ttf files to /usr/share/fonts/SomeDirectory/

You may also need to generate an update to your fonts cache system. I can't remember the "right" way to do that. I usually find it easiest to install (apt) some .ttf font that I don't have, and that takes care of it automatically.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Emacs - changing default font size and font type? neilcpp Linux - Software 16 05-20-2013 11:29 AM
gnome-font-properties on a AMD machine da_kidd_er Red Hat 0 11-21-2004 08:51 PM
Font specified in font.properties not found nguye103 Linux - Software 0 10-28-2004 01:02 PM
gnome-font-properties simbolo Linux - Software 0 11-14-2003 01:41 PM
TrueType Font Display and long font names jdeka Slackware 0 06-28-2003 03:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration