Lines Matching refs:Format
166 if self.Format == 1:
174 assert 0, "unknown format: %s" % self.Format
178 if self.Format == 1:
191 assert 0, "unknown format: %s" % self.Format
195 if self.Format == 1:
197 elif self.Format == 2:
203 assert 0, "unknown format: %s" % self.Format
214 if self.Format == 1:
227 elif self.Format == 2:
239 assert 0, "unknown format: %s" % self.Format
251 if self.Format == 1:
257 assert 0, "unknown format: %s" % self.Format
263 self.Format = 1
275 if self.Format == 1:
295 assert 0, "unknown format: %s" % self.Format
311 if self.Format == 1:
332 assert 0, "unknown format: %s" % self.Format
349 if self.Format == 1:
369 assert 0, "unknown format: %s" % self.Format
462 def __init__(self, klass, Format):
482 if Format == 1:
491 elif Format == 2:
502 elif Format == 3:
514 assert 0, "unknown format: %s" % Format
527 if Format == 1:
533 elif Format == 2:
544 if self.Format not in [1, 2, 3]:
548 if self.Format not in self.__class__.__ContextHelpers:
549 helper = ContextHelper(self.__class__, self.Format)
550 self.__class__.__ContextHelpers[self.Format] = helper
551 return self.__class__.__ContextHelpers[self.Format]
564 if self.Format == 1:
588 elif self.Format == 2:
615 elif self.Format == 3:
634 assert 0, "unknown format: %s" % self.Format
643 if self.Format == 1:
660 elif self.Format == 2:
692 elif self.Format == 3:
695 assert 0, "unknown format: %s" % self.Format
704 if self.Format in [1, 2]:
715 elif self.Format == 3:
723 assert 0, "unknown format: %s" % self.Format
732 if self.Format in [1, 2]:
737 elif self.Format == 3:
741 assert 0, "unknown format: %s" % self.Format
745 if self.Format == 1:
748 assert 0, "unknown format: %s" % self.Format
752 if self.Format == 1:
755 assert 0, "unknown format: %s" % self.Format
760 if self.Format == 1:
763 assert 0, "unknown format: %s" % self.Format
768 if self.Format == 1:
771 assert 0, "unknown format: %s" % self.Format
776 if self.Format == 1:
779 assert 0, "unknown format: %s" % self.Format
784 if self.Format == 1:
787 assert 0, "unknown format: %s" % self.Format
792 if self.Format == 1:
795 assert 0, "unknown format: %s" % self.Format
1361 sel.format = None
1706 if table.format == 14:
1727 # For now, drop format=0 which can't be subset_glyphs easily?
1728 self.tables = [t for t in self.tables if t.format != 0]
1737 # to force decompilation of the cmap format 14.
1742 if t.format == 14:
1756 if (t.cmap if t.format != 14 else t.uvsDict)]
1759 # In particular, if we have a format=12 without non-BMP
1760 # characters, either drop format=12 one or convert it
1761 # to format=4 if there's not one.