Think about Loose Coupling | |
PerlMonks |
Re^3: Centering Text with GD::Imageby pryrt (Abbot) |
on Nov 03, 2021 at 21:43 UTC ( [id://11138408]=note: print w/replies, xml ) | Need Help?? |
According to GD#Font-Utilities, gdGiantFont is a fixed width (monospace) 9x15 font, so unless I'm very much mistaken, it's just 9*nChars to get the width, and the height is a fixed 15 per line of text. edit and it's got the width and height methods to tell you those numbers in the code.
In Section
Seekers of Perl Wisdom
|
|