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

1 2 3 4 5 67 8 91011>>

  /external/skia/gm/
dftext.cpp 115 SkAutoTArray<SkGlyphID> glyphs(SkToInt(textLen));
116 int count = font.textToGlyphs(text, textLen, kUTF8_SkTextEncoding, glyphs.get(), textLen);
119 font.getPos(glyphs.get(), count, pos.get(), {340, 75});
121 auto blob = SkTextBlob::MakeFromPosText(glyphs.get(), count * sizeof(SkGlyphID),
drawatlas.cpp 124 SkAutoTArray<SkGlyphID> glyphs(count);
125 font.textToGlyphs(text, length, kUTF8_SkTextEncoding, glyphs.get(), count);
126 font.getWidths(glyphs.get(), count, widths);
145 canvas->drawTextBlob(SkTextBlob::MakeFromRSXform(glyphs.get(), count * sizeof(SkGlyphID),
getpostextpath.cpp 50 font.getWidths(atg.glyphs(), count, &widths[0]);
glyph_pos.cpp 123 SkGlyphID glyphs[len]; local
124 const int count = font.textToGlyphs(kText, len, kUTF8_SkTextEncoding, glyphs, len);
126 font.getWidthsBounds(glyphs, count, widths, nullptr, &paint);
textblob.cpp 159 memcpy(buf.glyphs, fGlyphs.begin() + currentGlyph, count * sizeof(uint16_t));
169 memcpy(buf.glyphs, fGlyphs.begin() + currentGlyph, count * sizeof(uint16_t));
181 memcpy(buf.glyphs, fGlyphs.begin() + currentGlyph, count * sizeof(uint16_t));
  /external/skia/src/core/
SkOverdrawCanvas.cpp 64 void SkOverdrawCanvas::drawPosTextCommon(const SkGlyphID glyphs[], int count, const SkScalar pos[],
73 SkFindAndPlaceGlyph::ProcessPosText(glyphs, count,
88 this->drawPosTextCommon(it.glyphs(), it.glyphCount(), it.pos(), 1,
92 this->drawPosTextCommon(it.glyphs(), it.glyphCount(), it.pos(), 2, {x, y},
  /external/skia/tools/fonts/
SkTestTypeface.h 88 uint16_t glyphs[], int glyphCount) const override;
SkTestTypeface.cpp 145 SkGlyphID glyphs[], int glyphCount) const {
157 if (glyphs) {
158 glyphs[i] = fTestFont->glyphForUnichar(ch);
  /external/skqp/bench/
TextBlobBench.cpp 46 memcpy(run.glyphs, &fGlyphs[0], fGlyphs.count() * sizeof(uint16_t));
  /external/skqp/gm/
dftext.cpp 117 SkAutoTArray<SkGlyphID> glyphs(SkToInt(textLen));
118 int count = font.textToGlyphs(text, textLen, kUTF8_SkTextEncoding, glyphs.get(), textLen);
121 font.getPos(glyphs.get(), count, pos.get(), {340, 75});
123 auto blob = SkTextBlob::MakeFromPosText(glyphs.get(), count * sizeof(SkGlyphID),
drawatlas.cpp 124 SkAutoTArray<SkGlyphID> glyphs(count);
125 font.textToGlyphs(text, length, kUTF8_SkTextEncoding, glyphs.get(), count);
126 font.getWidths(glyphs.get(), count, widths);
145 canvas->drawTextBlob(SkTextBlob::MakeFromRSXform(glyphs.get(), count * sizeof(SkGlyphID),
getpostextpath.cpp 50 font.getWidths(atg.glyphs(), count, &widths[0]);
glyph_pos.cpp 123 SkGlyphID glyphs[len]; local
124 const int count = font.textToGlyphs(kText, len, kUTF8_SkTextEncoding, glyphs, len);
126 font.getWidthsBounds(glyphs, count, widths, nullptr, &paint);
textblob.cpp 159 memcpy(buf.glyphs, fGlyphs.begin() + currentGlyph, count * sizeof(uint16_t));
169 memcpy(buf.glyphs, fGlyphs.begin() + currentGlyph, count * sizeof(uint16_t));
181 memcpy(buf.glyphs, fGlyphs.begin() + currentGlyph, count * sizeof(uint16_t));
  /external/skqp/src/core/
SkOverdrawCanvas.cpp 64 void SkOverdrawCanvas::drawPosTextCommon(const SkGlyphID glyphs[], int count, const SkScalar pos[],
73 SkFindAndPlaceGlyph::ProcessPosText(glyphs, count,
88 this->drawPosTextCommon(it.glyphs(), it.glyphCount(), it.pos(), 1,
92 this->drawPosTextCommon(it.glyphs(), it.glyphCount(), it.pos(), 2, {x, y},
  /external/skqp/tools/fonts/
SkTestTypeface.h 88 uint16_t glyphs[], int glyphCount) const override;
SkTestTypeface.cpp 145 SkGlyphID glyphs[], int glyphCount) const {
157 if (glyphs) {
158 glyphs[i] = fTestFont->glyphForUnichar(ch);
  /external/fonttools/Lib/fontTools/misc/
testTools.py 46 def __init__(self, glyphs):
47 self.glyphOrder_ = glyphs
48 self.reverseGlyphOrderDict_ = {g: i for i, g in enumerate(glyphs)}
  /external/icu/icu4c/source/layoutex/
ParagraphLayout.cpp 398 fStyleRunInfo[run].glyphs = NULL;
456 fStyleRunInfo[run].glyphs = LE_NEW_ARRAY(LEGlyphID, glyphCount);
458 if ((fStyleRunInfo[run].glyphs == NULL) ||
464 engine->getGlyphs(fStyleRunInfo[run].glyphs, layoutStatus);
595 LE_DELETE_ARRAY(fStyleRunInfo[run].glyphs);
598 fStyleRunInfo[run].glyphs = NULL;
683 // If no glyphs fit on the line, force one to fit.
685 // (There shouldn't be any zero width glyphs at the
687 // only zero width glyphs, because otherwise the zero
688 // width glyphs will have been included on the end o
1103 LEGlyphID *glyphs = LE_NEW_ARRAY(LEGlyphID, glyphCount); local
    [all...]
  /external/fonttools/Tests/feaLib/
parser_test.py 13 def glyphstr(glyphs):
19 return ' '.join(f(g.glyphSet()) for g in glyphs)
24 for a in s.glyphs:
206 self.assertEqual(glyphstr([s.glyphs]), "[a e]")
416 self.assertEqual(list(f2.statements[0].glyphs[0].glyphSet()),
455 [(prefix, glyphs, suffix)] = sub.chainContexts
457 self.assertEqual(glyphstr(glyphs), "d [a u]")
487 [(prefix, glyphs, suffix)] = sub.chainContexts
489 self.assertEqual(glyphstr(glyphs), "d [a u]")
580 self.assertEqual(glyphstr([s.glyphs]), "[c_t f_i]"
    [all...]
builder_test.py 22 glyphs = """
49 font.setGlyphOrder(glyphs)
221 self.assertEqual(st.Coverage.glyphs[2], "yacute")
415 res += "pos base {} {}".format(bcd.glyphs.asFea(), bcd.anchor.asFea())
457 glyphs = self.parse_glyphclass_(accept_glyphname=True)
466 bcdef = ast_BaseClassDefinition(baseClass, anchor, glyphs,
  /external/harfbuzz_ng/src/
hb-ot-shape-complex-indic.cc 237 bool would_substitute (const hb_codepoint_t *glyphs,
242 if (hb_ot_layout_lookup_would_substitute_fast (face, lookups[i].index, glyphs, glyphs_count, zero_context))
340 /* For old-spec, the order of glyphs is Consonant,Virama,
350 hb_codepoint_t glyphs[3] = {virama, consonant, virama}; local
351 if (indic_plan->blwf.would_substitute (glyphs , 2, face) ||
352 indic_plan->blwf.would_substitute (glyphs+1, 2, face))
354 if (indic_plan->pstf.would_substitute (glyphs , 2, face) ||
355 indic_plan->pstf.would_substitute (glyphs+1, 2, face))
357 if (indic_plan->pref.would_substitute (glyphs , 2, face) ||
358 indic_plan->pref.would_substitute (glyphs+1, 2, face)
498 hb_codepoint_t glyphs[3] = {info[start].codepoint, local
882 hb_codepoint_t glyphs[2]; local
    [all...]
  /external/ImageMagick/MagickCore/
type.c 191 if (p->glyphs != (char *) NULL)
192 p->glyphs=DestroyString(p->glyphs);
888 type_info->glyphs=ConstantString((const char *) file);
955 *glyphs,
995 glyphs="unknown";
996 if (type_info[i]->glyphs != (char *) NULL)
997 glyphs=type_info[i]->glyphs;
943 *glyphs, local
    [all...]
  /external/skia/src/ports/
SkFontHost_win.cpp 165 // The 'maxp' table stores the number of glyphs at offset 4, in 2 bytes.
166 uint16_t glyphs; local
167 if (GDI_ERROR != GetFontData(hdc, SkOTTableMaximumProfile::TAG, 4, &glyphs, sizeof(glyphs))) {
168 return SkEndian_SwapBE16(glyphs);
271 uint16_t glyphs[], int glyphCount) const override;
848 // Sometimes ScriptShape cannot find a glyph for a non-BMP and returns 2 space glyphs.
875 WORD glyphs = glyph->getGlyphID(); local
876 if (0 == GetTextExtentPointI(fDDC, &glyphs, 1, &size)) {
    [all...]
  /external/skqp/src/ports/
SkFontHost_win.cpp 165 // The 'maxp' table stores the number of glyphs at offset 4, in 2 bytes.
166 uint16_t glyphs; local
167 if (GDI_ERROR != GetFontData(hdc, SkOTTableMaximumProfile::TAG, 4, &glyphs, sizeof(glyphs))) {
168 return SkEndian_SwapBE16(glyphs);
271 uint16_t glyphs[], int glyphCount) const override;
847 // Sometimes ScriptShape cannot find a glyph for a non-BMP and returns 2 space glyphs.
874 WORD glyphs = glyph->getGlyphID(); local
875 if (0 == GetTextExtentPointI(fDDC, &glyphs, 1, &size)) {
    [all...]

Completed in 689 milliseconds

1 2 3 4 5 67 8 91011>>