Attributes
- familymap
Maps the constants for font families to names to use when searching for fonts.
familymap = { Name('DEFAULT') : Const('serif'), Name('SWISS') : Const('sans-serif'), Name('ROMAN') : Const('serif'), Name('MODERN') : Const('sans-serif'), Name('DECORATIVE') : Const('fantasy'), Name('SCRIPT') : Const('script'), Name('TELETYPE') : Const('monospace') }
Method summary
- __eq__(self, other)
- __init__(self, size = 12, family = SWISS, weight = NORMAL, style = NORMAL, underline = 0, face_name = '', encoding = DEFAULT)
- __ne__(self, other)
- __repr__(self)
- copy(self)
- findfont(self)