File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java fonts

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 118
5
Android Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried a statement like
setFont(new Font("Times",Font.BOLD,24));
from the java.awt.Font class?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic