/third_party/skia/experimental/sktext/src/ |
H A D | Line.h | 65 GlyphPos(size_t runIndex, size_t glyphIndex) : fRunIndex(runIndex), fGlyphIndex(glyphIndex) { } in GlyphPos() argument 72 size_t glyphIndex() const { return fGlyphIndex; } in glyphIndex() function in skia::text::GlyphPos 140 this->fGlyphEnd.glyphIndex() == tail.fGlyphStart.glyphIndex()); in moveTo() 148 void finish(size_t glyphIndex, size_t textIndex, SkScalar width) { in finish() argument 150 this->fGlyphEnd.setGlyphIndex(glyphIndex); in finish() 161 size_t glyphStartIndex() const { return fGlyphStart.glyphIndex(); } in glyphStartIndex()
|
H A D | Text.cpp | 346 for (size_t glyphIndex = 0; glyphIndex < run.fPositions.size(); ++glyphIndex) { 347 auto textIndex = run.fClusters[glyphIndex]; 352 clusterGlyphs = GlyphRange(glyphIndex, glyphIndex); 354 Stretch empty(GlyphPos(runIndex, glyphIndex), textIndex, runMetrics); 370 clusterGlyphs.fEnd = glyphIndex; 474 auto glyphStart = isFirstRun ? lineStretch.glyphStart().glyphIndex() : 0; 475 auto glyphEnd = isLastRun ? lineStretch.glyphEnd().glyphIndex() [all...] |
/third_party/skia/modules/skplaintexteditor/src/ |
H A D | shape.cpp | 203 for (size_t glyphIndex = 0; glyphIndex < glyphCount; ++glyphIndex) { in set_character_bounds() 204 if (glyphIndex + 1 < glyphCount // more glyphs in set_character_bounds() 205 && clusters[glyphIndex] == clusters[glyphIndex + 1]) { in set_character_bounds() 208 unsigned textBegin = clusters[glyphIndex]; in set_character_bounds() 221 SkASSERT(glyphIndex + 1 > clusterStart); in set_character_bounds() 222 unsigned clusterGlyphCount = glyphIndex + 1 - clusterStart; in set_character_bounds() 225 clusterStart = glyphIndex in set_character_bounds() [all...] |
/third_party/skia/docs/examples/ |
H A D | Canvas_drawTextBlob.cpp | 18 int glyphIndex = 0; in REG_FIDDLE() local 23 memcpy(run.glyphs, &glyphs[glyphIndex], sizeof(glyphs[0]) * runLen); in REG_FIDDLE() 25 textPos.fX += paint.measureText(&glyphs[glyphIndex], sizeof(glyphs[0]) * runLen, nullptr); in REG_FIDDLE() 26 glyphIndex += runLen; in REG_FIDDLE()
|
H A D | TextBlob_uniqueID.cpp | 21 int glyphIndex = 0; in REG_FIDDLE() local 27 memcpy(run.glyphs, &glyphs[glyphIndex], sizeof(glyphs[0]) * runLen); in REG_FIDDLE() 28 textPos.fX += paint.measureText(&glyphs[glyphIndex], sizeof(glyphs[0]) * runLen, nullptr); in REG_FIDDLE() 29 glyphIndex += runLen; in REG_FIDDLE()
|
H A D | TextBlob_bounds.cpp | 18 int glyphIndex = 0; in REG_FIDDLE() local 24 memcpy(run.glyphs, &glyphs[glyphIndex], sizeof(glyphs[0]) * runLen); in REG_FIDDLE() 25 textPos.fX += paint.measureText(&glyphs[glyphIndex], sizeof(glyphs[0]) * runLen, nullptr); in REG_FIDDLE() 26 glyphIndex += runLen; in REG_FIDDLE()
|
/third_party/skia/gm/ |
H A D | texteffects.cpp | 61 int glyphIndex = 0; in MakeFancyBlob() local 73 advance += widths[glyphIndex++]; in MakeFancyBlob() 83 memcpy(buf.glyphs, glyphs.get() + glyphIndex, in MakeFancyBlob() 87 advance += widths[glyphIndex++]; in MakeFancyBlob() 93 const int fullRunLen = glyphCount - glyphIndex; in MakeFancyBlob() 95 memcpy(buf.glyphs, glyphs.get() + glyphIndex, in MakeFancyBlob() 100 advance += widths[glyphIndex++]; in MakeFancyBlob()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/truetype/ |
H A D | CompositeGlyph.java | 55 // glyphIndex in initialize() 88 public int glyphIndex(int contour) { in glyphIndex() method in CompositeGlyph 163 sb.append("\t" + contour + " = [gid = " + this.glyphIndex(contour) + ", arg1 = " in toString()
|
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/ |
H A D | HintStripTest.java | 139 assertEquals(68, composite.glyphIndex(0)); // a in testCompositeGlyph() 142 assertEquals(67, composite.glyphIndex(1)); // grave in testCompositeGlyph()
|
H A D | RenumberingSubsetTest.java | 164 assertEquals(2, composite.glyphIndex(0)); // a in testCompositeGlyph() 167 assertEquals(1, composite.glyphIndex(1)); // grave in testCompositeGlyph()
|
/third_party/skia/src/ports/ |
H A D | SkFontHost_win.cpp | 1962 int glyphIndex = 0; 1964 while (glyphIndex < glyphCount) { 1966 int glyphsLeft = std::min(glyphCount - glyphIndex, scratchCount); 1968 while (runLength < glyphsLeft && utf32[glyphIndex + runLength] <= 0xFFFF) { 1969 scratch[runLength] = static_cast<WCHAR>(utf32[glyphIndex + runLength]); 1973 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); 1974 glyphIndex += runLength; 1978 while (glyphIndex < glyphCount && utf32[glyphIndex] > 0xFFFF) { 1979 SkUTF::ToUTF16(utf32[glyphIndex], reinterpret_cas [all...] |
H A D | SkFontHost_FreeType.cpp | 515 FT_UInt glyphIndex; in getGlyphToUnicodeMap() local 516 SkUnichar charCode = FT_Get_First_Char(face, &glyphIndex); in getGlyphToUnicodeMap() 517 while (glyphIndex) { in getGlyphToUnicodeMap() 518 SkASSERT(glyphIndex < SkToUInt(numGlyphs)); in getGlyphToUnicodeMap() 520 if (0 == dstArray[glyphIndex]) { in getGlyphToUnicodeMap() 521 dstArray[glyphIndex] = charCode; in getGlyphToUnicodeMap() 523 charCode = FT_Get_Next_Char(face, charCode, &glyphIndex); in getGlyphToUnicodeMap()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sflint/ |
H A D | SFLint.java | 187 glyph.glyphIndex(i) == glyph.glyphIndex(j) && in lintCompositeGlyph()
|
/third_party/skia/modules/skshaper/src/ |
H A D | SkShaper_primitive.cpp | 93 int glyphIndex = 0; in linebreak() local 102 accumulatedWidth += advance[glyphIndex++]; in linebreak()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/sfnttool/ |
H A D | GlyphCoverage.java | 68 touchGlyph(font, coverage, composite.glyphIndex(i)); in touchGlyph()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-glyf-table.hh | 289 void set_glyph_index (hb_codepoint_t new_gid) { glyphIndex = new_gid; } in set_glyph_index() 290 hb_codepoint_t get_glyph_index () const { return glyphIndex; } in get_glyph_index() 305 const HBUINT8 *p = &StructAfter<const HBUINT8> (glyphIndex); in get_anchor_points() 347 const HBINT8 *p = &StructAfter<const HBINT8> (glyphIndex); in get_transformation() 391 HBGlyphID16 glyphIndex; member
|
/third_party/skia/src/sfnt/ |
H A D | SkOTTable_glyf.h | 154 SK_OT_USHORT glyphIndex; member
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
H A D | GlyfEncoder.java | 137 writeUShort(glyph.glyphIndex(i)); in writeCompositeGlyph()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/ |
H A D | FontInfo.java | 579 int subglyphId = cGlyph.glyphIndex(j); in listSubglyphFrequency()
|