Just another Perl shrine | |
PerlMonks |
Font question regarding GD.pmby Baz (Friar) |
on Jul 19, 2005 at 13:40 UTC ( [id://476085]=perlquestion: print w/replies, xml ) | Need Help?? |
Baz has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I wish to include text on a png image. With respect to the following page: http://baz.perlmonk.org/surname_alba.cgi?name=Griffin, I'd like to include "Scale: 0 to 9" and "Scale: 0 to 1.21%" within the png images. The problem I've had with this is that the four built-in GD fonts, gdLargeFont, gdSmallFont, gdMediumBoldFont, and gdTinyFont, are much too small for the images I'm using. The Copyright text was included via a seperate bitmap. Is there any way of using other font types with GD::Image::string, besides the four built-in fonts? If not, then I guess my only option is to create 10 bitmaps for the numbers 0 to 9, and use them to produce the numbers I need. Cheers, Barry.
Back to
Seekers of Perl Wisdom
|
|