def to_python(self, value): if isinstance(value, basestring): return FontDict.fromstring(value) else: return FontDict(_FontField.to_python(self, value))
def conf_to_python(self, value): return FontDict(_FontField.conf_to_python(self, value))
def custom_default(self): return FontDict(_FontField.custom_default(self))