This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes load/use fonts on linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "load/use fonts on linux" Watch "load/use fonts on linux" New topic

load/use fonts on linux

Stephen Huey
Ranch Hand

Joined: Jul 15, 2003
Posts: 618
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:

That page was linked off of:

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...
Don't get me started about those stupid light bulbs.
subject: load/use fonts on linux
Similar Threads
port 8080 to 80
unicode math characters
How to specify different fonts with different font sizes in Stylesheets?
Enabling Font-urgent
Monospaced Fonts?