|
From: palmtcl on 24 Jun 2008 07:50 With ActiveTcl 8.5.2 on XP SP2, doing font actual TkDefaultFont from within base-tk8.5-thread-win32-ix86.exe returns Tahoma 10... The same command using the wish85 in the same distribution returns Tahoma 8 (as seems to be defined in Tip145). Where are these named fonts defined? I could only find them initialized in ttk/fonts.tcl and there seem to be no related differences in basekit version of that file compared to the non- basekit version in tcl/lib/tk8.5/ttk. /Ashok
From: Pat Thoyts on 25 Jun 2008 17:54 "palmtcl(a)yahoo.com" <palmtcl(a)yahoo.com> writes: >With ActiveTcl 8.5.2 on XP SP2, doing > >font actual TkDefaultFont > >from within base-tk8.5-thread-win32-ix86.exe > >returns Tahoma 10... > >The same command using the wish85 in the same distribution returns >Tahoma 8 (as seems to be defined in Tip145). > >Where are these named fonts defined? I could only find them >initialized in ttk/fonts.tcl and there seem to be no related >differences in basekit version of that file compared to the non- >basekit version in tcl/lib/tk8.5/ttk. > >/Ashok On Windows tkWinFont.c has code (TkWinSetupSystemFonts) that reads the SystemParametersInfo data and configures these fonts according to the results provided by that system call. The same happens on Mac's. For unix, we make some sensible assignments in library/ttk/fonts.tcl -- Pat Thoyts http://www.patthoyts.tk/ To reply, rot13 the return address or read the X-Address header. PGP fingerprint 2C 6E 98 07 2C 59 C8 97 10 CE 11 E6 04 E0 B9 DD
|
Pages: 1 Prev: Changing font of Tile entry widget Next: symbolic link problem |