Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Font not available error on Linux

 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Team
I am facing a strange problem on Linux Red Hat. My client GUI works perfectly fine on Windows and Solaris. However if i run it on Linux, though it runs but it also throws the following error on the prompt:
Font specified in font.properties not found
Strage thing is that i have not set any font in the GUI. I am using the default implementation of Swings.
Any solution for this ???
Amit
 
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had the same problem with Mandrake 8.1. I didn't really investigate, since my development platform was Windows 2000 Pro; I was just checking to see if everything worked on different platforms. I think the problem has to do with X Window and not swing. It's been a few years since I worked with X, but I think you'll have to physically install those fonts, otherwise X is just going to give you a system monospace font.
Hope this is helpful,
Michael Morris
SCJD2
 
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


However if i run it on Linux, though it runs but it also throws the following error on the prompt:
Font specified in font.properties not found


I had a similar problem with fonts on Red Hat Linux, and the workaround was to replace the font.properties files as described in:
Linux Problems
Eugene.
 
Amit Kr Kumar
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Eugene
Amit
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic