Home
last modified time | relevance | path

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

12345

/third_party/skia/third_party/externals/freetype/src/sfnt/
H A Dttpost.c166 FT_Int num_glyphs; in load_format_20() local
174 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_20()
183 if ( num_glyphs > face->max_profile.numGlyphs || in load_format_20()
184 (FT_ULong)num_glyphs * 2UL > post_len - 2 ) in load_format_20()
195 if ( FT_QNEW_ARRAY( glyph_indices, num_glyphs ) || in load_format_20()
196 FT_FRAME_ENTER( num_glyphs * 2L ) ) in load_format_20()
199 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
212 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
234 post_len -= (FT_ULong)num_glyphs * 2UL + 2; in load_format_20()
286 table->num_glyphs in load_format_20()
311 FT_Int num_glyphs; load_format_25() local
[all...]
H A Dsfwoff2.c837 FT_UShort num_glyphs; in reconstruct_glyf() local
863 if ( FT_READ_USHORT( num_glyphs ) ) in reconstruct_glyf()
868 FT_TRACE4(( "num_glyphs = %u; index_format = %u\n", in reconstruct_glyf()
869 num_glyphs, index_format )); in reconstruct_glyf()
871 info->num_glyphs = num_glyphs; in reconstruct_glyf()
878 ( (FT_ULong)num_glyphs + 1 ); in reconstruct_glyf()
905 if ( FT_NEW_ARRAY( loca_values, num_glyphs + 1 ) ) in reconstruct_glyf()
912 bitmap_length = ( ( num_glyphs + 31U ) >> 5 ) << 2; in reconstruct_glyf()
919 if ( FT_NEW_ARRAY( info->x_mins, num_glyphs ) ) in reconstruct_glyf()
1253 FT_UShort num_glyphs; get_x_mins() local
1347 reconstruct_hmtx( FT_Stream stream, FT_UShort num_glyphs, FT_UShort num_hmetrics, FT_Short* x_mins, FT_ULong* checksum, FT_Byte** sfnt_bytes, FT_ULong* sfnt_size, FT_ULong* out_offset, FT_Memory memory ) reconstruct_hmtx() argument
[all...]
/third_party/skia/third_party/externals/freetype/src/otvalid/
H A Dotvmod.c84 FT_UInt num_glyphs = (FT_UInt)face->num_glyphs; in otv_validate() local
95 if ( face->num_glyphs > 0xFFFFL ) in otv_validate()
98 face->num_glyphs )); in otv_validate()
100 num_glyphs = 0xFFFF; in otv_validate()
163 otv_GPOS_validate( gpos, num_glyphs, &valid ); in otv_validate()
173 otv_GSUB_validate( gsub, num_glyphs, &valid ); in otv_validate()
183 otv_GDEF_validate( gdef, gsub, gpos, num_glyphs, &valid ); in otv_validate()
193 otv_JSTF_validate( jstf, gsub, gpos, num_glyphs, &valid ); in otv_validate()
203 otv_MATH_validate( math, num_glyphs, in otv_validate()
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-cff1-table.hh315 bool sanitize (hb_sanitize_context_t *c, unsigned int num_glyphs) const in sanitize()
318 return_trace (c->check_struct (this) && sids[num_glyphs - 1].sanitize (c)); in sanitize()
329 hb_codepoint_t get_glyph (hb_codepoint_t sid, unsigned int num_glyphs) const in get_glyph()
334 for (unsigned int glyph = 1; glyph < num_glyphs; glyph++) in get_glyph()
342 unsigned int get_size (unsigned int num_glyphs) const in get_size()
344 assert (num_glyphs > 0); in get_size()
345 return HBUINT16::static_size * (num_glyphs - 1); in get_size()
369 bool sanitize (hb_sanitize_context_t *c, unsigned int num_glyphs) const in sanitize()
374 num_glyphs--; in sanitize()
375 for (unsigned int i = 0; num_glyphs > in sanitize()
1268 unsigned int num_glyphs; global() member
[all...]
H A Dhb-subset-cff-common.cc153 const unsigned int num_glyphs, in serialize_fdselect_3_4()
167 p->sentinel () = num_glyphs; in serialize_fdselect_3_4()
174 const unsigned int num_glyphs, in hb_serialize_cff_fdselect()
196 for (unsigned int i = 0; i < num_glyphs; i++) in hb_serialize_cff_fdselect()
210 return serialize_fdselect_3_4<FDSelect3> (c, num_glyphs, src, in hb_serialize_cff_fdselect()
214 return serialize_fdselect_3_4<FDSelect4> (c, num_glyphs, src, in hb_serialize_cff_fdselect()
152 serialize_fdselect_3_4(hb_serialize_context_t *c, const unsigned int num_glyphs, const FDSelect &src, unsigned int size, const hb_vector_t<code_pair_t> &fdselect_ranges) serialize_fdselect_3_4() argument
173 hb_serialize_cff_fdselect(hb_serialize_context_t *c, const unsigned int num_glyphs, const FDSelect &src, unsigned int fd_count, unsigned int fdselect_format, unsigned int size, const hb_vector_t<code_pair_t> &fdselect_ranges) hb_serialize_cff_fdselect() argument
H A Dhb-aat-layout-common.hh54 const T* get_value (hb_codepoint_t glyph_id, unsigned int num_glyphs) const in get_value()
56 if (unlikely (glyph_id >= num_glyphs)) return nullptr; in get_value()
345 const T* get_value (hb_codepoint_t glyph_id, unsigned int num_glyphs) const in get_value()
348 case 0: return u.format0.get_value (glyph_id, num_glyphs); in get_value()
357 const typename T::type get_value_or_null (hb_codepoint_t glyph_id, unsigned int num_glyphs) const in get_value_or_null()
363 const T *v = get_value (glyph_id, num_glyphs); in get_value_or_null()
369 unsigned int num_glyphs, in get_class()
372 const T *v = get_value (glyph_id, num_glyphs); in get_class()
418 /* Lookup 0 has unbounded size (dependant on num_glyphs). So we need to defined
504 unsigned int get_class (hb_codepoint_t glyph_id, unsigned int num_glyphs) cons
848 unsigned int num_glyphs; global() member
[all...]
H A Dhb-ot-shape-complex-arabic-fallback.hh54 unsigned int num_glyphs = 0; in arabic_fallback_synthesize_lookup_single() local
69 glyphs[num_glyphs] = u_glyph; in arabic_fallback_synthesize_lookup_single()
70 substitutes[num_glyphs] = 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, in arabic_fallback_synthesize_lookup_single()
91 hb_sorted_array (glyphs, num_glyphs), in arabic_fallback_synthesize_lookup_single()
92 hb_array (substitutes, num_glyphs)); in arabic_fallback_synthesize_lookup_single()
H A Dhb-ot-post-table-v2subset.hh75 unsigned num_glyphs = c->plan->num_output_glyphs (); in subset() local
83 for (hb_codepoint_t new_gid = 0; new_gid < num_glyphs; new_gid++) in subset()
122 + hb_range (num_glyphs) in subset()
H A Dhb-ot-cff2-table.hh53 bool serialize (hb_serialize_context_t *c, const CFF2FDSelect &src, unsigned int num_glyphs) in serialize()
56 unsigned int size = src.get_size (num_glyphs); in serialize()
63 unsigned int get_size (unsigned int num_glyphs) const in get_size()
67 case 0: return format.static_size + u.format0.get_size (num_glyphs); in get_size()
439 num_glyphs = charStrings->count; in init()
440 if (num_glyphs != sc.get_num_glyphs ()) in init()
502 unsigned int num_glyphs; member
H A Dhb-ot-color-sbix-table.hh83 static unsigned int get_size (unsigned num_glyphs) in get_size()
84 { return min_size + num_glyphs * HBUINT32::static_size; } in get_size()
98 unsigned int num_glyphs, in get_glyph_blob()
109 if (unlikely (glyph_id >= num_glyphs || in get_glyph_blob()
208 num_glyphs = face->get_num_glyphs (); in init()
231 num_glyphs, available_ppem); in reference_png()
331 unsigned int num_glyphs; member
H A Dhb-sanitize.hh129 num_glyphs (65536), in hb_sanitize_context_t()
167 num_glyphs = num_glyphs_; in set_num_glyphs()
170 unsigned int get_num_glyphs () { return num_glyphs; } in get_num_glyphs()
410 unsigned int num_glyphs; member
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
H A Dhorizontal_device_metrics_table.cc75 int32_t num_glyphs) in HorizontalDeviceMetricsTable()
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()
72 HorizontalDeviceMetricsTable( Header* header, ReadableFontData* data, int32_t num_glyphs) HorizontalDeviceMetricsTable() argument
H A Dhorizontal_metrics_table.cc87 int32_t num_glyphs) in HorizontalMetricsTable()
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()
84 HorizontalMetricsTable(Header* header, ReadableFontData* data, int32_t num_hmetrics, int32_t num_glyphs) HorizontalMetricsTable() argument
/third_party/skia/third_party/externals/harfbuzz/util/
H A Dshape-options.hh88 unsigned int num_glyphs = hb_buffer_get_length (buffer); in populate_buffer() local
90 for (unsigned int i = 0; i < num_glyphs; i++) in populate_buffer()
154 unsigned int num_glyphs; in verify_buffer_monotone() local
155 hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, &num_glyphs); in verify_buffer_monotone()
157 for (unsigned int i = 1; i < num_glyphs; i++) in verify_buffer_monotone()
190 unsigned int num_glyphs; in verify_buffer_safe_to_break() local
191 hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, &num_glyphs); in verify_buffer_safe_to_break()
201 for (unsigned int end = 1; end < num_glyphs + 1; end++) in verify_buffer_safe_to_break()
203 if (end < num_glyphs && in verify_buffer_safe_to_break()
209 if (end == num_glyphs) in verify_buffer_safe_to_break()
[all...]
H A Dhelper-cairo.hh588 unsigned int num_glyphs; member
605 *x_advance = glyphs[num_glyphs].x; in get_advance()
606 *y_advance = glyphs[num_glyphs].y; in get_advance()
620 l->num_glyphs = hb_buffer_get_length (buffer); in helper_cairo_line_from_buffer()
623 l->glyphs = cairo_glyph_allocate (l->num_glyphs + 1); in helper_cairo_line_from_buffer()
628 l->num_clusters = l->num_glyphs ? 1 : 0; in helper_cairo_line_from_buffer()
629 for (unsigned int i = 1; i < l->num_glyphs; i++) in helper_cairo_line_from_buffer()
635 if ((l->num_glyphs && !l->glyphs) || in helper_cairo_line_from_buffer()
645 for (i = 0; i < (int) l->num_glyphs; i++) in helper_cairo_line_from_buffer()
665 l->clusters[cluster].num_glyphs in helper_cairo_line_from_buffer()
[all...]
H A Dview-cairo.hh178 for (unsigned i = 0; i < l.num_glyphs; i++) { in render()
189 cairo_glyph_path (cr, l.glyphs, l.num_glyphs); in render()
194 l.glyphs, l.num_glyphs, in render()
198 cairo_show_glyphs (cr, l.glyphs, l.num_glyphs); in render()
/third_party/skia/third_party/externals/tint/src/diagnostic/
H A Dformatter.cc217 auto num_glyphs = [&](size_t start, size_t end) { in format() local
229 state.repeat(' ', num_glyphs(1, rng.begin.column)); in format()
231 num_glyphs(rng.begin.column, rng.end.column), 1)); in format()
234 state.repeat(' ', num_glyphs(1, rng.begin.column)); in format()
235 state.repeat('^', num_glyphs(rng.begin.column, line_len + 1)); in format()
238 state.repeat('^', num_glyphs(1, rng.end.column)); in format()
241 state.repeat('^', num_glyphs(1, line_len + 1)); in format()
/third_party/skia/third_party/externals/freetype/src/cff/
H A Dcffload.c705 FT_UInt num_glyphs, in CFF_Load_FD_Select()
724 fdselect->data_size = num_glyphs; in CFF_Load_FD_Select()
832 FT_UInt num_glyphs, in cff_charset_compute_cids()
843 for ( i = 0; i < num_glyphs; i++ ) in cff_charset_compute_cids()
856 for ( i = num_glyphs - 1; i < num_glyphs; i-- ) in cff_charset_compute_cids()
860 charset->num_glyphs = num_glyphs; in cff_charset_compute_cids()
907 FT_UInt num_glyphs, in cff_charset_load()
933 if ( FT_QNEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
704 CFF_Load_FD_Select( CFF_FDSelect fdselect, FT_UInt num_glyphs, FT_Stream stream, FT_ULong offset ) CFF_Load_FD_Select() argument
831 cff_charset_compute_cids( CFF_Charset charset, FT_UInt num_glyphs, FT_Memory memory ) cff_charset_compute_cids() argument
906 cff_charset_load( CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset, FT_Bool invert ) cff_charset_load() argument
1632 cff_encoding_load( CFF_Encoding encoding, CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset ) cff_encoding_load() argument
[all...]
/third_party/skia/third_party/externals/freetype/src/truetype/
H A Dttpload.c111 if ( face->num_locations != (FT_ULong)face->root.num_glyphs + 1 ) in FT_LOCAL_DEF()
114 face->num_locations - 1, face->root.num_glyphs )); in FT_LOCAL_DEF()
117 if ( face->num_locations < (FT_ULong)face->root.num_glyphs + 1 ) in FT_LOCAL_DEF()
120 ( (FT_ULong)face->root.num_glyphs + 1 ) << shift; in FT_LOCAL_DEF()
151 face->num_locations = (FT_ULong)face->root.num_glyphs + 1; in FT_LOCAL_DEF()
159 face->root.num_glyphs = face->num_locations in FT_LOCAL_DEF()
162 FT_TRACE2(( "adjusting num_glyphs to %ld\n", in FT_LOCAL_DEF()
163 face->root.num_glyphs )); in FT_LOCAL_DEF()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/truetype/
H A Dloca_table.cc70 int32_t num_glyphs) in LocaTable()
73 num_glyphs_(num_glyphs) { in LocaTable()
142 void LocaTable::Builder::SetNumGlyphs(int32_t num_glyphs) { in SetNumGlyphs() argument
143 assert(num_glyphs >= 0); in SetNumGlyphs()
144 num_glyphs_ = num_glyphs; in SetNumGlyphs()
67 LocaTable(Header* header, ReadableFontData* data, int32_t format_version, int32_t num_glyphs) LocaTable() argument
H A Dloca_table.h88 void SetNumGlyphs(int32_t num_glyphs);
144 int32_t num_glyphs() { return num_glyphs_; } in num_glyphs() function in sfntly::LocaTable
171 int32_t num_glyphs);
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
H A 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()
/third_party/skia/third_party/externals/harfbuzz/perf/
H A Dperf-extents.hh14 unsigned num_glyphs; in extents() local
20 num_glyphs = hb_face_get_glyph_count (face); in extents()
41 for (unsigned gid = 0; gid < num_glyphs; ++gid) in extents()
54 for (unsigned gid = 0; gid < num_glyphs; ++gid) in extents()
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/
H A Dfont_info.cc214 if (glyph_id < 0 || glyph_id > loca_table_->num_glyphs()) { in ResolveCompositeGlyphs()
217 loca_table_->num_glyphs()); in ResolveCompositeGlyphs()
243 int32_t num_glyphs = composite_glyph->NumGlyphs(); in ResolveCompositeGlyphs() local
244 for (int32_t i = 0; i < num_glyphs; ++i) { in ResolveCompositeGlyphs()
/third_party/skia/third_party/externals/freetype/src/psaux/
H A 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 FT_CALLBACK_DEF()
313 (FT_UInt)face->type1.num_glyphs, in FT_CALLBACK_DEF()

Completed in 16 milliseconds

12345