File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

java fonts

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
hello
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
Author
Ranch Hand

Joined: Jun 18, 2003
Posts: 118
    
    5

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
 
Similar Threads
How to use fonts other than OS provided fonts.
Including fonts in PDFs using iText
What UML Tool(s) are you using for SCEA Beta Part II?
Bitstream .PFR Fonts
how to change fonts