permaculture playing cards*
The moose likes Beginning Java and the fly likes java fonts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java fonts" Watch "java fonts" New topic

java fonts

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
i want to use times new roman fonts, but I dont know how to set up the
I am using linux redhat 8 and have alway basic fonts in my generated pdf file.
can someone help me?
Barry Burd
Ranch Hand

Joined: Jun 18, 2003
Posts: 118

Have you tried a statement like
setFont(new Font("Times",Font.BOLD,24));
from the java.awt.Font class?

Java For Dummies, 6th Edition, Java Programming for Android Developers For Dummies
subject: java fonts
Similar Threads
Bitstream .PFR Fonts
Including fonts in PDFs using iText
What UML Tool(s) are you using for SCEA Beta Part II?
How to use fonts other than OS provided fonts.
how to change fonts