Searched refs:klass_map (Results 1 – 2 of 2) sorted by relevance
83 hb_map_t *klass_map /*INOUT*/);1344 hb_map_t *klass_map /*INOUT*/) in ClassDef_remap_and_serialize() argument1349 if (!klass_map) klass_map = &m; in ClassDef_remap_and_serialize()1351 if (has_no_match) klass_map->set (0, 0); in ClassDef_remap_and_serialize()1352 unsigned idx = klass_map->has (0) ? 1 : 0; in ClassDef_remap_and_serialize()1355 if (klass_map->has (k)) continue; in ClassDef_remap_and_serialize()1356 klass_map->set (k, idx); in ClassDef_remap_and_serialize()1365 new_klass = klass_map->get (gid_klass_map[gid]); in ClassDef_remap_and_serialize()1410 hb_map_t *klass_map = nullptr /*OUT*/) const in subset()1434 glyphs, orig_klasses, klass_map); in subset()[all …]
1050 if r and all(all(k in klass_map for k in klist)1051 for klass_map,klist in zip(klass_maps, c.RuleData(r)))]1057 c.SetRuleData(r, [[klass_map.index(k) for k in klist]1058 for klass_map,klist in zip(klass_maps, c.RuleData(r))])