Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

load/use fonts on linux

 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • 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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic