[CentOS] tcl font size issue on centso 4.4 x86_64
Jerry Geis
geisj at pagestation.comTue May 22 15:34:42 UTC 2007
- Previous message: [CentOS] 4.4 -> 4.5 ncpmount
- Next message: [CentOS] redhat sources release time?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have a simply script that I cannot get a font size bigger than 40.
Changing the font_size value to 80 does not make
the font any bigger just the background.
How do I get a bigger font than 40?
I run this script as "wish -f file.tcl"
What am I doing wrong to not get bigger fonts?
THanks,
Jerry
---------------------------------------------
set font_size 40
set show_window_title 0
set disable_window_decorations 1
set screen_width [winfo screenwidth . ]
set screen_height [winfo screenheight . ]
set window_x 0
set window_y 0
set my_message "This is my message..."
wm geometry . ${screen_width}x${font_size}+${window_x}+${window_y}
wm overrideredirect . $disable_window_decorations
font create ourFont -family helvetica -size $font_size
set c [canvas .c -height $font_size -width $screen_width -background
black -highlightthickness 0 ]
pack $c
$c create text 10 4 -text $my_message -font ourFont -anchor nw -fill red
~
~
- Previous message: [CentOS] 4.4 -> 4.5 ncpmount
- Next message: [CentOS] redhat sources release time?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list