Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: font measurementby BrowserUk (Patriarch) |
on Jan 30, 2012 at 16:53 UTC ( [id://950804]=note: print w/replies, xml ) | Need Help?? |
You need to obtain a TK::Font object for the font you wish to use, then call the measure( $text ) method:
See the Tk::Font POD for (a little) more info, then google for more. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|