Searched refs:num_glyphs (Results 1 - 25 of 97) sorted by relevance

1234

/external/freetype/src/sfnt/
H A Dttpost.c163 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++ )
285 table->num_glyphs = (FT_UShort)num_glyphs;
318 FT_Int num_glyphs; local
[all...]
H A Dttcmap.h135 FT_UInt num_glyphs; member in struct:TT_ValidatorRec_
141 #define TT_VALID_GLYPH_COUNT( x ) TT_VALIDATOR( x )->num_glyphs
/external/pdfium/third_party/freetype/src/sfnt/
H A Dttpost.c163 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...]
H A Dttcmap.h135 FT_UInt num_glyphs; member in struct:TT_ValidatorRec_
141 #define TT_VALID_GLYPH_COUNT( x ) TT_VALIDATOR( x )->num_glyphs
/external/harfbuzz_ng/src/
H A Dhb-face-private.hh55 mutable unsigned int num_glyphs; member in struct:hb_face_t
88 if (unlikely (num_glyphs == (unsigned int) -1))
90 return num_glyphs;
H A Dhb-ot-shape-complex-arabic-fallback.hh54 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);
H A Dhb-ot-layout-gsub-table.hh90 unsigned int num_glyphs,
95 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return TRACE_RETURN (false);
167 unsigned int num_glyphs)
171 if (unlikely (!substitute.serialize (c, substitutes, num_glyphs))) return TRACE_RETURN (false);
172 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return TRACE_RETURN (false);
198 unsigned int num_glyphs)
204 if (num_glyphs) {
208 for (unsigned int i = 1; i < num_glyphs; i++)
216 case 1: return TRACE_RETURN (u.format1.serialize (c, glyphs, num_glyphs, delta));
217 case 2: return TRACE_RETURN (u.format2.serialize (c, glyphs, substitutes, num_glyphs));
88 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs, int delta) argument
164 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<GlyphID> &substitutes, unsigned int num_glyphs) argument
195 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<GlyphID> &substitutes, unsigned int num_glyphs) argument
305 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
369 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &substitute_len_list, unsigned int num_glyphs, Supplier<GlyphID> &substitute_glyphs_list) argument
406 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &substitute_len_list, unsigned int num_glyphs, Supplier<GlyphID> &substitute_glyphs_list) argument
520 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &alternate_len_list, unsigned int num_glyphs, Supplier<GlyphID> &alternate_glyphs_list) argument
557 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &alternate_len_list, unsigned int num_glyphs, Supplier<GlyphID> &alternate_glyphs_list) argument
1220 serialize_single(hb_serialize_context_t *c, uint32_t lookup_props, Supplier<GlyphID> &glyphs, Supplier<GlyphID> &substitutes, unsigned int num_glyphs) argument
1231 serialize_multiple(hb_serialize_context_t *c, uint32_t lookup_props, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &substitute_len_list, unsigned int num_glyphs, Supplier<GlyphID> &substitute_glyphs_list) argument
1244 serialize_alternate(hb_serialize_context_t *c, uint32_t lookup_props, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &alternate_len_list, unsigned int num_glyphs, Supplier<GlyphID> &alternate_glyphs_list) argument
[all...]
H A Dhb-graphite2.cc211 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)
/external/harfbuzz_ng/util/
H A Dhelper-cairo.hh51 unsigned int num_glyphs; member in struct:helper_cairo_line_t
68 *x_advance = glyphs[num_glyphs].x;
69 *y_advance = glyphs[num_glyphs].y;
H A Dview-cairo.cc102 for (unsigned i = 0; i < l.num_glyphs; i++) {
113 cairo_glyph_path (cr, l.glyphs, l.num_glyphs);
118 l.glyphs, l.num_glyphs,
122 cairo_show_glyphs (cr, l.glyphs, l.num_glyphs);
H A Dhelper-cairo.cc431 l->num_glyphs = hb_buffer_get_length (buffer);
434 l->glyphs = cairo_glyph_allocate (l->num_glyphs + 1);
439 l->num_clusters = l->num_glyphs ? 1 : 0;
440 for (unsigned int i = 1; i < l->num_glyphs; i++)
446 if ((l->num_glyphs && !l->glyphs) ||
456 for (i = 0; i < (int) l->num_glyphs; i++)
476 l->clusters[cluster].num_glyphs++;
478 for (i = l->num_glyphs - 2; i >= 0; i--) {
489 l->clusters[cluster].num_glyphs++;
493 for (i = 1; i < (int) l->num_glyphs;
[all...]
/external/sfntly/cpp/src/sfntly/table/core/
H A Dhorizontal_device_metrics_table.cc75 int32_t num_glyphs)
76 : Table(header, data), num_glyphs_(num_glyphs) {
101 void HorizontalDeviceMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { argument
102 if (num_glyphs < 0) {
108 num_glyphs_ = num_glyphs;
112 table->num_glyphs_ = num_glyphs;
72 HorizontalDeviceMetricsTable( Header* header, ReadableFontData* data, int32_t num_glyphs) argument
H A Dhorizontal_metrics_table.cc87 int32_t num_glyphs)
90 num_glyphs_(num_glyphs) {
130 void HorizontalMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { argument
131 assert(num_glyphs >= 0);
132 num_glyphs_ = num_glyphs;
135 table->num_glyphs_ = num_glyphs;
84 HorizontalMetricsTable(Header* header, ReadableFontData* data, int32_t num_hmetrics, int32_t num_glyphs) argument
H A Dhorizontal_device_metrics_table.h42 void SetNumGlyphs(int32_t num_glyphs);
73 int32_t num_glyphs);
H A Dhorizontal_metrics_table.h43 void SetNumGlyphs(int32_t num_glyphs);
77 int32_t num_glyphs);
/external/freetype/src/psaux/
H A Dt1cmap.h47 FT_UInt num_glyphs; member in struct:T1_CMapStdRec_
H A Dt1cmap.c42 cmap->num_glyphs = (FT_UInt)face->type1.num_glyphs;
55 cmap->num_glyphs = 0;
80 for ( n = 0; n < cmap->num_glyphs; n++ )
298 (FT_UInt)face->type1.num_glyphs,
/external/pdfium/third_party/freetype/src/psaux/
H A Dt1cmap.h47 FT_UInt num_glyphs; member in struct:T1_CMapStdRec_
H A Dt1cmap.c42 cmap->num_glyphs = face->type1.num_glyphs;
55 cmap->num_glyphs = 0;
80 for ( n = 0; n < cmap->num_glyphs; n++ )
298 face->type1.num_glyphs,
/external/freetype/src/cff/
H A Dcffload.c666 FT_UInt num_glyphs,
685 fdselect->data_size = num_glyphs;
788 FT_UInt num_glyphs,
800 for ( i = 0; i < num_glyphs; i++ )
812 for ( j = (FT_Long)num_glyphs - 1; j >= 0 ; j-- )
816 charset->num_glyphs = num_glyphs;
863 FT_UInt num_glyphs,
889 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
898 if ( num_glyphs >
665 CFF_Load_FD_Select( CFF_FDSelect fdselect, FT_UInt num_glyphs, FT_Stream stream, FT_ULong offset ) argument
787 cff_charset_compute_cids( CFF_Charset charset, FT_UInt num_glyphs, FT_Memory memory ) argument
862 cff_charset_load( CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset, FT_Bool invert ) argument
1061 cff_encoding_load( CFF_Encoding encoding, CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset ) argument
[all...]
/external/pdfium/third_party/freetype/src/cff/
H A Dcffload.c666 FT_UInt num_glyphs,
685 fdselect->data_size = num_glyphs;
788 FT_UInt num_glyphs,
800 for ( i = 0; i < num_glyphs; i++ )
812 for ( j = num_glyphs - 1; j >= 0 ; j-- )
816 charset->num_glyphs = num_glyphs;
863 FT_UInt num_glyphs,
889 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
898 if ( num_glyphs >
665 CFF_Load_FD_Select( CFF_FDSelect fdselect, FT_UInt num_glyphs, FT_Stream stream, FT_ULong offset ) argument
787 cff_charset_compute_cids( CFF_Charset charset, FT_UInt num_glyphs, FT_Memory memory ) argument
862 cff_charset_load( CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset, FT_Bool invert ) argument
1061 cff_encoding_load( CFF_Encoding encoding, CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset ) argument
[all...]
/external/sfntly/cpp/src/sfntly/table/truetype/
H A Dloca_table.h88 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/sfntly/cpp/src/test/
H A Dverify_loca.cc47 EXPECT_EQ(loca->num_glyphs(), LOCA_NUM_LOCAS - 1);
/external/skia/src/core/
H A DSkAdvancedTypefaceMetrics.cpp130 int num_glyphs,
160 int lastIndex = num_glyphs;
261 int num_glyphs,
267 int num_glyphs,
274 int num_glyphs,
281 int num_glyphs,
312 int num_glyphs,
128 getAdvanceData( FontHandle fontHandle, int num_glyphs, const uint32_t* subsetGlyphIDs, uint32_t subsetGlyphIDsLength, bool (*getAdvance)(FontHandle fontHandle, int gId, Data* data)) argument
/external/sfntly/cpp/src/sfntly/table/bitmap/
H A Dindex_sub_table_format5.cc82 int32_t num_glyphs = data->ReadULongAsInt(table_offset + local
84 return num_glyphs;
291 int32_t num_glyphs = IndexSubTableFormat5::NumGlyphs(data, 0); local
292 for (int32_t i = 0; i < num_glyphs; ++i) {
306 int32_t num_glyphs = IndexSubTableFormat5::NumGlyphs(data, local
311 num_glyphs * DataSize::kUSHORT;

Completed in 720 milliseconds

1234