git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34184
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
fontFamiliesWx2Xml.get(font.GetFamily(), "default"),
fontStylesWx2Xml.get(font.GetStyle(), "normal"),
fontWeightsWx2Xml.get(font.GetWeight(), "normal"),
fontFamiliesWx2Xml.get(font.GetFamily(), "default"),
fontStylesWx2Xml.get(font.GetStyle(), "normal"),
fontWeightsWx2Xml.get(font.GetWeight(), "normal"),
- str(font.GetUnderlined()),
+ str(int(font.GetUnderlined())),
font.GetFaceName().encode(),
encName
]
font.GetFaceName().encode(),
encName
]
# This is a little special: it is both xxxObject and xxxNode
class xxxParamFont(xxxObject, xxxNode):
# This is a little special: it is both xxxObject and xxxNode
class xxxParamFont(xxxObject, xxxNode):
- allParams = ['size', 'style', 'weight', 'family', 'underlined',
+ allParams = ['size', 'family', 'style', 'weight', 'underlined',
'face', 'encoding']
def __init__(self, parent, element):
xxxObject.__init__(self, parent, element)
'face', 'encoding']
def __init__(self, parent, element):
xxxObject.__init__(self, parent, element)