diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-06-14 21:40:04 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-06-14 21:40:04 (GMT) |
commit | 1ef23657c4afe8f9e6036a74dcc5fb5dbe33aa27 (patch) | |
tree | 9b604a63f551920c08fb86392887311f9928a6b6 /Lib/lib-tk | |
parent | d6efae500ce3e955b95b324954defa1a9f2d9e96 (diff) | |
download | cpython-1ef23657c4afe8f9e6036a74dcc5fb5dbe33aa27.zip cpython-1ef23657c4afe8f9e6036a74dcc5fb5dbe33aa27.tar.gz cpython-1ef23657c4afe8f9e6036a74dcc5fb5dbe33aa27.tar.bz2 |
Patch #751107: Slant must be 'roman', not 'normal'.
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r-- | Lib/lib-tk/tkFont.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/lib-tk/tkFont.py b/Lib/lib-tk/tkFont.py index 51cf9c3..7fed99d 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) |