From: Hidetoshi NAGAI Date: 2003-08-19T02:10:59+09:00 Subject: Re: Tk: non-default font 16 x slower Hi, From: Wybo Dekker Subject: Tk: non-default font 16 x slower Date: Mon, 18 Aug 2003 19:52:35 +0900 Message-ID: > When I use the default fonts in my Ruby-Tk application it takes > 400 milliseconds to start up. When I use Helvetica or other fonts it takes > 6400 seconds. Is there something I can do about that? Perl does not have > that problem. Could you tell me your environment ( Ruby version, Tcl/Tk version, OS, and so on ) and send me your script? Maybe the problem depends on auto-creation of font objects. If you use the same font for many widgets, please create a TkFont object for the font and try to give the font object to the font option of each widgets. -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)