• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

load/use fonts on linux

 
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Our Java web app on Windows generates an image using java.awt stuff, and originally the font of the text on the image was Arial, but we're moving the web app to Linux and the font isn't right, so I've tried changing it in the code to Helvetica, but it seemed to have no effect. Then I tried changing it to Terminal, and although it looked noticeably different on the Windows side, it still didn't change on our Linux machine running Enterprise Red Hat. In looking at this page, it seems like the font that the Linux system is choosing no matter what is Lucida or something similar, like Lucidatty:
http://andrew.triumf.ca/fonts/fonts.linux1.gif

That page was linked off of:
http://andrew.triumf.ca/fonts/fonts.html

I can't figure out why it seems to be defaulting to this one font, or how to get it to change (or how to check to see what fonts are installed or whatever). Thanks for any tips...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic