aspose file tools*
The moose likes Java in General and the fly likes How Does One Tell which {Font}s One Can Use? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How Does One Tell which {Font}s One Can Use?" Watch "How Does One Tell which {Font}s One Can Use?" New topic
Author

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

Kevin Simonson
Ranch Hand

Joined: Oct 22, 2011
Posts: 113
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

Joined: Jun 09, 2003
Posts: 4632


Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4642
    
    5

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.


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How Does One Tell which {Font}s One Can Use?