From: SourceForge.net <no...@so...> - 2007-08-28 15:23:50
|
Bugs item #1783474, was opened at 2007-08-28 17:23 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1783474&group_id=12997 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 23. Option Parsing Group: current: 8.4.15 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Zbigniew (zbigniew_b) Assigned to: Jeffrey Hobbs (hobbs) Summary: Loading font when creating a widget Initial Comment: Current policy for obligatory loading a default font first (when creating a widget) - and only then checking the option's "-font xyz" ev. existence - causes a long delay in case of unix-like systems, most probably because of the client/server architecture of X-Window. It can be easily checked using following code: set ii 0 set report [time { label .label$ii -text "label #$ii" -font "Helvetica 10" pack .label$ii puts $ii incr ii } 200] ...when the "-font" option will be removed, the construction of such window will be done about 25 times(!) faster, than while using that option. The details were cleared in the discussion thread available at: http://tinyurl.com/ytjs3u ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1783474&group_id=12997 |