|Just another Perl shrine|
GD::Graph cannot change fontby kp2a (Sexton)
|on Apr 24, 2011 at 15:15 UTC||Need Help??|
kp2a has asked for the
wisdom of the Perl Monks concerning the following question:
I cannot change font or size for labels etc.
For example from GD::Graph sample95.pl (modified)
(It is included in the build directory of the distribution.)
Dustismo_Sans.ttf is in pwd. And I have tried "Dustismo_Sans" and "Dustismo_Sans.ttf" and "/home/john/Dustismo_Sans.ttf" for $font_spec
Whatever I put in $font_spec or in the size field, the appearance of the resulting image is always the same!