• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How Does One Tell which {Font}s One Can Use?

 
Kevin Simonson
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How does one tell which {Font}s one can use on one's machine? There's a {Font} constructor that takes as arguments a {String} and two {int}s. How does one determine what the legal values are for the {String} parameter?

Kevin S
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


 
Darryl Burke
Bartender
Posts: 5148
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Additionally, if you need a Font that has glyphs for any but the most common characters, you can use the (IMHO rather badly named) canDisplayUpTo(...) method.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic