tcl font size issue on centso 4.4 x86_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
~
~





_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux