From: Martin v. Löwis Date: Sat, 14 Jun 2003 21:40:04 +0000 (+0000) Subject: Patch #751107: Slant must be 'roman', not 'normal'. X-Git-Tag: v2.3c1~437 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ef23657c4afe8f9e6036a74dcc5fb5dbe33aa27;p=python Patch #751107: Slant must be 'roman', not 'normal'. --- diff --git a/Lib/lib-tk/tkFont.py b/Lib/lib-tk/tkFont.py index 51cf9c3757..7fed99ddf0 100644 --- a/Lib/lib-tk/tkFont.py +++ b/Lib/lib-tk/tkFont.py @@ -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)