Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

load/use fonts on linux  RSS feed

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:

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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!