jQuery in Action, 3rd edition
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 font.properties.
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
I agree. Here's the link: http://aspose.com/file-tools
subject: java fonts
It's not a secret anymore!