Searched refs:sidmap (Results 1 – 2 of 2) sorted by relevance
102 void reassignSIDs (const RemapSID& sidmap) in reassignSIDs()105 nameSIDs[i] = sidmap[base->nameSIDs[i]]; in reassignSIDs()441 sidmap.init (); in cff_subset_plan()459 sidmap.fini (); in ~cff_subset_plan()537 sid = sidmap.add (sid); in plan_subset_charset()569 if (unlikely (!sidmap.reset (acc.stringIndex->count))) in collect_sids_in_dicts()577 (void)sidmap.add (sid); in collect_sids_in_dicts()578 topDictModSIDs[i] = sidmap[sid]; in collect_sids_in_dicts()585 (void)sidmap.add (acc.fontDicts[i].fontName); in collect_sids_in_dicts()667 …if (unlikely (sidmap.get_count () > 0x8000)) /* assumption: a dict won't reference that many strin… in create()[all …]
576 unsigned int offSize_, const Remap &sidmap) in serialize()579 if (unlikely ((strings.count == 0) || (sidmap.get_count () == 0))) in serialize()589 if (!bytesArray.resize (sidmap.get_count ())) in serialize()593 hb_codepoint_t j = sidmap[i]; in serialize()604 unsigned int calculate_serialized_size (unsigned int &offSize /*OUT*/, const Remap &sidmap) const in calculate_serialized_size()607 if ((count == 0) || (sidmap.get_count () == 0)) in calculate_serialized_size()612 if (sidmap[i] != CFF_UNDEF_CODE) in calculate_serialized_size()616 return CFF1Index::calculate_serialized_size (offSize, sidmap.get_count (), dataSize); in calculate_serialized_size()