def style(): return Textstyle.new('FFFF', dxfattribs={ 'name': 'TEST', 'font': 'NOFONT.ttf', 'width': 2.0, })
def xstyle(): style = Textstyle.new('FFFF', dxfattribs={ 'name': 'OpenSans-BoldItalic', 'font': 'OpenSans-BoldItalic.ttf', }) style.set_xdata('ACAD', [(1000, "Open Sans"), [1071, 50331682]]) return style
def style(): return Textstyle.new( "FFFF", dxfattribs={ "name": "TEST", "font": "NOFONT.ttf", "width": 2.0, }, )
def xstyle(): style = Textstyle.new( "FFFF", dxfattribs={ "name": "OpenSans-BoldItalic", "font": "OpenSans-BoldItalic.ttf", }, ) style.set_xdata("ACAD", [(1000, "Open Sans"), [1071, 50331682]]) return style