aspose file tools*
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
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "load/use fonts on linux" Watch "load/use fonts on linux" New topic
Author

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:
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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: load/use fonts on linux