[Python-checkins] python/dist/src/Lib/lib-tk tkFont.py,1.4,1.5

loewis@users.sourceforge.net loewis@users.sourceforge.net
2003年6月14日 14:40:06 -0700


Update of /cvsroot/python/python/dist/src/Lib/lib-tk
In directory sc8-pr-cvs1:/tmp/cvs-serv476
Modified Files:
	tkFont.py 
Log Message:
Patch #751107: Slant must be 'roman', not 'normal'.
Index: tkFont.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/lib-tk/tkFont.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** tkFont.py	6 Apr 2003 09:00:53 -0000	1.4
--- tkFont.py	14 Jun 2003 21:40:04 -0000	1.5
***************
*** 22,25 ****
--- 22,26 ----
 # weight/slant
 NORMAL = "normal"
+ ROMAN = "roman"
 BOLD = "bold"
 ITALIC = "italic"
***************
*** 38,42 ****
 size -- font size in points
 weight -- font thickness: NORMAL, BOLD
! slant -- font slant: NORMAL, ITALIC
 underline -- font underlining: false (0), true (1)
 overstrike -- font strikeout: false (0), true (1)
--- 39,43 ----
 size -- font size in points
 weight -- font thickness: NORMAL, BOLD
! slant -- font slant: ROMAN, ITALIC
 underline -- font underlining: false (0), true (1)
 overstrike -- font strikeout: false (0), true (1)

AltStyle によって変換されたページ (->オリジナル) /