Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java fonts

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • 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
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic