HomeSort by relevance Sort by last modified time
    Searched refs:glyphs (Results 76 - 100 of 289) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/skqp/gm/
atlastext.cpp 35 std::unique_ptr<SkGlyphID[]> glyphs(new SkGlyphID[cnt]);
36 typeface->charsToGlyphs(text.c_str(), SkTypeface::Encoding::kUTF8_Encoding, glyphs.get(), cnt);
43 font.getWidths(glyphs.get(), cnt, widths.get());
51 target->drawText(glyphs.get(), positions.get(), cnt, color, *atlas_font);
textbloblooper.cpp 27 // Unlike the variant in sk_tool_utils, this version positions the glyphs on a diagonal
30 SkTDArray<uint16_t> glyphs; local
33 glyphs.append(font.countText(text, len, kUTF8_SkTextEncoding));
34 font.textToGlyphs(text, len, kUTF8_SkTextEncoding, glyphs.begin(), glyphs.count());
44 const SkTextBlobBuilder::RunBuffer& run = builder->allocRunPos(font, glyphs.count());
45 memcpy(run.glyphs, glyphs.begin(), glyphs.count() * sizeof(uint16_t));
  /external/skqp/modules/skshaper/include/
SkShaper.h 43 SkGlyphID* glyphs; // required member in struct:SkShaper::RunHandler::Buffer
  /external/skqp/tests/
FontMgrTest.cpp 28 uint16_t glyphs[5]; local
29 sk_bzero(glyphs, sizeof(glyphs));
31 // Check that no glyphs are copied with insufficient storage.
32 int count = font.textToGlyphs("Hello", 5, kUTF8_SkTextEncoding, glyphs, 2);
34 for (const auto glyph : glyphs) { REPORTER_ASSERT(reporter, glyph == 0); }
36 SkAssertResult(font.textToGlyphs("Hello", 5, kUTF8_SkTextEncoding, glyphs,
37 SK_ARRAY_COUNT(glyphs)) == count);
40 REPORTER_ASSERT(reporter, 0 != glyphs[i]);
42 REPORTER_ASSERT(reporter, glyphs[0] != glyphs[1]); // 'h' != 'e
    [all...]
  /external/icu/icu4c/source/samples/layout/
GnomeFontInstance.h 43 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
106 void rasterizeGlyphs(cairo_t *cairo, const LEGlyphID *glyphs, le_int32 glyphCount, const float *positions,
  /external/skia/gm/
pdf_never_embed.cpp 22 font.textToGlyphs(text, strlen(text), kUTF8_SkTextEncoding, rec.glyphs, count);
23 font.getPos(rec.glyphs, count, rec.points());
textbloblooper.cpp 27 // Unlike the variant in sk_tool_utils, this version positions the glyphs on a diagonal
30 SkTDArray<uint16_t> glyphs; local
33 glyphs.append(font.countText(text, len, kUTF8_SkTextEncoding));
34 font.textToGlyphs(text, len, kUTF8_SkTextEncoding, glyphs.begin(), glyphs.count());
44 const SkTextBlobBuilder::RunBuffer& run = builder->allocRunPos(font, glyphs.count());
45 memcpy(run.glyphs, glyphs.begin(), glyphs.count() * sizeof(uint16_t));
textblobshader.cpp 45 memcpy(run->glyphs, fGlyphs.begin(), glyphCount * sizeof(uint16_t));
48 memcpy(run->glyphs, fGlyphs.begin(), glyphCount * sizeof(uint16_t));
54 memcpy(run->glyphs, fGlyphs.begin(), glyphCount * sizeof(uint16_t));
  /external/skia/src/core/
SkFontPriv.h 58 Returns the union of bounds of all glyphs.
66 @return union of bounds of all glyphs
76 // Returns the number of elements (characters or glyphs) in the array.
79 static void GlyphsToUnichars(const SkFont&, const uint16_t glyphs[], int count, SkUnichar[]);
100 const uint16_t* glyphs() const { return fGlyphs; } function in class:SkAutoToGlyphs
  /external/skia/tools/lua/
glyph-counts.lua 50 local gCounts = {} -- [fontID_pointsize] = [] unique glyphs
65 if t.glyphs then
66 local key = array_count(t.glyphs)
75 local first = t.glyphs[1];
glyph-usage.lua 64 local strikes = {} -- [fontID_pointsize] = [] unique glyphs
99 if t.glyphs then
102 array_union(strikes[key], t.glyphs)
105 dump_array_as_C(t.glyphs)
138 io.write("\n", "unique glyphs: min = ", min, ", max = ", max, ", ave = ", ave, "\n");
  /external/skqp/modules/skshaper/src/
SkShaper_primitive.cpp 63 SkAssertResult(font.textToGlyphs(utf8text, textBytes, SkTextEncoding::kUTF8, buffer.glyphs,
65 font.getPos(buffer.glyphs, glyphCount, buffer.positions, point);
  /external/skqp/src/core/
SkFontPriv.h 61 Returns the union of bounds of all glyphs.
69 @return union of bounds of all glyphs
79 // Returns the number of elements (characters or glyphs) in the array.
82 static void GlyphsToUnichars(const SkFont&, const uint16_t glyphs[], int count, SkUnichar[]);
103 const uint16_t* glyphs() const { return fGlyphs; } function in class:SkAutoToGlyphs
  /external/skqp/tools/lua/
glyph-counts.lua 50 local gCounts = {} -- [fontID_pointsize] = [] unique glyphs
65 if t.glyphs then
66 local key = array_count(t.glyphs)
75 local first = t.glyphs[1];
glyph-usage.lua 64 local strikes = {} -- [fontID_pointsize] = [] unique glyphs
99 if t.glyphs then
102 array_union(strikes[key], t.glyphs)
105 dump_array_as_C(t.glyphs)
138 io.write("\n", "unique glyphs: min = ", min, ", max = ", max, ", ave = ", ave, "\n");
  /external/fonttools/Tests/ttLib/tables/
otTables_test.py 12 def makeCoverage(glyphs):
14 coverage.glyphs = glyphs
20 self.glyphs = ".notdef A B C D E a b c d e".split()
21 self.font = FakeFont(self.glyphs)
55 self.assertEqual(rawTable["Coverage"].glyphs, ["A", "B", "C"])
63 self.assertEqual(rawTable["Coverage"].glyphs, ["A", "B", "C"])
71 self.assertEqual(rawTable["Coverage"].glyphs, [])
97 self.glyphs = ".notdef c f i t c_t f_f_i".split()
98 self.font = FakeFont(self.glyphs)
    [all...]
  /external/icu/icu4c/source/layoutex/layout/
ParagraphLayout.h 43 * Clients can use this to break a paragraph into lines, and to display the glyphs in each line.
187 const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]);
233 * Get the number of glyphs in the visual run.
235 * @return the number of glyphs.
242 * Get the glyphs in the visual run. Glyphs with the values <code>0xFFFE</code> and
245 * @return the address of the array of glyphs for this visual run. The storage
254 * Get the (x, y) positions of the glyphs in the visual run. To simplify storage
348 const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]);
419 * just mapping the characters to glyphs and rendering them in order
569 LEGlyphID *glyphs; member in struct:ParagraphLayout::StyleRunInfo
    [all...]
  /external/icu/icu4c/source/test/letest/
xmlreader.cpp 151 UnicodeString result_glyphs = UNICODE_STRING_SIMPLE("result-glyphs");
182 UnicodeString text, glyphs, indices, positions; local
214 glyphs = element->getText(TRUE);
228 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount);
245 DELETE_ARRAY(expected.glyphs);
  /external/icu/icu4c/source/test/perf/leperf/
xmlreader.cpp 155 UnicodeString result_glyphs = UNICODE_STRING_SIMPLE("result-glyphs");
186 UnicodeString text, glyphs, indices, positions; local
218 glyphs = element->getText(TRUE);
232 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount);
249 DELETE_ARRAY(expected.glyphs);
  /external/skia/modules/skshaper/src/
SkShaper_primitive.cpp 157 std::unique_ptr<SkGlyphID[]> glyphs(new SkGlyphID[glyphCount]);
158 font.textToGlyphs(utf8text, textBytes, SkTextEncoding::kUTF8, glyphs.get(), glyphCount);
161 font.getWidthsBounds(glyphs.get(), glyphCount, advances.get(), nullptr, nullptr);
186 memcpy(buffer.glyphs, glyphs.get() + glyphOffset, numGlyphs * sizeof(SkGlyphID));
  /external/harfbuzz_ng/src/
hb-subset-cff-common.hh 292 glyphs (glyphs_),
298 if (!flat_charstrings.resize (glyphs.len))
300 for (unsigned int i = 0; i < glyphs.len; i++)
302 for (unsigned int i = 0; i < glyphs.len; i++)
304 hb_codepoint_t glyph = glyphs[i];
319 const hb_vector_t<hb_codepoint_t> &glyphs; member in struct:CFF::SubrFlattener
650 bool subset (ACC &acc, const hb_vector_t<hb_codepoint_t> &glyphs, bool drop_hints)
655 parsed_charstrings.init (glyphs.len);
666 for (unsigned int i = 0; i < glyphs.len; i++)
668 hb_codepoint_t glyph = glyphs[i]
    [all...]
hb-ot-vorg-table.hh 110 /* count the number of glyphs to be included in the subset table */
115 while ((glyph < plan->glyphs.len) && (i < vertYOrigins.len))
117 if (plan->glyphs[glyph] > vertYOrigins[i].glyph)
119 else if (plan->glyphs[glyph] < vertYOrigins[i].glyph)
hb-subset-cff-common.cc 46 hb_plan_subset_cff_fdselect (const hb_vector_t<hb_codepoint_t> &glyphs,
60 unsigned int subset_num_glyphs = glyphs.len;
72 hb_codepoint_t fd = src.get_fd (glyphs[i]);
  /external/fonttools/Tests/t1Lib/
t1Lib_test.py 95 glyphs = font.getGlyphSet()
96 i = random.randrange(len(glyphs))
97 aglyph = list(glyphs.values())[i]
  /external/skia/tests/
TextBlobTest.cpp 165 font.textToGlyphs(txt, txtLen, kUTF8_SkTextEncoding, buffer.glyphs, glyphCount);
259 REPORTER_ASSERT(reporter, k % 128 == it.glyphs()[k]);
282 rb.glyphs[i] = i;
289 rb.glyphs[i] = i;
296 rb.glyphs[i] = i;
323 SkAutoTMalloc<uint16_t> glyphs(glyphCount);
324 (void)font.textToGlyphs(text1, strlen(text1), kUTF8_SkTextEncoding, glyphs.get(), glyphCount);
328 memcpy(run.glyphs, glyphs.get(), sizeof(uint16_t) * glyphCount);
339 REPORTER_ASSERT(reporter, it.glyphs()[i] == glyphs[i])
    [all...]

Completed in 933 milliseconds

1 2 34 5 6 7 8 91011>>