HomeSort by relevance Sort by last modified time
    Searched full:glyphs (Results 51 - 75 of 597) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/fonttools/Lib/fontTools/ttLib/tables/
otTables.py 41 # TODO only allow glyphs that are valid?
42 self.glyphs = rawTable["GlyphArray"]
44 glyphs = self.glyphs = []
56 assert r.StartCoverageIndex == len(glyphs), \
57 (r.StartCoverageIndex, len(glyphs))
74 glyphs.extend(glyphOrder[glyphID] for glyphID in range(startID, endID))
80 glyphs = getattr(self, "glyphs", None)
81 if glyphs is None
    [all...]
  /external/sfntly/cpp/src/sfntly/table/truetype/
loca_table.h 71 // one less than the number of glyphs. The zero entry is the special entry
82 // Set the number of glyphs.
83 // This method sets the number of glyphs that the builder will attempt to
90 // Get the number of glyphs that this builder has support for.
100 // number of glyphs for this table since the last loca position is used to
107 // of glyphs in the font.
147 // one less than the number of glyphs. The zero entry is the special entry for
159 // of glyphs for this table since the last loca position is used to indicate
164 // values run from 0 to the number of glyphs in the font.
  /external/freetype/src/autofit/
afcjk.h 44 * CJK glyphs tend to fill the square. So we have both vertical and
45 * horizontal blue zones. But some glyphs have flat bounding strokes that
46 * leave some space between neighbour glyphs.
afshaper.c 108 hb_set_t* gsub_glyphs = NULL; /* glyphs covered by GSUB lookups */
110 hb_set_t* gpos_glyphs = NULL; /* glyphs covered by GPOS lookups */
250 * We now check whether we can construct blue zones, using glyphs
299 * Various OpenType features might use the same glyphs at different
300 * vertical positions; for example, superscript and subscript glyphs
307 * glyphs are `real', this is, they have a zero vertical offset, but
308 * most of them are small caps glyphs shifted up to the superscript
311 * feature's y offset so that the `real' glyphs get correct hints. But
319 * (a) glyphs that get used in multiple features are present in a
327 * reduce the number of glyphs that could be addressed directly withou
    [all...]
aftypes.h 364 * Usually, a font contains more glyphs than can be addressed by its
368 * task are used to select such glyphs, and these glyphs can be often
379 * For example, the `sups' feature provides superscript glyphs, thus
384 * For the auto-hinter, a `coverage' represents all glyphs of an OpenType
386 * together. To continue the above example, superscript glyphs must not
387 * be hinted together with normal glyphs because the blue zones
391 * the glyphs addressable by the default Unicode character map. Instead,
396 * listed separately (including the glyphs addressable by the character
397 * map). In case HarfBuzz isn't available, it exactly covers the glyphs
    [all...]
  /external/skia/bench/
SkGlyphCacheBench.cpp 25 uint16_t glyphs['z']; local
27 glyphs[c] = cache->unicharToGlyph(c);
31 const SkGlyph& g = cache->getGlyphIDMetrics(glyphs[c]);
FontCacheBench.cpp 123 int glyphs = 0; variable
128 glyphs += count;
131 SkDebugf("hashBits [%d] limit [%d] collisions [%d / %d = %1.2g%%] using %s\n", hashBits, limit, collisions, glyphs,
132 collisions * 100.0 / glyphs, gRec[i].fName);
  /external/skia/include/core/
SkTextBlob.h 134 * Returns an immutable SkTextBlob for the current runs/glyphs,
144 * A run is a sequence of glyphs sharing the same font metrics
148 * character information will be associated with the glyphs).
160 * except that Harfbuzz interleaves glyphs and clusters.
163 SkGlyphID* glyphs; member in struct:final::SkTextBlobBuilder::RunBuffer
174 * @param count Number of glyphs.
177 * corresponds to this sequence of glyphs. If 0,
184 * build() call. The buffer is guaranteed to hold @count@ glyphs.
203 * @param count Number of glyphs.
206 * corresponds to this sequence of glyphs. If 0
    [all...]
  /external/skqp/bench/
SkGlyphCacheBench.cpp 25 uint16_t glyphs['z']; local
27 glyphs[c] = cache->unicharToGlyph(c);
31 const SkGlyph& g = cache->getGlyphIDMetrics(glyphs[c]);
FontCacheBench.cpp 123 int glyphs = 0; variable
128 glyphs += count;
131 SkDebugf("hashBits [%d] limit [%d] collisions [%d / %d = %1.2g%%] using %s\n", hashBits, limit, collisions, glyphs,
132 collisions * 100.0 / glyphs, gRec[i].fName);
  /external/skqp/include/core/
SkTextBlob.h 134 * Returns an immutable SkTextBlob for the current runs/glyphs,
144 * A run is a sequence of glyphs sharing the same font metrics
148 * character information will be associated with the glyphs).
160 * except that Harfbuzz interleaves glyphs and clusters.
163 SkGlyphID* glyphs; member in struct:final::SkTextBlobBuilder::RunBuffer
174 * @param count Number of glyphs.
177 * corresponds to this sequence of glyphs. If 0,
184 * build() call. The buffer is guaranteed to hold @count@ glyphs.
203 * @param count Number of glyphs.
206 * corresponds to this sequence of glyphs. If 0
    [all...]
  /external/icu/icu4c/source/test/letest/
letest.h 45 LEGlyphID *glyphs; member in struct:TestResult
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/skia/src/core/
SkFont.cpp 58 uint16_t glyphs[], int maxGlyphCount) const {
81 if (!glyphs) {
100 memcpy(glyphs, text, count << 1);
104 (void)fTypeface->charsToGlyphs(text, typefaceEncoding, glyphs, count);
SkTextBlobRunIterator.h 26 const uint16_t* glyphs() const;
  /external/skqp/src/core/
SkFont.cpp 58 uint16_t glyphs[], int maxGlyphCount) const {
81 if (!glyphs) {
100 memcpy(glyphs, text, count << 1);
104 (void)fTypeface->charsToGlyphs(text, typefaceEncoding, glyphs, count);
SkTextBlobRunIterator.h 26 const uint16_t* glyphs() const;
  /frameworks/base/libs/hwui/font/
Font.cpp 229 // fonts/strings where glyphs overlap.
289 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, int x, int y,
291 render(paint, glyphs, numGlyphs, x, y, FRAMEBUFFER, nullptr, 0, 0, nullptr, positions);
294 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, const SkPath* path,
296 if (numGlyphs == 0 || glyphs == nullptr) {
312 float textWidth = SkScalarToFloat(paint->measureText(glyphs, numGlyphs * 2));
322 glyph_t glyph = *(glyphs++);
342 void Font::measure(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, Rect* bounds,
349 render(paint, glyphs, numGlyphs, 0, 0, MEASURE, nullptr, 0, 0, bounds, positions);
352 void Font::precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs)
    [all...]
  /external/skia/gm/
textbloblooper.cpp 27 // Unlike the variant in sk_tool_utils, this version positions the glyphs on a diagonal
31 SkTDArray<uint16_t> glyphs; local
34 glyphs.append(paint.textToGlyphs(text, len, nullptr));
35 paint.textToGlyphs(text, len, glyphs.begin());
47 const SkTextBlobBuilder::RunBuffer& run = builder->allocRunPos(paint, glyphs.count());
48 memcpy(run.glyphs, glyphs.begin(), glyphs.count() * sizeof(uint16_t));
texteffects.cpp 145 SkAutoTArray<SkGlyphID> glyphs(glyphCount);
146 blobPaint.textToGlyphs(text, textLen, glyphs.get());
150 const int widthCount = blobPaint.getTextWidths(glyphs.get(), glyphTextBytes, nullptr);
154 blobPaint.getTextWidths(glyphs.get(), glyphTextBytes, widths.get());
166 memcpy(buf.glyphs, glyphs.get(), SkTo<uint32_t>(defaultRunLen) * sizeof(SkGlyphID));
179 memcpy(buf.glyphs, glyphs.get() + glyphIndex,
191 memcpy(buf.glyphs, glyphs.get() + glyphIndex
    [all...]
  /external/skqp/gm/
textbloblooper.cpp 27 // Unlike the variant in sk_tool_utils, this version positions the glyphs on a diagonal
31 SkTDArray<uint16_t> glyphs; local
34 glyphs.append(paint.textToGlyphs(text, len, nullptr));
35 paint.textToGlyphs(text, len, glyphs.begin());
47 const SkTextBlobBuilder::RunBuffer& run = builder->allocRunPos(paint, glyphs.count());
48 memcpy(run.glyphs, glyphs.begin(), glyphs.count() * sizeof(uint16_t));
texteffects.cpp 145 SkAutoTArray<SkGlyphID> glyphs(glyphCount);
146 blobPaint.textToGlyphs(text, textLen, glyphs.get());
150 const int widthCount = blobPaint.getTextWidths(glyphs.get(), glyphTextBytes, nullptr);
154 blobPaint.getTextWidths(glyphs.get(), glyphTextBytes, widths.get());
166 memcpy(buf.glyphs, glyphs.get(), SkTo<uint32_t>(defaultRunLen) * sizeof(SkGlyphID));
179 memcpy(buf.glyphs, glyphs.get() + glyphIndex,
191 memcpy(buf.glyphs, glyphs.get() + glyphIndex
    [all...]
  /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/skqp/src/gpu/text/
GrStencilAndCoverTextContext.cpp 134 (const char*)it.glyphs(), textLen, x + offset.x(), y + offset.y(),
139 (const char*)it.glyphs(), textLen, it.pos(), 1,
144 (const char*)it.glyphs(), textLen, it.pos(), 2,
266 const char* text = reinterpret_cast<const char*>(iter.glyphs());
348 // We can draw the glyphs from canonically sized paths.
352 // Compensate for the glyphs being scaled by fTextRatio.
516 sk_sp<GrPathRange> glyphs = local
518 if (!glyphs) {
521 glyphs = resourceProvider->createGlyphs(fFont.getTypeface(), noeffects,
525 glyphs = resourceProvider->createGlyphs(cache->getScalerContext()->getTypeface()
    [all...]
  /external/skia/tests/
FontMgrTest.cpp 30 uint16_t glyphs[5]; local
31 sk_bzero(glyphs, sizeof(glyphs));
33 int count = font->textToGlyphs("Hello", 5, kUTF8_SkTextEncoding, glyphs, SK_ARRAY_COUNT(glyphs));
37 REPORTER_ASSERT(reporter, 0 != glyphs[i]);
39 REPORTER_ASSERT(reporter, glyphs[0] != glyphs[1]); // 'h' != 'e'
40 REPORTER_ASSERT(reporter, glyphs[2] == glyphs[3]); // 'l' == 'l
    [all...]

Completed in 1809 milliseconds

1 23 4 5 6 7 8 91011>>