Lines Matching full:cmap
23 Dumping 'cmap' table...
110 the font will return a virtual GID. This is valid for GSUB and cmap
111 tables. For SING glyphlets, the cmap table is used to specify Unicode
330 # glyph names from (ie. 'post', 'cmap' or 'CFF ').
441 # Try to create glyph names from the unicode cmap (if available)
454 # - we need to use the unicode values found in the cmap table to
457 # - but the cmap parser also needs glyph names to work with...
460 # - load a temporary cmap table based on those names
462 # - unload the temporary cmap table
464 if self.isLoaded("cmap"):
465 # Bootstrapping: we're getting called by the cmap parser
466 # itself. This means self.tables['cmap'] contains a partially
467 # loaded cmap, making it impossible to get at a unicode
468 # subtable here. We remove the partially loaded cmap and
470 # This only happens if the cmap table is loaded before any
472 cmapLoading = self.tables['cmap']
473 del self.tables['cmap']
477 # temporary cmap and by the real cmap in case we don't find a unicode
478 # cmap.
484 # Set the glyph order, so the cmap parser has something
487 # Get a (new) temporary cmap (based on the just invented names)
488 tempcmap = self['cmap'].getcmap(3, 1)
490 # we have a unicode cmap
492 cmap = tempcmap.cmap
493 # create a reverse cmap dict
495 for unicode, name in list(cmap.items()):
515 # Delete the temporary cmap table from the cache, so it can
517 cmap']
519 pass # no unicode cmap available, stick with the invented names
522 # restore partially loaded cmap, so it can continue loading
524 self.tables['cmap'] = cmapLoading
544 # the cmap table than there are glyphs. I don't think it's legal...
928 "hdmx", "cmap", "fpgm", "prep", "cvt ", "loca", "glyf",
931 OTFTableOrder = ["head", "hhea", "maxp", "OS/2", "name", "cmap", "post",