]> granicus.if.org Git - python/commitdiff
Patch #751107: Slant must be 'roman', not 'normal'.
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 14 Jun 2003 21:40:04 +0000 (21:40 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 14 Jun 2003 21:40:04 +0000 (21:40 +0000)
Lib/lib-tk/tkFont.py

index 51cf9c3757f835aa3172f20afbe8cac54c1c959d..7fed99ddf094bb57605e9fa00565e3a9e4c24420 100644 (file)
@@ -21,6 +21,7 @@ import Tkinter
 
 # weight/slant
 NORMAL = "normal"
+ROMAN = "roman"
 BOLD   = "bold"
 ITALIC = "italic"
 
@@ -37,7 +38,7 @@ class Font:
     family -- font 'family', e.g. Courier, Times, Helvetica
     size -- font size in points
     weight -- font thickness: NORMAL, BOLD
-    slant -- font slant: NORMAL, ITALIC
+    slant -- font slant: ROMAN, ITALIC
     underline -- font underlining: false (0), true (1)
     overstrike -- font strikeout: false (0), true (1)
     name -- name to use for this font configuration (defaults to a unique name)