Code to render character cells

This commit is contained in:
Kovid Goyal
2016-10-24 13:50:24 +05:30
parent 697db21c64
commit 809a833dc5
4 changed files with 76 additions and 14 deletions

View File

@@ -992,7 +992,7 @@ class Face( object ):
FT_Done_Face( self._FT_Face )
def __repr__(self):
return 'Face({})'.format(self.family_name)
return 'Face({}, {})'.format(self.family_name, self.style_name)
def attach_file( self, filename ):
'''