Syntactic Confectionery Delight | |
PerlMonks |
Re^3: font measurementby fisher (Priest) |
on Jan 30, 2012 at 13:39 UTC ( [id://950769]=note: print w/replies, xml ) | Need Help?? |
AFAIK the Font::Freetype suite can render you at least one given symbol. Assuming that spacing between characters will be constant, you can calculate the size of any string, using these data.
But there is also Font::TTF, which I didn't used before - start reading from this point, I guess.
In Section
Seekers of Perl Wisdom
|
|