Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Android Security Essentials Live Lessons this week in the Android 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Loading Font through .ttf file but issue with the size
 
Similar Threads
importing a .ttf file
lowagie fonts
Font question
using font created by createFont
How to create a ttf font using java