Home | History | Annotate | Download | only in ttLib

Lines Matching refs:TTFont

12 >>> tt = ttLib.TTFont("afont.ttf")
36 >>> tt2 = ttLib.TTFont()
60 class TTFont(object):
89 The TTFont constructor can also be called without a 'file'
255 writer.begintag("ttFont", sfntVersion=repr(self.sfntVersion)[1:-1],
273 tableWriter.begintag("ttFont", ttLibVersion=version)
282 tableWriter.endtag("ttFont")
287 writer.endtag("ttFont")
669 to CFF's CharString dict. See TTFont.getGlyphSet().
676 def __init__(self, ttFont):
677 self._ttFont = ttFont
704 def __init__(self, glyphName, ttFont):
706 self._ttFont = ttFont
767 def toXML(self, writer, ttFont):
768 glyphOrder = ttFont.getGlyphOrder()
777 def fromXML(self, name, attrs, content, ttFont):
780 ttFont.setGlyphOrder(self.glyphOrder)