Lines Matching refs:glyph_to_codepoint_map
488 def read_cmap12(self, ttf, glyph_to_codepoint_map): argument
495 glyph_to_codepoint_map[glyph_name] = codepoint
500 def read_gsub(self, ttf, glyph_to_codepoint_map): argument
515 self.add_gsub_context_subtable(subtable, gsub.table.LookupList, glyph_to_codepoint_map)
518 self.add_gsub_ligature_subtable(subtable, glyph_to_codepoint_map)
520 def add_gsub_context_subtable(self, subtable, lookup_list, glyph_to_codepoint_map): argument
537 codepoints = [glyph_to_codepoint_map[x] for x in glyph_names]
558 def add_gsub_ligature_subtable(self, subtable, glyph_to_codepoint_map): argument
562 codepoints = [glyph_to_codepoint_map[x] for x in glyph_names]
620 glyph_to_codepoint_map = {}
623 cmap12_table = self.read_cmap12(ttf, glyph_to_codepoint_map)
626 self.read_gsub(ttf, glyph_to_codepoint_map)