Home
last modified time | relevance | path

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

/external/sfntly/cpp/src/sample/chromium/
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()
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()
Dsubsetter_impl.cc164 const unsigned int* glyph_ids, in ResolveCompositeGlyphs() argument
168 glyph_ids == NULL || glyph_count == 0 || glyph_id_processed == NULL) { in ResolveCompositeGlyphs()
176 glyph_id_remaining.insert(glyph_ids[i]); in ResolveCompositeGlyphs()
229 const IntegerSet& glyph_ids) { in SetupGlyfBuilders() argument
251 for (IntegerSet::const_iterator i = glyph_ids.begin(), e = glyph_ids.end(); in SetupGlyfBuilders()
285 const IntegerSet& glyph_ids) { in HasOverlap() argument
287 return glyph_ids.find(range_begin) != glyph_ids.end(); in HasOverlap()
289 IntegerSet::const_iterator left = glyph_ids.lower_bound(range_begin); in HasOverlap()
290 IntegerSet::const_iterator right = glyph_ids.lower_bound(range_end); in HasOverlap()
299 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/sfntly/cpp/src/sample/subtly/
Dfont_info.h86 void set_resolved_glyph_ids(GlyphIdSet* glyph_ids);
/external/pdfium/third_party/freetype/src/sfnt/
Dttcmap.c301 FT_Byte* glyph_ids; /* glyph ID array */ in FT_CALLBACK_DEF() local
336 glyph_ids = subs + ( max_subs + 1 ) * 8; in FT_CALLBACK_DEF()
337 if ( glyph_ids > valid->limit ) in FT_CALLBACK_DEF()
370 if ( ids < glyph_ids || ids + code_count * 2 > table + length ) in FT_CALLBACK_DEF()
846 FT_Byte *ends, *starts, *offsets, *deltas, *glyph_ids; in tt_cmap4_validate() local
914 glyph_ids = offsets + num_segs * 2; in tt_cmap4_validate()
972 if ( p < glyph_ids || in tt_cmap4_validate()
989 if ( p < glyph_ids || in tt_cmap4_validate()
/external/freetype/src/sfnt/
Dttcmap.c303 FT_Byte* glyph_ids; /* glyph ID array */ in FT_CALLBACK_DEF() local
338 glyph_ids = subs + ( max_subs + 1 ) * 8; in FT_CALLBACK_DEF()
339 if ( glyph_ids > valid->limit ) in FT_CALLBACK_DEF()
372 if ( ids < glyph_ids || ids + code_count * 2 > table + length ) in FT_CALLBACK_DEF()
877 FT_Byte *ends, *starts, *offsets, *deltas, *glyph_ids; in tt_cmap4_validate() local
945 glyph_ids = offsets + num_segs * 2; in tt_cmap4_validate()
1003 if ( p < glyph_ids || in tt_cmap4_validate()
1020 if ( p < glyph_ids || in tt_cmap4_validate()