openmedialibrary_platform_w.../tcl/tix8.4.3/pref/12Point.fs

24 lines
640 B
Forth
Raw Normal View History

2019-01-20 10:35:31 +00:00
#
# $Id: 12Point.fs,v 1.2 2001/12/09 05:03:09 idiscovery Exp $
#
proc tixSetFontset {} {
global tixOption tcl_platform
switch -- $tcl_platform(platform) "windows" {
# This should be Tahoma for Win2000/XP
set font "MS Sans Serif"
set fixedfont "Courier New"
} unix {
set font "helvetica"
set fixedfont "courier"
}
set tixOption(font) [list $font -12]
set tixOption(bold_font) [list $font -12 bold]
set tixOption(menu_font) [list $font -12]
set tixOption(italic_font) [list $font -12 bold italic]
set tixOption(fixed_font) [list $fixedfont -12]
set tixOption(border1) 1
}