Commit f67c726b authored by Martin v. Löwis's avatar Martin v. Löwis

Patch #751107: Slant must be 'roman', not 'normal'.

parent e0b2c6c4
...@@ -21,6 +21,7 @@ import Tkinter ...@@ -21,6 +21,7 @@ import Tkinter
# weight/slant # weight/slant
NORMAL = "normal" NORMAL = "normal"
ROMAN = "roman"
BOLD = "bold" BOLD = "bold"
ITALIC = "italic" ITALIC = "italic"
...@@ -37,7 +38,7 @@ class Font: ...@@ -37,7 +38,7 @@ class Font:
family -- font 'family', e.g. Courier, Times, Helvetica family -- font 'family', e.g. Courier, Times, Helvetica
size -- font size in points size -- font size in points
weight -- font thickness: NORMAL, BOLD weight -- font thickness: NORMAL, BOLD
slant -- font slant: NORMAL, ITALIC slant -- font slant: ROMAN, ITALIC
underline -- font underlining: false (0), true (1) underline -- font underlining: false (0), true (1)
overstrike -- font strikeout: false (0), true (1) overstrike -- font strikeout: false (0), true (1)
name -- name to use for this font configuration (defaults to a unique name) name -- name to use for this font configuration (defaults to a unique name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment