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 Loading Font through .ttf file but issue with the size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Loading Font through .ttf file but issue with the size" Watch "Loading Font through .ttf file but issue with the size" New topic
Author

Loading Font through .ttf file but issue with the size

buntha Choudhary
Ranch Hand

Joined: Jul 03, 2009
Posts: 136

I am loading a font from a .ttf file but the size is coming very small ie 1.
How to set that to a larger size

buntha Choudhary
Ranch Hand

Joined: Jul 03, 2009
Posts: 136

deriveFont is the responsible method to achieve
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Loading Font through .ttf file but issue with the size