Esempio n. 1
0
 def to_python(self, value):
     if isinstance(value, basestring):
         return FontDict.fromstring(value)
     else:
         return FontDict(_FontField.to_python(self, value))
Esempio n. 2
0
 def conf_to_python(self, value):
     return FontDict(_FontField.conf_to_python(self, value))
Esempio n. 3
0
 def custom_default(self):
     return FontDict(_FontField.custom_default(self))