Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: font measurement

by zentara (Archbishop)
on Jan 30, 2012 at 17:58 UTC ( #950819=note: print w/replies, xml ) Need Help??


in reply to Re^2: font measurement
in thread font measurement

BrowserUk gave you the preferred answer below, but if you wanted to use my Canvas method, without invoking a window, all you need to do is comment out the line #MainLoop. Then if you run it, it will not show a window.

Either way, you are loading Tk. You can either load Tk::Text or a Tk::Canvas. Tk is relatively light and fast to load.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950819]
help
Chatterbox?
[talexb]: TStanley Cool. Yeah, that's about 45 minutes away. Nice spot.
[TStanley]: I'm sitting in the airport in Tampa, Florida at the moment, getting ready to head home.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2017-06-23 14:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (548 votes). Check out past polls.