Home
last modified time | relevance | path

Searched refs:glyph_ids (Results 1 – 10 of 10) sorted by relevance

/external/sfntly/cpp/src/sample/chromium/
Dchrome_subsetter.cc82 bool StringToGlyphId(const char* input, std::vector<unsigned int>* glyph_ids) { in StringToGlyphId() argument
88 glyph_ids->push_back( in StringToGlyphId()
93 glyph_ids->push_back(HexTo<unsigned int>(hex_csv.substr(start).c_str())); in StringToGlyphId()
94 return glyph_ids->size() > 0; in StringToGlyphId()
113 std::vector<unsigned int> glyph_ids; in main() local
114 if (!StringToGlyphId(argv[4], &glyph_ids)) { in main()
124 &(glyph_ids[0]), in main()
125 glyph_ids.size(), in main()
Dfont_subsetter.cc24 const unsigned int* glyph_ids, in SubsetFont() argument
29 glyph_ids == NULL || glyph_count == 0) { in SubsetFont()
38 return subsetter.SubsetFont(glyph_ids, glyph_count, output_buffer); in SubsetFont()
44 const unsigned int* glyph_ids, in SubsetFont() argument
49 glyph_ids == NULL || glyph_count == 0) { in SubsetFont()
58 return subsetter.SubsetFont(glyph_ids, glyph_count, output_buffer); in SubsetFont()
Dsubsetter_impl.cc201 const unsigned int* glyph_ids, in ResolveCompositeGlyphs() argument
205 glyph_ids == NULL || glyph_count == 0 || glyph_id_processed == NULL) { in ResolveCompositeGlyphs()
213 glyph_id_remaining.insert(glyph_ids[i]); in ResolveCompositeGlyphs()
266 const IntegerSet& glyph_ids) { in SetupGlyfBuilders() argument
288 for (IntegerSet::const_iterator i = glyph_ids.begin(), e = glyph_ids.end(); in SetupGlyfBuilders()
322 const IntegerSet& glyph_ids) { in HasOverlap() argument
324 return glyph_ids.find(range_begin) != glyph_ids.end(); in HasOverlap()
326 IntegerSet::const_iterator left = glyph_ids.lower_bound(range_begin); in HasOverlap()
327 IntegerSet::const_iterator right = glyph_ids.lower_bound(range_end); in HasOverlap()
336 const IntegerSet& glyph_ids) { in InitializeBitmapBuilder() argument
[all …]
Dfont_subsetter.h46 const unsigned int* glyph_ids,
70 const unsigned int* glyph_ids,
Dsubsetter_impl.h63 int SubsetFont(const unsigned int* glyph_ids,
68 CALLER_ATTACH Font* Subset(const IntegerSet& glyph_ids,
/external/harfbuzz_ng/src/
Dhb-subset-glyf.cc34 hb_vector_t<hb_codepoint_t> &glyph_ids, in _calculate_glyf_and_loca_prime_size() argument
42 for (unsigned int i = 0; i < glyph_ids.len; i++) in _calculate_glyf_and_loca_prime_size()
44 hb_codepoint_t next_glyph = glyph_ids[i]; in _calculate_glyf_and_loca_prime_size()
82 *loca_size = (glyph_ids.len + 1) in _calculate_glyf_and_loca_prime_size()
166 hb_vector_t<hb_codepoint_t> &glyph_ids = plan->glyphs; in _write_glyf_and_loca_prime() local
170 for (unsigned int i = 0; i < glyph_ids.len; i++) in _write_glyf_and_loca_prime()
173 if (unlikely (!(glyf.get_offsets (glyph_ids[i], &start_offset, &end_offset) && in _write_glyf_and_loca_prime()
218 success = success && _write_loca_entry (glyph_ids.len, in _write_glyf_and_loca_prime()
/external/harfbuzz_ng/test/shaping/
Drecord-test.sh50 glyph_ids=`echo "$text" | $hb_shape $options --no-glyph-names --no-clusters --no-positions "$fontfi…
58 --gids="$glyph_ids" \
65 --gids="$glyph_ids" \
/external/sfntly/cpp/src/sample/subtly/
Dfont_info.h86 void set_resolved_glyph_ids(GlyphIdSet* glyph_ids);
/external/freetype/src/sfnt/
Dttcmap.c304 FT_Byte* glyph_ids; /* glyph ID array */ in FT_CALLBACK_DEF() local
339 glyph_ids = subs + ( max_subs + 1 ) * 8; in FT_CALLBACK_DEF()
340 if ( glyph_ids > valid->limit ) in FT_CALLBACK_DEF()
373 if ( ids < glyph_ids || ids + code_count * 2 > table + length ) in FT_CALLBACK_DEF()
899 FT_Byte *ends, *starts, *offsets, *deltas, *glyph_ids; in tt_cmap4_validate() local
967 glyph_ids = offsets + num_segs * 2; in tt_cmap4_validate()
1025 if ( p < glyph_ids || in tt_cmap4_validate()
1042 if ( p < glyph_ids || in tt_cmap4_validate()
/external/freetype/
DChangeLog.221881 Do not check glyph_ids because some fonts set the length wrongly.
1882 Also, if all segments have offset 0, glyph_ids is always invalid.