Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950819]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2018-03-24 11:17 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (298 votes). Check out past polls.