Home
last modified time | relevance | path

Searched refs:supp_codes (Results 1 – 2 of 2) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-ot-cff1-table.hh197 const hb_vector_t<code_pair>& supp_codes) in serialize()
202 dest->format.set (format | ((supp_codes.len > 0)? 0x80: 0)); in serialize()
231 if (supp_codes.len > 0) in serialize()
233 …ate_size<CFF1SuppEncData> (CFF1SuppEncData::min_size + SuppEncoding::static_size * supp_codes.len); in serialize()
235 suppData->nSups.set (supp_codes.len); in serialize()
236 for (unsigned int i = 0; i < supp_codes.len; i++) in serialize()
238 suppData->supps[i].code.set (supp_codes[i].code); in serialize()
239 suppData->supps[i].glyph.set (supp_codes[i].glyph); /* actually SID */ in serialize()
Dhb-subset-cff1.cc468 hb_vector_t<hb_codepoint_t> supp_codes; in plan_subset_encoding() local
472 supp_codes.init (); in plan_subset_encoding()
496 encoding->get_supplement_codes (sid, supp_codes); in plan_subset_encoding()
497 for (unsigned int i = 0; i < supp_codes.len; i++) in plan_subset_encoding()
499 code_pair pair = { supp_codes[i], sid }; in plan_subset_encoding()
502 supp_size += SuppEncoding::static_size * supp_codes.len; in plan_subset_encoding()
505 supp_codes.fini (); in plan_subset_encoding()