http://qs321.pair.com?node_id=950819


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