/external/chromium_org/third_party/ots/src/ |
loca.cc | 28 const unsigned num_glyphs = file->maxp->num_glyphs; local 30 loca->offsets.resize(num_glyphs + 1); 31 // maxp->num_glyphs is uint16_t, thus the addition never overflows. 37 for (unsigned i = 0; i <= num_glyphs; ++i) { 49 for (unsigned i = 0; i <= num_glyphs; ++i) {
|
ltsh.cc | 27 uint16_t num_glyphs = 0; local 29 !table.ReadU16(&num_glyphs)) { 39 if (num_glyphs != file->maxp->num_glyphs) { 40 OTS_WARNING("bad num_glyphs: %u", num_glyphs); 45 ltsh->ypels.reserve(num_glyphs); 46 for (unsigned i = 0; i < num_glyphs; ++i) {
|
post.cc | 49 uint16_t num_glyphs = 0; local 50 if (!table.ReadU16(&num_glyphs)) { 58 if (num_glyphs == 0) { 59 if (file->maxp->num_glyphs > 258) { 69 if (num_glyphs != file->maxp->num_glyphs) { 70 // Note: Fixedsys500c.ttf seems to have inconsistent num_glyphs values. 74 post->glyph_name_index.resize(num_glyphs); 75 for (unsigned i = 0; i < num_glyphs; ++i) { 106 for (unsigned i = 0; i < num_glyphs; ++i) [all...] |
maxp.h | 13 uint16_t num_glyphs; member in struct:ots::OpenTypeMAXP
|
glyf.cc | 184 const unsigned num_glyphs = file->maxp->num_glyphs; local 187 if (offsets.size() != num_glyphs + 1) { 191 std::vector<uint32_t> resulting_offsets(num_glyphs + 1); 194 for (unsigned i = 0; i < num_glyphs; ++i) { 271 resulting_offsets[num_glyphs] = current_offset;
|
gdef.cc | 30 size_t length, const uint16_t num_glyphs) { 31 return ots::ParseClassDefTable(data, length, num_glyphs, 36 size_t length, const uint16_t num_glyphs) { 54 if (glyph_count > num_glyphs) { 73 length - offset_coverage, num_glyphs)) { 106 size_t length, const uint16_t num_glyphs) { 123 if (lig_glyph_count > num_glyphs) { 141 length - offset_coverage, num_glyphs)) { 202 size_t length, const uint16_t num_glyphs) { 203 return ots::ParseClassDefTable(data, length, num_glyphs, kMaxClassDefValue) 255 const uint16_t num_glyphs = file->maxp->num_glyphs; local [all...] |
math.cc | 162 const uint16_t num_glyphs) { 183 num_glyphs, sequence_count)) { 199 const uint16_t num_glyphs) { 202 num_glyphs); 207 const uint16_t num_glyphs) { 210 num_glyphs); 240 const uint16_t num_glyphs) { 262 num_glyphs, sequence_count)) { 288 const uint16_t num_glyphs) { 313 num_glyphs)) { 519 const uint16_t num_glyphs = file->maxp->num_glyphs; local [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/truetype/ |
loca_table.h | 88 void SetNumGlyphs(int32_t num_glyphs); 144 int32_t num_glyphs() { return num_glyphs_; } function in class:sfntly::LocaTable 171 int32_t num_glyphs);
|
/external/harfbuzz_ng/util/ |
helper-cairo.hh | 52 unsigned int num_glyphs; member in struct:helper_cairo_line_t 69 *x_advance = glyphs[num_glyphs].x; 70 *y_advance = glyphs[num_glyphs].y;
|
/external/chromium_org/third_party/freetype/src/psaux/ |
t1cmap.h | 47 FT_UInt num_glyphs; member in struct:T1_CMapStdRec_
|
/external/freetype/src/psaux/ |
t1cmap.h | 47 FT_UInt num_glyphs; member in struct:T1_CMapStdRec_
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
ttcmap.h | 135 FT_UInt num_glyphs; member in struct:TT_ValidatorRec_ 141 #define TT_VALID_GLYPH_COUNT( x ) TT_VALIDATOR( x )->num_glyphs
|
ttpost.c | 163 FT_Int num_glyphs; local 170 if ( FT_READ_USHORT( num_glyphs ) ) 179 if ( num_glyphs > face->max_profile.numGlyphs ) 190 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) || 191 FT_FRAME_ENTER( num_glyphs * 2L ) ) 194 for ( n = 0; n < num_glyphs; n++ ) 207 for ( n = 0; n < num_glyphs; n++ ) 282 table->num_glyphs = (FT_UShort)num_glyphs; 315 FT_Int num_glyphs; local [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-face-private.hh | 55 mutable unsigned int num_glyphs; member in struct:hb_face_t 88 if (unlikely (num_glyphs == (unsigned int) -1)) 90 return num_glyphs;
|
hb-ot-font.cc | 41 unsigned int num_glyphs; member in struct:hb_ot_font_t 60 ot_font->num_glyphs = font->face->get_num_glyphs (); 70 2 * (ot_font->num_hmetrics + ot_font->num_glyphs) < hb_blob_get_length (ot_font->hmtx_blob))) 151 if (unlikely (glyph >= ot_font->num_glyphs))
|
hb-graphite2.cc | 211 unsigned int num_glyphs; member in struct:hb_graphite2_cluster_t 313 clusters[ci-1].num_glyphs += clusters[ci].num_glyphs; 324 c->num_glyphs = 0; 327 clusters[ci].num_glyphs++; 337 for (unsigned int j = 0; j < clusters[i].num_glyphs; ++j)
|
hb-ot-shape-complex-arabic-fallback.hh | 54 unsigned int num_glyphs = 0; local 69 glyphs[num_glyphs].set (u_glyph); 70 substitutes[num_glyphs].set (s_glyph); 72 num_glyphs++; 75 if (!num_glyphs) 80 hb_bubble_sort (&glyphs[0], num_glyphs, OT::GlyphID::cmp, &substitutes[0]); 82 OT::Supplier<OT::GlyphID> glyphs_supplier (glyphs, num_glyphs); 83 OT::Supplier<OT::GlyphID> substitutes_supplier (substitutes, num_glyphs); 93 num_glyphs);
|
/external/freetype/src/sfnt/ |
ttcmap.h | 135 FT_UInt num_glyphs; member in struct:TT_ValidatorRec_ 141 #define TT_VALID_GLYPH_COUNT( x ) TT_VALIDATOR( x )->num_glyphs
|
ttpost.c | 163 FT_Int num_glyphs; local 170 if ( FT_READ_USHORT( num_glyphs ) ) 179 if ( num_glyphs > face->max_profile.numGlyphs ) 190 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) || 191 FT_FRAME_ENTER( num_glyphs * 2L ) ) 194 for ( n = 0; n < num_glyphs; n++ ) 207 for ( n = 0; n < num_glyphs; n++ ) 282 table->num_glyphs = (FT_UShort)num_glyphs; 315 FT_Int num_glyphs; local [all...] |
/external/harfbuzz_ng/src/ |
hb-face-private.hh | 55 mutable unsigned int num_glyphs; member in struct:hb_face_t 88 if (unlikely (num_glyphs == (unsigned int) -1)) 90 return num_glyphs;
|
hb-ot-font.cc | 41 unsigned int num_glyphs; member in struct:hb_ot_font_t 60 ot_font->num_glyphs = font->face->get_num_glyphs (); 70 2 * (ot_font->num_hmetrics + ot_font->num_glyphs) < hb_blob_get_length (ot_font->hmtx_blob))) 148 if (unlikely (glyph >= ot_font->num_glyphs))
|
/external/chromium_org/third_party/brotli/src/woff2/ |
normalize.cc | 74 int num_glyphs = NumGlyphs(*font); local 85 size_t max_normalized_glyf_size = 1.1 * glyf_table->length + 2 * num_glyphs; 94 for (int i = 0; i < num_glyphs; ++i) {
|
transform.cc | 79 explicit GlyfEncoder(int num_glyphs) 80 : sbbox_(false), cbbox_(true), n_glyphs_(num_glyphs) { 81 bbox_bitmap_.resize(((num_glyphs + 31) >> 5) << 2); 233 int num_glyphs = NumGlyphs(*font); local 234 GlyfEncoder encoder(num_glyphs); 235 for (int i = 0; i < num_glyphs; ++i) {
|
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/ |
font_info.cc | 214 if (glyph_id < 0 || glyph_id > loca_table_->num_glyphs()) { 217 loca_table_->num_glyphs()); 243 int32_t num_glyphs = composite_glyph->NumGlyphs(); local 244 for (int32_t i = 0; i < num_glyphs; ++i) {
|
/external/chromium_org/third_party/freetype/src/cff/ |
cffgload.h | 188 FT_UInt num_glyphs; /* number of glyphs in font */ member in struct:CFF_Decoder_
|