Home
last modified time | relevance | path

Searched refs:glyph_count (Results 1 – 25 of 31) sorted by relevance

12

/external/sfntly/cpp/src/sample/chromium/
Dfont_subsetter.cc25 size_t glyph_count, in SubsetFont() argument
29 glyph_ids == NULL || glyph_count == 0) { in SubsetFont()
38 return subsetter.SubsetFont(glyph_ids, glyph_count, output_buffer); in SubsetFont()
45 size_t glyph_count, in SubsetFont() argument
49 glyph_ids == NULL || glyph_count == 0) { in SubsetFont()
58 return subsetter.SubsetFont(glyph_ids, glyph_count, output_buffer); in SubsetFont()
Dfont_subsetter.h47 size_t glyph_count,
71 size_t glyph_count,
Dsubsetter_impl.h64 size_t glyph_count,
Dsubsetter_impl.cc202 size_t glyph_count, in ResolveCompositeGlyphs() argument
205 glyph_ids == NULL || glyph_count == 0 || glyph_id_processed == NULL) { in ResolveCompositeGlyphs()
212 for (size_t i = 0; i < glyph_count; ++i) { in ResolveCompositeGlyphs()
696 size_t glyph_count, in SubsetFont() argument
713 glyph_ids, glyph_count, &glyph_id_processed) || in SubsetFont()
/external/freetype/src/otvalid/
Dotvalid.h45 FT_UInt glyph_count,
50 FT_UInt glyph_count,
55 FT_UInt glyph_count,
64 FT_UInt glyph_count,
69 FT_UInt glyph_count,
Dotvgsub.c78 if ( (FT_UInt)idx >= otvalid->glyph_count ) in otv_SingleSubst_validate()
102 if ( FT_NEXT_USHORT( p ) >= otvalid->glyph_count ) in otv_SingleSubst_validate()
143 otvalid->extra1 = otvalid->glyph_count; in otv_MultipleSubst_validate()
184 otvalid->extra1 = otvalid->glyph_count; in otv_AlternateSubst_validate()
221 if ( LigatureGlyph >= otvalid->glyph_count ) in otv_Ligature_validate()
509 if ( FT_NEXT_USHORT( p ) >= otvalid->glyph_count ) in otv_ReverseChainSingleSubst_validate()
549 FT_UInt glyph_count, in otv_GSUB_validate() argument
596 otvalid->glyph_count = glyph_count; in otv_GSUB_validate()
Dotvjstf.c173 otvalid->extra1 = otvalid->glyph_count; in otv_JstfScript_validate()
208 FT_UInt glyph_count, in otv_JSTF_validate() argument
244 otvalid->glyph_count = glyph_count; in otv_JSTF_validate()
Dotvmath.c305 if ( gid >= otvalid->glyph_count ) in otv_GlyphAssembly_validate()
341 if ( gid >= otvalid->glyph_count ) in otv_MathGlyphConstruction_validate()
417 FT_UInt glyph_count, in otv_MATH_validate() argument
440 otvalid->glyph_count = glyph_count; in otv_MATH_validate()
Dotvgdef.c184 FT_UInt glyph_count, in otv_GDEF_validate() argument
252 otvalid->glyph_count = glyph_count; in otv_GDEF_validate()
Dotvcommn.c77 if ( gid >= otvalid->glyph_count ) in otv_Coverage_validate()
107 if ( End >= otvalid->glyph_count ) in otv_Coverage_validate()
252 if ( StartGlyph + GlyphCount - 1 >= otvalid->glyph_count ) in otv_ClassDef_validate()
279 if ( End >= otvalid->glyph_count ) in otv_ClassDef_validate()
Dotvgpos.c983 FT_UInt glyph_count, in otv_GPOS_validate() argument
1030 otvalid->glyph_count = glyph_count; in otv_GPOS_validate()
/external/skia/gm/
Dskbug_5321.cpp25 int glyph_count = font.countText(text, byteLength, kUTF8_SkTextEncoding); variable
28 auto rec = builder.allocRunPosH(font, glyph_count, y);
29 font.textToGlyphs(text, byteLength, kUTF8_SkTextEncoding, rec.glyphs, glyph_count);
31 font.getWidths(rec.glyphs, glyph_count, rec.pos);
32 for (int i = 0; i < glyph_count; ++i) {
/external/skqp/gm/
Dskbug_5321.cpp25 int glyph_count = font.countText(text, byteLength, kUTF8_SkTextEncoding); variable
28 auto rec = builder.allocRunPosH(font, glyph_count, y);
29 font.textToGlyphs(text, byteLength, kUTF8_SkTextEncoding, rec.glyphs, glyph_count);
31 font.getWidths(rec.glyphs, glyph_count, rec.pos);
32 for (int i = 0; i < glyph_count; ++i) {
/external/freetype/src/autofit/
Dafglobal.c142 for ( i = 0; i < (FT_UInt)globals->glyph_count; i++ ) in af_face_globals_compute_style_coverage()
190 gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
201 if ( gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
219 gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
230 if ( gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
262 if ( gindex != 0 && gindex < (FT_ULong)globals->glyph_count ) in af_face_globals_compute_style_coverage()
276 for ( nn = 0; nn < globals->glyph_count; nn++ ) in af_face_globals_compute_style_coverage()
302 for ( idx = 0; idx < globals->glyph_count; idx++ ) in af_face_globals_compute_style_coverage()
350 globals->glyph_count = face->num_glyphs; in af_face_globals_new()
434 if ( gindex >= (FT_ULong)globals->glyph_count ) in af_face_globals_get_metrics()
[all …]
Dafglobal.h108 FT_Long glyph_count; /* same as face->num_glyphs */ member
/external/wayland/cursor/
Dconvert_font.c122 int32_t glyph_count; member
128 int32_t glyph_count; member
180 printf("glyph count %d\n", names->glyph_count); in handle_glyph_names()
182 if (names->glyph_count != extracted_font.count) { in handle_glyph_names()
189 + (names->glyph_count + 1) * sizeof(int32_t); in handle_glyph_names()
192 for (i = 0; i < names->glyph_count; ++i) { in handle_glyph_names()
204 printf("bitmaps count %d\n", bitmaps->glyph_count); in handle_bitmaps()
206 if (bitmaps->glyph_count != extracted_font.count) { in handle_bitmaps()
218 + (bitmaps->glyph_count + 4) * sizeof(int32_t); in handle_bitmaps()
221 for (i = 0; i < bitmaps->glyph_count; ++i) { in handle_bitmaps()
/external/harfbuzz_ng/src/
Dtest-ot-color.cc45 unsigned glyph_count = hb_face_get_glyph_count (face); in svg_dump() local
47 for (unsigned int glyph_id = 0; glyph_id < glyph_count; glyph_id++) in svg_dump()
75 unsigned glyph_count = hb_face_get_glyph_count (face); in png_dump() local
81 for (sample_glyph_id = 0; sample_glyph_id < glyph_count; sample_glyph_id++) in png_dump()
101 for (unsigned int glyph_id = 0; glyph_id < glyph_count; glyph_id++) in png_dump()
133 unsigned glyph_count = hb_face_get_glyph_count (face); in layered_glyph_dump() local
134 for (hb_codepoint_t gid = 0; gid < glyph_count; ++gid) in layered_glyph_dump()
Dhb-graphite2.cc287 unsigned int glyph_count = gr_seg_n_slots (seg); in _hb_graphite2_shape() local
288 if (unlikely (!glyph_count)) { in _hb_graphite2_shape()
295 buffer->ensure (glyph_count); in _hb_graphite2_shape()
298 DIV_CEIL (sizeof (hb_codepoint_t) * glyph_count, sizeof (*scratch))) > scratch_size) in _hb_graphite2_shape()
319 ALLOCATE_ARRAY (hb_codepoint_t, gids, glyph_count); in _hb_graphite2_shape()
389 buffer->len = glyph_count; in _hb_graphite2_shape()
Dhb-ot-color-cbdt-table.hh127 bool sanitize (hb_sanitize_context_t *c, unsigned int glyph_count) const in sanitize()
131 offsetArrayZ.sanitize (c, glyph_count + 1)); in sanitize()
158 bool sanitize (hb_sanitize_context_t *c, unsigned int glyph_count) const in sanitize()
163 case 1: return_trace (u.format1.sanitize (c, glyph_count)); in sanitize()
164 case 3: return_trace (u.format3.sanitize (c, glyph_count)); in sanitize()
Dhb-face.h113 unsigned int glyph_count);
Dhb-face.cc470 unsigned int glyph_count) in hb_face_set_glyph_count() argument
475 face->num_glyphs.set_relaxed (glyph_count); in hb_face_set_glyph_count()
/external/pdfium/core/fxge/win32/
Ddwrite_int.h56 int glyph_count,
Dfx_win32_dwrite.cpp232 int glyph_count, in DwRendingString() argument
255 glyphRun.glyphCount = glyph_count; in DwRendingString()
/external/skqp/tests/
DSerializationTest.cpp753 int glyph_count = 5; in DEF_TEST() local
754 const auto& run = builder.allocRun(font, glyph_count, 1.2f, 2.3f); in DEF_TEST()
756 std::fill(run.glyphs, run.glyphs + glyph_count, 0); in DEF_TEST()
/external/skia/tests/
DSerializationTest.cpp753 int glyph_count = 5; in DEF_TEST() local
754 const auto& run = builder.allocRun(font, glyph_count, 1.2f, 2.3f); in DEF_TEST()
756 std::fill(run.glyphs, run.glyphs + glyph_count, 0); in DEF_TEST()

12