Home
last modified time | relevance | path

Searched refs:num_glyphs (Results 1 – 25 of 159) sorted by relevance

1234567

/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/sfnt/
Dttpost.c163 FT_Int num_glyphs; in load_format_20() local
170 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_20()
179 if ( num_glyphs > face->max_profile.numGlyphs ) in load_format_20()
190 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) || in load_format_20()
191 FT_FRAME_ENTER( num_glyphs * 2L ) ) in load_format_20()
194 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
207 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
285 table->num_glyphs = (FT_UShort)num_glyphs; in load_format_20()
318 FT_Int num_glyphs; in load_format_25() local
325 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_25()
[all …]
/external/freetype/src/sfnt/
Dttpost.c163 FT_Int num_glyphs; in load_format_20() local
170 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_20()
179 if ( num_glyphs > face->max_profile.numGlyphs ) in load_format_20()
190 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) || in load_format_20()
191 FT_FRAME_ENTER( num_glyphs * 2L ) ) in load_format_20()
194 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
207 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
285 table->num_glyphs = (FT_UShort)num_glyphs; in load_format_20()
318 FT_Int num_glyphs; in load_format_25() local
325 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_25()
[all …]
/external/pdfium/third_party/freetype/src/sfnt/
Dttpost.c163 FT_Int num_glyphs; in load_format_20() local
170 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_20()
179 if ( num_glyphs > face->max_profile.numGlyphs ) in load_format_20()
190 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) || in load_format_20()
191 FT_FRAME_ENTER( num_glyphs * 2L ) ) in load_format_20()
194 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
207 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
285 table->num_glyphs = (FT_UShort)num_glyphs; in load_format_20()
318 FT_Int num_glyphs; in load_format_25() local
325 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_25()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/otvalid/
Dotvmod.c85 FT_UInt num_glyphs = (FT_UInt)face->num_glyphs; in otv_validate() local
96 if ( face->num_glyphs > 0xFFFFL ) in otv_validate()
99 face->num_glyphs )); in otv_validate()
101 num_glyphs = 0xFFFF; in otv_validate()
164 otv_GPOS_validate( gpos, num_glyphs, &valid ); in otv_validate()
174 otv_GSUB_validate( gsub, num_glyphs, &valid ); in otv_validate()
184 otv_GDEF_validate( gdef, gsub, gpos, num_glyphs, &valid ); in otv_validate()
194 otv_JSTF_validate( jstf, gsub, gpos, num_glyphs, &valid ); in otv_validate()
204 otv_MATH_validate( math, num_glyphs, &valid ); in otv_validate()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cff/
Dcffload.c666 FT_UInt num_glyphs, in CFF_Load_FD_Select() argument
685 fdselect->data_size = num_glyphs; in CFF_Load_FD_Select()
788 FT_UInt num_glyphs, in cff_charset_compute_cids() argument
800 for ( i = 0; i < num_glyphs; i++ ) in cff_charset_compute_cids()
812 for ( j = (FT_Long)num_glyphs - 1; j >= 0 ; j-- ) in cff_charset_compute_cids()
816 charset->num_glyphs = num_glyphs; in cff_charset_compute_cids()
863 FT_UInt num_glyphs, in cff_charset_load() argument
889 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
898 if ( num_glyphs > 0 ) in cff_charset_load()
900 if ( FT_FRAME_ENTER( ( num_glyphs - 1 ) * 2 ) ) in cff_charset_load()
[all …]
/external/freetype/src/cff/
Dcffload.c672 FT_UInt num_glyphs, in CFF_Load_FD_Select() argument
691 fdselect->data_size = num_glyphs; in CFF_Load_FD_Select()
794 FT_UInt num_glyphs, in cff_charset_compute_cids() argument
806 for ( i = 0; i < num_glyphs; i++ ) in cff_charset_compute_cids()
818 for ( j = (FT_Long)num_glyphs - 1; j >= 0; j-- ) in cff_charset_compute_cids()
822 charset->num_glyphs = num_glyphs; in cff_charset_compute_cids()
869 FT_UInt num_glyphs, in cff_charset_load() argument
895 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
904 if ( num_glyphs > 0 ) in cff_charset_load()
906 if ( FT_FRAME_ENTER( ( num_glyphs - 1 ) * 2 ) ) in cff_charset_load()
[all …]
/external/pdfium/third_party/freetype/src/cff/
Dcffload.c666 FT_UInt num_glyphs, in CFF_Load_FD_Select() argument
685 fdselect->data_size = num_glyphs; in CFF_Load_FD_Select()
788 FT_UInt num_glyphs, in cff_charset_compute_cids() argument
800 for ( i = 0; i < num_glyphs; i++ ) in cff_charset_compute_cids()
812 for ( j = (FT_Long)num_glyphs - 1; j >= 0 ; j-- ) in cff_charset_compute_cids()
816 charset->num_glyphs = num_glyphs; in cff_charset_compute_cids()
863 FT_UInt num_glyphs, in cff_charset_load() argument
889 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
898 if ( num_glyphs > 0 ) in cff_charset_load()
900 if ( FT_FRAME_ENTER( ( num_glyphs - 1 ) * 2 ) ) in cff_charset_load()
[all …]
/external/sfntly/cpp/src/sfntly/table/core/
Dhorizontal_device_metrics_table.cc75 int32_t num_glyphs) in HorizontalDeviceMetricsTable() argument
76 : Table(header, data), num_glyphs_(num_glyphs) { in HorizontalDeviceMetricsTable()
101 void HorizontalDeviceMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { in SetNumGlyphs() argument
102 if (num_glyphs < 0) { in SetNumGlyphs()
108 num_glyphs_ = num_glyphs; in SetNumGlyphs()
112 table->num_glyphs_ = num_glyphs; in SetNumGlyphs()
Dhorizontal_metrics_table.cc87 int32_t num_glyphs) in HorizontalMetricsTable() argument
90 num_glyphs_(num_glyphs) { in HorizontalMetricsTable()
130 void HorizontalMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { in SetNumGlyphs() argument
131 assert(num_glyphs >= 0); in SetNumGlyphs()
132 num_glyphs_ = num_glyphs; in SetNumGlyphs()
135 table->num_glyphs_ = num_glyphs; in SetNumGlyphs()
/external/harfbuzz_ng/src/
Dhb-ot-layout-gsub-table.hh90 unsigned int num_glyphs, in serialize()
95 …if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return_trace (fals… in serialize()
168 unsigned int num_glyphs) in serialize()
172 if (unlikely (!substitute.serialize (c, substitutes, num_glyphs))) return_trace (false); in serialize()
173 …if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return_trace (fals… in serialize()
200 unsigned int num_glyphs) in serialize()
206 if (num_glyphs) { in serialize()
210 for (unsigned int i = 1; i < num_glyphs; i++) in serialize()
218 case 1: return_trace (u.format1.serialize (c, glyphs, num_glyphs, delta)); in serialize()
219 case 2: return_trace (u.format2.serialize (c, glyphs, substitutes, num_glyphs)); in serialize()
[all …]
Dhb-ot-shape-complex-arabic-fallback.hh54 unsigned int num_glyphs = 0; in arabic_fallback_synthesize_lookup_single() local
69 glyphs[num_glyphs].set (u_glyph); in arabic_fallback_synthesize_lookup_single()
70 substitutes[num_glyphs].set (s_glyph); in arabic_fallback_synthesize_lookup_single()
72 num_glyphs++; in arabic_fallback_synthesize_lookup_single()
75 if (!num_glyphs) in arabic_fallback_synthesize_lookup_single()
80 hb_stable_sort (&glyphs[0], num_glyphs, OT::GlyphID::cmp, &substitutes[0]); in arabic_fallback_synthesize_lookup_single()
82 OT::Supplier<OT::GlyphID> glyphs_supplier (glyphs, num_glyphs); in arabic_fallback_synthesize_lookup_single()
83 OT::Supplier<OT::GlyphID> substitutes_supplier (substitutes, num_glyphs); in arabic_fallback_synthesize_lookup_single()
93 num_glyphs); in arabic_fallback_synthesize_lookup_single()
Dhb-face-private.hh55 mutable unsigned int num_glyphs; member
88 if (unlikely (num_glyphs == (unsigned int) -1)) in get_num_glyphs()
90 return num_glyphs; in get_num_glyphs()
Dhb-ot-layout-common-private.hh699 unsigned int num_glyphs) in serialize()
703 glyphArray.len.set (num_glyphs); in serialize()
705 for (unsigned int i = 0; i < num_glyphs; i++) in serialize()
707 glyphs.advance (num_glyphs); in serialize()
768 unsigned int num_glyphs) in serialize()
773 if (unlikely (!num_glyphs)) return_trace (true); in serialize()
776 for (unsigned int i = 1; i < num_glyphs; i++) in serialize()
785 for (unsigned int i = 1; i < num_glyphs; i++) in serialize()
794 glyphs.advance (num_glyphs); in serialize()
878 unsigned int num_glyphs) in serialize()
[all …]
/external/harfbuzz_ng/util/
Dhelper-cairo.hh55 unsigned int num_glyphs; member
72 *x_advance = glyphs[num_glyphs].x; in get_advance()
73 *y_advance = glyphs[num_glyphs].y; in get_advance()
Dhelper-cairo.cc455 l->num_glyphs = hb_buffer_get_length (buffer); in helper_cairo_line_from_buffer()
458 l->glyphs = cairo_glyph_allocate (l->num_glyphs + 1); in helper_cairo_line_from_buffer()
463 l->num_clusters = l->num_glyphs ? 1 : 0; in helper_cairo_line_from_buffer()
464 for (unsigned int i = 1; i < l->num_glyphs; i++) in helper_cairo_line_from_buffer()
470 if ((l->num_glyphs && !l->glyphs) || in helper_cairo_line_from_buffer()
480 for (i = 0; i < (int) l->num_glyphs; i++) in helper_cairo_line_from_buffer()
500 l->clusters[cluster].num_glyphs++; in helper_cairo_line_from_buffer()
502 for (i = l->num_glyphs - 2; i >= 0; i--) { in helper_cairo_line_from_buffer()
513 l->clusters[cluster].num_glyphs++; in helper_cairo_line_from_buffer()
517 for (i = 1; i < (int) l->num_glyphs; i++) { in helper_cairo_line_from_buffer()
[all …]
Dview-cairo.cc107 for (unsigned i = 0; i < l.num_glyphs; i++) { in render()
118 cairo_glyph_path (cr, l.glyphs, l.num_glyphs); in render()
123 l.glyphs, l.num_glyphs, in render()
127 cairo_show_glyphs (cr, l.glyphs, l.num_glyphs); in render()
/external/skia/src/core/
DSkAdvancedTypefaceMetrics.cpp130 int num_glyphs, in getAdvanceData() argument
160 int lastIndex = num_glyphs; in getAdvanceData()
261 int num_glyphs,
267 int num_glyphs,
274 int num_glyphs,
281 int num_glyphs,
312 int num_glyphs,
/external/pdfium/third_party/freetype/src/truetype/
Dttpload.c113 if ( face->num_locations != (FT_ULong)face->root.num_glyphs + 1 ) in tt_face_load_loca()
116 face->num_locations - 1, face->root.num_glyphs )); in tt_face_load_loca()
119 if ( face->num_locations <= (FT_ULong)face->root.num_glyphs ) in tt_face_load_loca()
122 ( (FT_ULong)face->root.num_glyphs + 1 ) << shift; in tt_face_load_loca()
149 face->num_locations = (FT_ULong)face->root.num_glyphs + 1; in tt_face_load_loca()
157 face->root.num_glyphs = face->num_locations in tt_face_load_loca()
161 face->root.num_glyphs )); in tt_face_load_loca()
/external/freetype/src/truetype/
Dttpload.c113 if ( face->num_locations != (FT_ULong)face->root.num_glyphs + 1 ) in tt_face_load_loca()
116 face->num_locations - 1, face->root.num_glyphs )); in tt_face_load_loca()
119 if ( face->num_locations <= (FT_ULong)face->root.num_glyphs ) in tt_face_load_loca()
122 ( (FT_ULong)face->root.num_glyphs + 1 ) << shift; in tt_face_load_loca()
153 face->num_locations = (FT_ULong)face->root.num_glyphs + 1; in tt_face_load_loca()
161 face->root.num_glyphs = face->num_locations in tt_face_load_loca()
165 face->root.num_glyphs )); in tt_face_load_loca()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/truetype/
Dttpload.c113 if ( face->num_locations != (FT_ULong)face->root.num_glyphs + 1 ) in tt_face_load_loca()
116 face->num_locations - 1, face->root.num_glyphs )); in tt_face_load_loca()
119 if ( face->num_locations <= (FT_ULong)face->root.num_glyphs ) in tt_face_load_loca()
122 ( (FT_ULong)face->root.num_glyphs + 1 ) << shift; in tt_face_load_loca()
153 face->num_locations = (FT_ULong)face->root.num_glyphs + 1; in tt_face_load_loca()
161 face->root.num_glyphs = face->num_locations in tt_face_load_loca()
165 face->root.num_glyphs )); in tt_face_load_loca()
/external/freetype/src/psaux/
Dt1cmap.c42 cmap->num_glyphs = (FT_UInt)face->type1.num_glyphs; in t1_cmap_std_init()
55 cmap->num_glyphs = 0; in t1_cmap_std_done()
80 for ( n = 0; n < cmap->num_glyphs; n++ ) in t1_cmap_std_char_index()
298 (FT_UInt)face->type1.num_glyphs, in t1_cmap_unicode_init()
/external/pdfium/third_party/freetype/src/psaux/
Dt1cmap.c42 cmap->num_glyphs = (FT_UInt)face->type1.num_glyphs; in t1_cmap_std_init()
55 cmap->num_glyphs = 0; in t1_cmap_std_done()
80 for ( n = 0; n < cmap->num_glyphs; n++ ) in t1_cmap_std_char_index()
298 (FT_UInt)face->type1.num_glyphs, in t1_cmap_unicode_init()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/psaux/
Dt1cmap.c42 cmap->num_glyphs = (FT_UInt)face->type1.num_glyphs; in t1_cmap_std_init()
55 cmap->num_glyphs = 0; in t1_cmap_std_done()
80 for ( n = 0; n < cmap->num_glyphs; n++ ) in t1_cmap_std_char_index()
298 (FT_UInt)face->type1.num_glyphs, in t1_cmap_unicode_init()
/external/sfntly/cpp/src/sfntly/table/truetype/
Dloca_table.h88 void SetNumGlyphs(int32_t num_glyphs);
144 int32_t num_glyphs() { return num_glyphs_; } in num_glyphs() function
171 int32_t num_glyphs);
/external/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table_format5.cc82 int32_t num_glyphs = data->ReadULongAsInt(table_offset + in NumGlyphs() local
84 return num_glyphs; in NumGlyphs()
291 int32_t num_glyphs = IndexSubTableFormat5::NumGlyphs(data, 0); in Initialize() local
292 for (int32_t i = 0; i < num_glyphs; ++i) { in Initialize()
306 int32_t num_glyphs = IndexSubTableFormat5::NumGlyphs(data, in DataLength() local
311 num_glyphs * DataSize::kUSHORT; in DataLength()

1234567