mirror of https://github.com/python/cpython
Patch #751107: Slant must be 'roman', not 'normal'.
This commit is contained in:
parent
d6efae500c
commit
1ef23657c4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue