Пример #1
0
 def to_python(self, value):
     if isinstance(value, basestring):
         return FontDict.fromstring(value)
     else:
         return FontDict(_FontField.to_python(self, value))
Пример #2
0
 def conf_to_python(self, value):
     return FontDict(_FontField.conf_to_python(self, value))
Пример #3
0
 def custom_default(self):
     return FontDict(_FontField.custom_default(self))