/external/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/sfntly/cpp/src/sfntly/table/truetype/ |
loca_table.cc | 66 int32_t num_glyphs) 69 num_glyphs_(num_glyphs) { 138 void LocaTable::Builder::SetNumGlyphs(int32_t num_glyphs) { 139 num_glyphs_ = num_glyphs;
|
/external/sfntly/cpp/src/test/ |
verify_loca.cc | 47 EXPECT_EQ(loca->num_glyphs(), LOCA_NUM_LOCAS - 1);
|
/external/harfbuzz/src/ |
harfbuzz-shaper.h | 277 hb_uint32 num_glyphs; /* input: capacity of output arrays <glyphs>, <attributes>, <advances>, <offsets>, and <log_clusters>; */ member in struct:HB_ShaperItem_ 280 HB_Glyph *glyphs; /* output: <num_glyphs> indices of shaped glyphs */ 281 HB_GlyphAttributes *attributes; /* output: <num_glyphs> glyph attributes */ 282 HB_Fixed *advances; /* output: <num_glyphs> advances */ 283 HB_FixedPoint *offsets; /* output: <num_glyphs> offsets */
|
harfbuzz-myanmar.c | 262 const int availableGlyphs = item->num_glyphs; 410 item->glyphs, &item->num_glyphs, 489 syllable.num_glyphs = item->num_glyphs - first_glyph; 491 MMDEBUG("syllable shaping failed, syllable requests %d glyphs", syllable.num_glyphs); 492 item->num_glyphs += syllable.num_glyphs; 498 for (i = first_glyph; i < first_glyph + (int)syllable.num_glyphs; ++i) 506 first_glyph += syllable.num_glyphs; 508 item->num_glyphs = first_glyph [all...] |
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-shaper.h | 246 hb_uint32 num_glyphs; /* input: capacity of output arrays <glyphs>, <attributes>, <advances>, <offsets>, and <log_clusters>; */ member in struct:HB_ShaperItem_ 249 HB_Glyph *glyphs; /* output: <num_glyphs> indices of shaped glyphs */ 250 HB_GlyphAttributes *attributes; /* output: <num_glyphs> glyph attributes */ 251 HB_Fixed *advances; /* output: <num_glyphs> advances */ 252 HB_FixedPoint *offsets; /* output: <num_glyphs> offsets */
|
harfbuzz-myanmar.c | 262 const int availableGlyphs = item->num_glyphs; 411 item->glyphs, &item->num_glyphs, 490 syllable.num_glyphs = item->num_glyphs - first_glyph; 492 MMDEBUG("syllable shaping failed, syllable requests %d glyphs", syllable.num_glyphs); 493 item->num_glyphs += syllable.num_glyphs; 499 for (i = first_glyph; i < first_glyph + (int)syllable.num_glyphs; ++i) 507 first_glyph += syllable.num_glyphs; 509 item->num_glyphs = first_glyph [all...] |
harfbuzz-shaper.cpp | 214 int i = item->num_glyphs; 235 assert(item->num_glyphs <= length); 237 // qDebug("QScriptEngine::heuristicSetGlyphAttributes, num_glyphs=%d", item->num_glyphs); 253 assert(glyph_pos == item->num_glyphs); 352 shaper_item->num_glyphs = shaper_item->initialGlyphCount; 359 shaper_item->glyphs, &shaper_item->num_glyphs, 366 const int availableGlyphs = shaper_item->num_glyphs; 797 face->length = item->num_glyphs; 869 item->num_glyphs = face->buffer->in_length [all...] |
/external/chromium_org/third_party/ots/src/ |
cmap.cc | 62 const uint8_t *data, size_t length, uint16_t num_glyphs) { 221 if (glyph >= num_glyphs) { 238 if (glyph >= num_glyphs) { 264 const uint8_t *data, size_t length, uint16_t num_glyphs) { 326 groups[i].start_glyph_id > num_glyphs) { 345 const uint8_t *data, size_t length, uint16_t num_glyphs) { 392 if (groups[i].start_glyph_id >= num_glyphs) { 411 const uint8_t *data, size_t length, uint16_t num_glyphs) { 717 const uint16_t num_glyphs = file->maxp->num_glyphs; local [all...] |
/external/chromium_org/third_party/freetype/src/base/ |
ftadvanc.c | 81 if ( gindex >= (FT_UInt)face->num_glyphs ) 119 num = (FT_UInt)face->num_glyphs;
|
/external/chromium_org/third_party/freetype/src/cff/ |
cfftypes.h | 100 FT_UInt num_glyphs; member in struct:CFF_CharsetRec_ 223 FT_UInt num_glyphs; member in struct:CFF_FontRec_
|
/external/freetype/src/base/ |
ftadvanc.c | 83 if ( gindex >= (FT_UInt)face->num_glyphs ) 121 num = (FT_UInt)face->num_glyphs;
|
/external/freetype/src/cff/ |
cfftypes.h | 100 FT_UInt num_glyphs; member in struct:CFF_CharsetRec_ 224 FT_UInt num_glyphs; member in struct:CFF_FontRec_
|
/external/freetype/src/autofit/ |
afglobal.h | 65 FT_Long glyph_count; /* same as face->num_glyphs */
|
/external/freetype/src/sfnt/ |
sfdriver.c | 181 if ( root->num_glyphs < 0 ) 183 else if ( (FT_ULong)root->num_glyphs < FT_UINT_MAX ) 184 max_gid = (FT_UInt)root->num_glyphs; 187 FT_UINT_MAX, root->num_glyphs ));
|
ttsbit.c | 1043 FT_ULong mm, num_glyphs; local 1049 num_glyphs = FT_NEXT_ULONG( p ); 1051 /* overflow check for p + ( num_glyphs + 1 ) * 4 */ 1052 if ( num_glyphs > (FT_ULong)( ( ( p_limit - p ) >> 2 ) - 1 ) ) 1055 for ( mm = 0; mm < num_glyphs; mm++ ) 1070 if ( mm >= num_glyphs ) 1078 FT_ULong image_size, mm, num_glyphs; local 1089 num_glyphs = FT_NEXT_ULONG( p ); 1091 /* overflow check for p + 2 * num_glyphs */ 1092 if ( num_glyphs > (FT_ULong)( ( p_limit - p ) >> 1 ) [all...] |
/external/chromium_org/third_party/freetype/src/autofit/ |
afglobal.c | 68 FT_Long glyph_count; /* same as face->num_glyphs */ 191 face->num_glyphs * sizeof ( FT_Byte ) ) ) 194 globals->glyph_count = face->num_glyphs;
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
ttsbit0.c | 885 FT_ULong mm, num_glyphs; local 891 num_glyphs = FT_NEXT_ULONG( p ); 894 if ( p + ( num_glyphs + 1 ) * 4 < p ) 897 if ( p + ( num_glyphs + 1 ) * 4 > p_limit ) 900 for ( mm = 0; mm < num_glyphs; mm++ ) 915 if ( mm >= num_glyphs ) 922 FT_ULong image_size, mm, num_glyphs; local 933 num_glyphs = FT_NEXT_ULONG( p ); 936 if ( p + 2 * num_glyphs < p ) 939 if ( p + 2 * num_glyphs > p_limit [all...] |
/external/chromium_org/third_party/freetype/src/psnames/ |
psmodule.c | 301 FT_UInt num_glyphs, 316 if ( !FT_NEW_ARRAY( table->maps, num_glyphs + EXTRA_GLYPH_LIST_SIZE ) ) 326 for ( n = 0; n < num_glyphs; n++ ) 377 if ( count < num_glyphs / 2 ) 379 (void)FT_RENEW_ARRAY( table->maps, num_glyphs, count );
|
/external/chromium_org/third_party/freetype/src/truetype/ |
ttpload.c | 113 if ( face->num_locations != (FT_ULong)face->root.num_glyphs + 1 ) 116 face->num_locations - 1, face->root.num_glyphs )); 119 if ( face->num_locations <= (FT_ULong)face->root.num_glyphs ) 122 ( (FT_Long)( face->root.num_glyphs ) + 1 ) << shift; 149 face->num_locations = face->root.num_glyphs + 1;
|
/external/freetype/src/psnames/ |
psmodule.c | 302 FT_UInt num_glyphs, 317 if ( !FT_NEW_ARRAY( table->maps, num_glyphs + EXTRA_GLYPH_LIST_SIZE ) ) 327 for ( n = 0; n < num_glyphs; n++ ) 378 if ( count < num_glyphs / 2 ) 380 (void)FT_RENEW_ARRAY( table->maps, num_glyphs, count );
|
/external/freetype/src/truetype/ |
ttpload.c | 113 if ( face->num_locations != (FT_ULong)face->root.num_glyphs + 1 ) 116 face->num_locations - 1, face->root.num_glyphs )); 119 if ( face->num_locations <= (FT_ULong)face->root.num_glyphs ) 122 ( (FT_Long)( face->root.num_glyphs ) + 1 ) << shift; 149 face->num_locations = face->root.num_glyphs + 1;
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-ot-layout-common-private.hh | 639 unsigned int num_glyphs) 643 glyphArray.len.set (num_glyphs); 645 for (unsigned int i = 0; i < num_glyphs; i++) 647 glyphs.advance (num_glyphs); 707 unsigned int num_glyphs) 712 if (unlikely (!num_glyphs)) return TRACE_RETURN (true); 715 for (unsigned int i = 1; i < num_glyphs; i++) 724 for (unsigned int i = 1; i < num_glyphs; i++) 733 glyphs.advance (num_glyphs); 816 unsigned int num_glyphs) [all...] |
/external/harfbuzz/tests/shaping/ |
main.cpp | 235 shaper_item.num_glyphs = shaper_item.item.length; 239 QVarLengthArray<HB_Glyph> hb_glyphs(shaper_item.num_glyphs); 240 QVarLengthArray<HB_GlyphAttributes> hb_attributes(shaper_item.num_glyphs); 241 QVarLengthArray<HB_Fixed> hb_advances(shaper_item.num_glyphs); 242 QVarLengthArray<HB_FixedPoint> hb_offsets(shaper_item.num_glyphs); 243 QVarLengthArray<unsigned short> hb_logClusters(shaper_item.num_glyphs); 246 hb_glyphs.resize(shaper_item.num_glyphs); 247 hb_attributes.resize(shaper_item.num_glyphs); 248 hb_advances.resize(shaper_item.num_glyphs); 249 hb_offsets.resize(shaper_item.num_glyphs); [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-layout-common-private.hh | 640 unsigned int num_glyphs) 644 glyphArray.len.set (num_glyphs); 646 for (unsigned int i = 0; i < num_glyphs; i++) 648 glyphs.advance (num_glyphs); 708 unsigned int num_glyphs) 713 if (unlikely (!num_glyphs)) return TRACE_RETURN (true); 716 for (unsigned int i = 1; i < num_glyphs; i++) 725 for (unsigned int i = 1; i < num_glyphs; i++) 734 glyphs.advance (num_glyphs); 817 unsigned int num_glyphs) [all...] |