Searched refs:glyph_ids (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/third_party/sfntly/cpp/src/sample/chromium/
H A Dfont_subsetter.cc24 const unsigned int* glyph_ids,
29 glyph_ids == NULL || glyph_count == 0) {
38 return subsetter.SubsetFont(glyph_ids, glyph_count, output_buffer);
21 SubsetFont(const char* font_name, const unsigned char* original_font, size_t font_size, const unsigned int* glyph_ids, size_t glyph_count, unsigned char** output_buffer) argument
H A Dfont_subsetter.h39 // |glyph_ids| Glyph IDs to subset. If the specified glyph ID is not
41 // |glyph_count| Number of glyph IDs in |glyph_ids|
46 const unsigned int* glyph_ids,
H A Dsubsetter_impl.h60 int SubsetFont(const unsigned int* glyph_ids,
65 CALLER_ATTACH Font* Subset(const IntegerSet& glyph_ids,
H A Dchrome_subsetter.cc82 bool StringToGlyphId(const char* input, std::vector<unsigned int>* glyph_ids) { argument
88 glyph_ids->push_back(
93 glyph_ids->push_back(HexTo<unsigned int>(hex_csv.substr(start).c_str()));
94 return glyph_ids->size() > 0;
113 std::vector<unsigned int> glyph_ids; local
114 if (!StringToGlyphId(argv[4], &glyph_ids)) {
124 &(glyph_ids[0]),
125 glyph_ids.size(),
H A Dsubsetter_impl.cc162 const unsigned int* glyph_ids,
166 glyph_ids == NULL || glyph_count == 0 || glyph_id_processed == NULL) {
174 glyph_id_remaining.insert(glyph_ids[i]);
227 const IntegerSet& glyph_ids) {
249 for (IntegerSet::const_iterator i = glyph_ids.begin(), e = glyph_ids.end();
283 const IntegerSet& glyph_ids) {
285 return glyph_ids.find(range_begin) != glyph_ids.end();
287 IntegerSet::const_iterator left = glyph_ids
160 ResolveCompositeGlyphs(GlyphTable* glyph_table, LocaTable* loca_table, const unsigned int* glyph_ids, size_t glyph_count, IntegerSet* glyph_id_processed) argument
224 SetupGlyfBuilders(Font::Builder* font_builder, GlyphTable* glyph_table, LocaTable* loca_table, const IntegerSet& glyph_ids) argument
282 HasOverlap(int32_t range_begin, int32_t range_end, const IntegerSet& glyph_ids) argument
296 InitializeBitmapBuilder(EbdtTable::Builder* ebdt, EblcTable::Builder* eblc, const IntegerSet& glyph_ids) argument
562 SetupBitmapBuilders(Font* font, Font::Builder* font_builder, const IntegerSet& glyph_ids) argument
638 SubsetFont(const unsigned int* glyph_ids, size_t glyph_count, unsigned char** output_buffer) argument
724 Subset(const IntegerSet& glyph_ids, GlyphTable* glyf, LocaTable* loca) argument
[all...]
/external/sfntly/cpp/src/sample/chromium/
H A Dfont_subsetter.cc24 const unsigned int* glyph_ids,
29 glyph_ids == NULL || glyph_count == 0) {
38 return subsetter.SubsetFont(glyph_ids, glyph_count, output_buffer);
21 SubsetFont(const char* font_name, const unsigned char* original_font, size_t font_size, const unsigned int* glyph_ids, size_t glyph_count, unsigned char** output_buffer) argument
H A Dfont_subsetter.h39 // |glyph_ids| Glyph IDs to subset. If the specified glyph ID is not
41 // |glyph_count| Number of glyph IDs in |glyph_ids|
46 const unsigned int* glyph_ids,
H A Dsubsetter_impl.h60 int SubsetFont(const unsigned int* glyph_ids,
65 CALLER_ATTACH Font* Subset(const IntegerSet& glyph_ids,
H A Dchrome_subsetter.cc82 bool StringToGlyphId(const char* input, std::vector<unsigned int>* glyph_ids) { argument
88 glyph_ids->push_back(
93 glyph_ids->push_back(HexTo<unsigned int>(hex_csv.substr(start).c_str()));
94 return glyph_ids->size() > 0;
113 std::vector<unsigned int> glyph_ids; local
114 if (!StringToGlyphId(argv[4], &glyph_ids)) {
124 &(glyph_ids[0]),
125 glyph_ids.size(),
H A Dsubsetter_impl.cc162 const unsigned int* glyph_ids,
166 glyph_ids == NULL || glyph_count == 0 || glyph_id_processed == NULL) {
174 glyph_id_remaining.insert(glyph_ids[i]);
227 const IntegerSet& glyph_ids) {
249 for (IntegerSet::const_iterator i = glyph_ids.begin(), e = glyph_ids.end();
283 const IntegerSet& glyph_ids) {
285 return glyph_ids.find(range_begin) != glyph_ids.end();
287 IntegerSet::const_iterator left = glyph_ids
160 ResolveCompositeGlyphs(GlyphTable* glyph_table, LocaTable* loca_table, const unsigned int* glyph_ids, size_t glyph_count, IntegerSet* glyph_id_processed) argument
224 SetupGlyfBuilders(Font::Builder* font_builder, GlyphTable* glyph_table, LocaTable* loca_table, const IntegerSet& glyph_ids) argument
282 HasOverlap(int32_t range_begin, int32_t range_end, const IntegerSet& glyph_ids) argument
296 InitializeBitmapBuilder(EbdtTable::Builder* ebdt, EblcTable::Builder* eblc, const IntegerSet& glyph_ids) argument
562 SetupBitmapBuilders(Font* font, Font::Builder* font_builder, const IntegerSet& glyph_ids) argument
638 SubsetFont(const unsigned int* glyph_ids, size_t glyph_count, unsigned char** output_buffer) argument
724 Subset(const IntegerSet& glyph_ids, GlyphTable* glyf, LocaTable* loca) argument
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/
H A Dfont_info.h85 // Takes ownership of the glyph_ids GlyphIdSet.
86 void set_resolved_glyph_ids(GlyphIdSet* glyph_ids);
/external/sfntly/cpp/src/sample/subtly/
H A Dfont_info.h85 // Takes ownership of the glyph_ids GlyphIdSet.
86 void set_resolved_glyph_ids(GlyphIdSet* glyph_ids);
/external/chromium_org/third_party/freetype/src/sfnt/
H A Dttcmap.c81 /* glyph_ids 6 BYTE[256] array of glyph indices */
236 /* glyph_ids 518+NSUB*8 USHORT[] glyph ID array */
265 /* `glyph_ids' table. Let's call it `slice' (it is a USHORT[] too). */
287 FT_Byte* glyph_ids; /* glyph ID array */ local
316 glyph_ids = subs + (max_subs + 1) * 8;
317 if ( glyph_ids > valid->limit )
348 if ( ids < glyph_ids || ids + code_count*2 > table + length )
821 FT_Byte *ends, *starts, *offsets, *deltas, *glyph_ids; local
883 glyph_ids = offsets + num_segs * 2;
941 if ( p < glyph_ids ||
[all...]
/external/freetype/src/sfnt/
H A Dttcmap.c81 /* glyph_ids 6 BYTE[256] array of glyph indices */
242 /* glyph_ids 518+NSUB*8 USHORT[] glyph ID array */
271 /* `glyph_ids' table. Let's call it `slice' (it is a USHORT[] too). */
294 FT_Byte* glyph_ids; /* glyph ID array */ local
329 glyph_ids = subs + (max_subs + 1) * 8;
330 if ( glyph_ids > valid->limit )
363 if ( ids < glyph_ids || ids + code_count*2 > table + length )
837 FT_Byte *ends, *starts, *offsets, *deltas, *glyph_ids; local
905 glyph_ids = offsets + num_segs * 2;
963 if ( p < glyph_ids ||
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/
H A Dttcmap.c81 /* glyph_ids 6 BYTE[256] array of glyph indices */
236 /* glyph_ids 518+NSUB*8 USHORT[] glyph ID array */
265 /* `glyph_ids' table. Let's call it `slice' (it is a USHORT[] too). */
287 FT_Byte* glyph_ids; /* glyph ID array */ local
316 glyph_ids = subs + (max_subs + 1) * 8;
317 if ( glyph_ids > valid->limit )
348 if ( ids < glyph_ids || ids + code_count*2 > table + length )
821 FT_Byte *ends, *starts, *offsets, *deltas, *glyph_ids; local
883 glyph_ids = offsets + num_segs * 2;
941 if ( p < glyph_ids ||
[all...]

Completed in 1130 milliseconds