/external/skia/modules/skshaper/src/ |
SkShaper.cpp | 38 return { runBuffer.glyphs,
|
/external/skia/tools/fonts/ |
SkRandomScalerContext.h | 37 uint16_t glyphs[], int glyphCount) const override;
|
/external/skqp/gm/ |
skbug_257.cpp | 38 font.textToGlyphs(text, strlen(text), kUTF8_SkTextEncoding, rec.glyphs, count); 39 font.getPos(rec.glyphs, count, rec.points(), {x, y}); 50 font.textToGlyphs(text, strlen(text), kUTF8_SkTextEncoding, rec.glyphs, count); 51 font.getXPos(rec.glyphs, count, rec.pos);
|
scaledemoji.cpp | 25 (void)font.textToGlyphs(text, len, enc, buffer.glyphs, glyphCount); 26 font.getXPos(buffer.glyphs, glyphCount, buffer.pos);
|
/external/skqp/include/core/ |
SkTypeface.h | 187 * optionally return their corresponding glyph IDs (if glyphs is not NULL). 191 * @param glyphs (optional) returns the corresponding glyph IDs for each 194 * @param glyphCount number of code points in 'chars' to process. If glyphs 199 * glyphs parameter is NULL. 201 int charsToGlyphs(const void* chars, Encoding encoding, SkGlyphID glyphs[], 213 * Return the number of glyphs in the typeface. 264 * Given a run of glyphs, return the associated horizontal adjustments. 275 * If count is non-zero, then the glyphs parameter must point to at least 283 bool getKerningPairAdjustments(const SkGlyphID glyphs[], int count, 335 * of the glyphs, but each one positioned at (0,). This may be conservatively large, an [all...] |
/external/skqp/tools/fonts/ |
SkRandomScalerContext.h | 37 uint16_t glyphs[], int glyphCount) const override;
|
/external/skia/tests/ |
PaintTest.cpp | 50 static int find_first_zero(const uint16_t glyphs[], int count) { 52 if (0 == glyphs[i]) { 336 uint16_t* glyphs = glyphStorage.get(); 337 (void)font.textToGlyphs(text, strlen(text), kUTF8_SkTextEncoding, glyphs, count); 354 font.getWidths(glyphs, count, widths); 355 font.getXPos(glyphs, count, xpos, 10); 356 font.getPos(glyphs, count, pos, {10, 20});
|
PDFPrimitivesTest.cpp | 385 static SkGlyphRun make_run(size_t len, const SkGlyphID* glyphs, SkPoint* pos, 390 SkSpan<const SkGlyphID>{glyphs, len}, 400 const SkGlyphID glyphs[len] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; local 404 SkGlyphRun run = make_run(len, glyphs, pos, font, clusters, strlen(text), text); 424 const SkGlyphID glyphs[len] = { 43, 167, 79, 79, 82, }; local 427 SkGlyphRun run = make_run(len, glyphs, pos, font, clusters, strlen(text), text);
|
/external/skqp/tests/ |
PaintTest.cpp | 50 static int find_first_zero(const uint16_t glyphs[], int count) { 52 if (0 == glyphs[i]) { 336 uint16_t* glyphs = glyphStorage.get(); 337 (void)font.textToGlyphs(text, strlen(text), kUTF8_SkTextEncoding, glyphs, count); 354 font.getWidths(glyphs, count, widths); 355 font.getXPos(glyphs, count, xpos, 10); 356 font.getPos(glyphs, count, pos, {10, 20});
|
PDFPrimitivesTest.cpp | 385 static SkGlyphRun make_run(size_t len, const SkGlyphID* glyphs, SkPoint* pos, 390 SkSpan<const SkGlyphID>{glyphs, len}, 400 const SkGlyphID glyphs[len] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; local 404 SkGlyphRun run = make_run(len, glyphs, pos, font, clusters, strlen(text), text); 424 const SkGlyphID glyphs[len] = { 43, 167, 79, 79, 82, }; local 427 SkGlyphRun run = make_run(len, glyphs, pos, font, clusters, strlen(text), text);
|
/external/icu/icu4c/source/test/letest/ |
gendata.cpp | 209 LEGlyphID *glyphs = NULL; local 318 glyphs = NEW_ARRAY(LEGlyphID, glyphCount); 322 engine->getGlyphs(glyphs, leStatus); 333 dumpLongs(outputFile, "result-glyphs", (le_int32 *) glyphs, glyphCount); 344 DELETE_ARRAY(glyphs);
|
cletest.c | 46 LEGlyphID *glyphs = NULL; local 64 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); 75 le_getGlyphs(engine, glyphs, &status); 78 log_err("Calling getGlyphs(glyphs, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n"); 125 DELETE_ARRAY(glyphs); 219 LEGlyphID glyphs[6]; local 240 le_getGlyphs(engine, glyphs, &status); 300 if (actual->glyphs[i] != expected->glyphs[i]) { 302 testID, i, expected->glyphs[i], actual->glyphs[i]) [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-layout-gpos-table.hh | 39 #define attach_chain() var.i16[0] /* glyph to which this attaches to, relative to current glyphs; negative for going back, positive for forward. */ 471 bool intersects (const hb_set_t *glyphs) const 472 { return (this+coverage).intersects (glyphs); } 518 * value(s)--applied to all glyphs in 526 bool intersects (const hb_set_t *glyphs) const 527 { return (this+coverage).intersects (glyphs); } 578 * values applied to glyphs */ 624 bool intersects (const hb_set_t *glyphs, 635 if (glyphs->has (record->secondGlyph)) 730 bool intersects (const hb_set_t *glyphs) cons [all...] |
hb-subset-cff2.cc | 290 flattener(acc, plan->glyphs, plan->drop_hints); 300 if (!subr_subsetter.subset (acc, plan->glyphs, plan->drop_hints)) 304 if (!subr_subsetter.encode_charstrings (acc, plan->glyphs, subset_charstrings)) 355 if (unlikely (!hb_plan_subset_cff_fdselect (plan->glyphs, 388 final_size += CFF2CharStrings::calculate_serialized_size (offsets.charStringsInfo.offSize, plan->glyphs.len, dataSize); 439 const hb_vector_t<hb_codepoint_t>& glyphs, 496 if (unlikely (!hb_serialize_cff_fdselect (&c, glyphs.len, *(const FDSelect *)acc.fdSelect, acc.fdArray->count, 587 if (unlikely (!_write_cff2 (cff2_plan, acc, plan->glyphs,
|
hb-ot-maxp-table.hh | 108 maxp_prime->set_num_glyphs (plan->glyphs.len); 135 HBUINT16 numGlyphs; /* The number of glyphs in the font. */
|
hb-ot-shape-complex-arabic-fallback.hh | 52 OT::GlyphID glyphs[SHAPING_TABLE_LAST - SHAPING_TABLE_FIRST + 1]; local 69 glyphs[num_glyphs].set (u_glyph); 80 hb_stable_sort (&glyphs[0], num_glyphs, (int(*)(const OT::GlyphID*, const OT::GlyphID *)) OT::GlyphID::cmp, &substitutes[0]); 89 hb_array (glyphs, num_glyphs), 114 /* Sort out the first-glyphs */ 128 /* Now that the first-glyphs are sorted, walk again, populate ligatures. */
|
test-ot-color.cc | 80 /* we don't care about different strikes for different glyphs at this point */ 153 cairo_glyph_t *glyphs = (cairo_glyph_t *) calloc (num_layers, sizeof (cairo_glyph_t)); local 155 glyphs[j].index = layers[j].glyph; 156 cairo_glyph_extents (cr, glyphs, num_layers, &extents); 157 free (glyphs); 317 printf ("Dumping layered color glyphs...\n");
|
/external/fonttools/Tests/fontBuilder/ |
fontBuilder_test.py | 73 glyphs = {".notdef": glyph, "A": glyph, "a": glyph, ".null": glyph} 74 fb.setupGlyf(glyphs) 145 glyphs = {".notdef": emptyGlyph, "A": glyph, "a": glyph, ".null": emptyGlyph} 146 fb.setupGlyf(glyphs) 263 glyphs = {gn: glyph for gn in glyphOrder} 268 fb.setupGlyf(glyphs)
|
/external/harfbuzz_ng/util/ |
helper-cairo.cc | 486 l->glyphs = cairo_glyph_allocate (l->num_glyphs + 1); 498 if ((l->num_glyphs && !l->glyphs) || 510 l->glyphs[i].index = hb_glyph[i].codepoint; 511 l->glyphs[i].x = scalbn ((double) hb_position->x_offset + x, scale_bits); 512 l->glyphs[i].y = scalbn ((double) -hb_position->y_offset + y, scale_bits); 518 l->glyphs[i].index = -1; 519 l->glyphs[i].x = scalbn ((double) x, scale_bits); 520 l->glyphs[i].y = scalbn ((double) y, scale_bits);
|
/external/fonttools/Lib/fontTools/mtiLib/ |
__init__.py | 283 for glyph1 in self.Coverage.glyphs: 377 for glyph in coverage.glyphs: 388 for glyph in coverage.glyphs: 402 records = [None] * len(coverage.glyphs) 403 idx = {g:i for i,g in enumerate(coverage.glyphs)} 617 self.Intersect = lambda glyphs, c, r: [r] if r in glyphs else [] 623 self.Intersect = lambda glyphs, c, r: (c.intersect_class(glyphs, r) if c 624 else (set(glyphs) if r == 0 else set()) [all...] |
/external/freetype/src/bdf/ |
bdflib.c | 65 1, /* Preserve unencoded glyphs. */ 204 #define ACMSG17 "Adjusting number of glyphs to %ld.\n" 209 #define ERRMSG3 "[line %ld] Font glyphs corrupted or missing fields.\n" 812 /* Routine to compare two glyphs by encoding so they can be sorted. */ 2364 bdf_glyph_t* glyphs; local [all...] |
/external/fonttools/Tests/ttLib/tables/ |
_n_a_m_e_test.py | 89 font = FakeFont(glyphs=[".notdef", "A"]) 120 font = FakeFont(glyphs=[".notdef", "A"]) 136 font = FakeFont(glyphs=[".notdef", "A"]) 154 font = FakeFont(glyphs=[".notdef", "A"])
|
/external/icu/icu4c/source/samples/layout/ |
GDIFontInstance.h | 40 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
|
/external/pdfium/core/fxge/ |
fx_font.h | 97 FX_RECT FXGE_GetGlyphsBBox(const std::vector<FXTEXT_GLYPHPOS>& glyphs,
|
/external/skia/bench/ |
TextBlobBench.cpp | 46 memcpy(run.glyphs, &fGlyphs[0], fGlyphs.count() * sizeof(uint16_t));
|