Thread
:
Font question
View Single Post
#
2
(
permalink
)
08-01-2007, 03:03 AM
hardwired
Senior Member
Join Date: Jul 2007
Posts: 1,189
If you know the size (width and height) you want for each glyph/letter you can get a pretty good fit by scaling the font with an AffineTransform.
Code:
AffineTransform at = AffineTransform... g2.setFont(font.deriveFont(at)); g2.draw...
hardwired
View Public Profile
Send a private message to hardwired
Find all posts by hardwired