Home | History | Annotate | Download | only in fontTools

Lines Matching refs:Format

352 	# TODO Handle format=14.
355 # TODO Better handle format-4 and format-12 coexisting in same font.
356 # TODO Insert both a format-4 and format-12 if needed.
358 assert all(t.format in [4, 12] for t,_ in cmapTables)
359 format = max(t.format for t,_ in cmapTables)
360 cmapTable = module.cmap_classes[format](format)
521 def __init__(self, klass, Format):
541 if Format == 1:
544 elif Format == 2:
548 if self.Format not in [1, 2, 3]:
552 if self.Format not in self.__class__.__ContextHelpers:
553 helper = ContextHelper(self.__class__, self.Format)
554 self.__class__.__ContextHelpers[self.Format] = helper
555 return self.__class__.__ContextHelpers[self.Format]
565 if self.Format in [1, 2]:
573 elif self.Format == 3:
578 assert 0, "unknown format: %s" % self.Format