/external/skia/experimental/sktext/src/ |
D | Processor.cpp | 215 … auto startGlyph = runIndex == line.fTextStart.runIndex() ? line.fTextStart.glyphIndex() : 0; in iterateByVisualOrder() 216 …auto endGlyph = runIndex == line.fTextEnd.runIndex() ? line.fTextEnd.glyphIndex() : run.fGlyphs.si… in iterateByVisualOrder() 220 for (auto glyphIndex = startGlyph; glyphIndex <= endGlyph; ++glyphIndex) { in iterateByVisualOrder() local 221 auto textIndex = run.fClusters[glyphIndex]; in iterateByVisualOrder() 222 if (glyphIndex < endGlyph && !this->hasProperty(textIndex, units)) { in iterateByVisualOrder() 226 glyphRange.fEnd = glyphIndex; in iterateByVisualOrder() 229 glyphRange.fStart = glyphIndex; in iterateByVisualOrder() 260 … auto startGlyph = runIndex == line.fTextStart.runIndex() ? line.fTextStart.glyphIndex() : 0; in iterateByVisualOrder() 261 …auto endGlyph = runIndex == line.fTextEnd.runIndex() ? line.fTextEnd.glyphIndex() : run.fGlyphs.si… in iterateByVisualOrder() 267 for (auto glyphIndex = startGlyph; glyphIndex <= endGlyph; ++glyphIndex) { in iterateByVisualOrder() local [all …]
|
D | Wrapper.cpp | 60 for (size_t glyphIndex = 0; glyphIndex < run.fPositions.size(); ++glyphIndex) { in breakTextIntoLines() local 61 auto textIndex = run.fClusters[glyphIndex]; in breakTextIntoLines() 64 cluster = Stretch(GlyphPos(runIndex, glyphIndex), textIndex, runMetrics); in breakTextIntoLines() 71 … auto clusterWidth = run.fPositions[glyphIndex].fX - run.fPositions[cluster.glyphStartIndex()].fX; in breakTextIntoLines() 72 cluster.finish(glyphIndex, textIndex, clusterWidth); in breakTextIntoLines() 126 cluster = Stretch(GlyphPos(runIndex, glyphIndex), textIndex, runMetrics); in breakTextIntoLines()
|
D | Line.h | 62 GlyphPos(size_t runIndex, size_t glyphIndex) : fRunIndex(runIndex), fGlyphIndex(glyphIndex) { } in GlyphPos() argument 69 size_t glyphIndex() const { return fGlyphIndex; } in glyphIndex() function 134 this->fGlyphEnd.glyphIndex() == tail.fGlyphStart.glyphIndex()); in moveTo() 142 void finish(size_t glyphIndex, size_t textIndex, SkScalar width) { in finish() argument 144 this->fGlyphEnd.setGlyphIndex(glyphIndex); in finish() 155 size_t glyphStartIndex() const { return fGlyphStart.glyphIndex(); } in glyphStartIndex()
|
/external/skia/docs/examples/ |
D | Canvas_drawTextBlob.cpp | 18 int glyphIndex = 0; 23 memcpy(run.glyphs, &glyphs[glyphIndex], sizeof(glyphs[0]) * runLen); 25 textPos.fX += paint.measureText(&glyphs[glyphIndex], sizeof(glyphs[0]) * runLen, nullptr); 26 glyphIndex += runLen;
|
D | TextBlob_bounds.cpp | 18 int glyphIndex = 0; 24 memcpy(run.glyphs, &glyphs[glyphIndex], sizeof(glyphs[0]) * runLen); 25 textPos.fX += paint.measureText(&glyphs[glyphIndex], sizeof(glyphs[0]) * runLen, nullptr); 26 glyphIndex += runLen;
|
D | TextBlob_uniqueID.cpp | 21 int glyphIndex = 0; 27 memcpy(run.glyphs, &glyphs[glyphIndex], sizeof(glyphs[0]) * runLen); 28 … textPos.fX += paint.measureText(&glyphs[glyphIndex], sizeof(glyphs[0]) * runLen, nullptr); 29 glyphIndex += runLen;
|
/external/skia/modules/skplaintexteditor/src/ |
D | shape.cpp | 203 for (size_t glyphIndex = 0; glyphIndex < glyphCount; ++glyphIndex) { in set_character_bounds() local 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 + 1; // for next loop in set_character_bounds()
|
/external/skia/gm/ |
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()
|
/external/skqp/gm/ |
D | texteffects.cpp | 52 int glyphIndex = 0; in MakeFancyBlob() local 64 advance += widths[glyphIndex++]; in MakeFancyBlob() 74 memcpy(buf.glyphs, glyphs.get() + glyphIndex, in MakeFancyBlob() 78 advance += widths[glyphIndex++]; in MakeFancyBlob() 84 const int fullRunLen = glyphCount - glyphIndex; in MakeFancyBlob() 86 memcpy(buf.glyphs, glyphs.get() + glyphIndex, in MakeFancyBlob() 91 advance += widths[glyphIndex++]; in MakeFancyBlob()
|
/external/skqp/docs/ |
D | SkTextBlob_Reference.bmh | 31 int glyphIndex = 0; 36 memcpy(run.glyphs, &glyphs[glyphIndex], sizeof(glyphs[0]) * runLen); 37 textPos.fX += font.measureText(&glyphs[glyphIndex], sizeof(glyphs[0]) * runLen, 39 glyphIndex += runLen; 70 int glyphIndex = 0; 75 memcpy(run.glyphs, &glyphs[glyphIndex], sizeof(glyphs[0]) * runLen); 76 textPos.fX += font.measureText(&glyphs[glyphIndex], sizeof(glyphs[0]) * runLen, 78 glyphIndex += runLen;
|
D | SkCanvas_Reference.bmh | 3959 int glyphIndex = 0; 3964 memcpy(run.glyphs, &glyphs[glyphIndex], sizeof(glyphs[0]) * runLen); 3966 textPos.fX += font.measureText(&glyphs[glyphIndex], sizeof(glyphs[0]) * runLen, 3968 glyphIndex += runLen;
|
/external/skqp/src/ports/ |
D | SkFontHost_win.cpp | 2002 int glyphIndex = 0; in onCharsToGlyphs() local 2008 while (glyphIndex < glyphCount) { in onCharsToGlyphs() 2010 int glyphsLeft = SkTMin(glyphCount - glyphIndex, scratchCount); in onCharsToGlyphs() 2020 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs() 2021 glyphIndex += runLength; in onCharsToGlyphs() 2025 while (glyphIndex < glyphCount && currentChar > 0xFFFF) { in onCharsToGlyphs() 2027 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch); in onCharsToGlyphs() 2028 ++glyphIndex; in onCharsToGlyphs() 2029 if (glyphIndex < glyphCount) { in onCharsToGlyphs() 2037 int glyphIndex = 0; in onCharsToGlyphs() local [all …]
|
D | SkFontHost_FreeType.cpp | 639 FT_UInt glyphIndex; in getGlyphToUnicodeMap() local 640 SkUnichar charCode = FT_Get_First_Char(face, &glyphIndex); in getGlyphToUnicodeMap() 641 while (glyphIndex) { in getGlyphToUnicodeMap() 642 SkASSERT(glyphIndex < SkToUInt(numGlyphs)); in getGlyphToUnicodeMap() 644 if (0 == dstArray[glyphIndex]) { in getGlyphToUnicodeMap() 645 dstArray[glyphIndex] = charCode; in getGlyphToUnicodeMap() 647 charCode = FT_Get_Next_Char(face, charCode, &glyphIndex); in getGlyphToUnicodeMap()
|
/external/skia/modules/skshaper/src/ |
D | SkShaper_primitive.cpp | 81 int glyphIndex = 0; in linebreak() local 90 accumulatedWidth += advance[glyphIndex++]; in linebreak()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-glyf-table.hh | 268 const HBUINT8 *p = &StructAfter<const HBUINT8> (glyphIndex); in get_anchor_points() 310 const HBINT8 *p = &StructAfter<const HBINT8> (glyphIndex); in get_transformation() 354 HBGlyphID glyphIndex; member 867 if (unlikely (!get_points_var (item.glyphIndex, coords, coord_count, in get_points_var() 1039 add_gid_and_children (item.glyphIndex, gids_to_retain, depth); in add_gid_and_children() 1082 if (plan->new_gid_for_old_gid (_.glyphIndex, &new_gid)) in serialize() 1083 ((OT::glyf::CompositeGlyphChain *) &_)->glyphIndex = new_gid; in serialize()
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 1962 int glyphIndex = 0; in onCharsToGlyphs() local 1964 while (glyphIndex < glyphCount) { in onCharsToGlyphs() 1966 int glyphsLeft = std::min(glyphCount - glyphIndex, scratchCount); in onCharsToGlyphs() 1968 while (runLength < glyphsLeft && utf32[glyphIndex + runLength] <= 0xFFFF) { in onCharsToGlyphs() 1969 scratch[runLength] = static_cast<WCHAR>(utf32[glyphIndex + runLength]); in onCharsToGlyphs() 1973 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs() 1974 glyphIndex += runLength; in onCharsToGlyphs() 1978 while (glyphIndex < glyphCount && utf32[glyphIndex] > 0xFFFF) { in onCharsToGlyphs() 1979 SkUTF::ToUTF16(utf32[glyphIndex], reinterpret_cast<uint16_t*>(scratch)); in onCharsToGlyphs() 1980 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch); in onCharsToGlyphs() [all …]
|
D | SkFontHost_FreeType.cpp | 679 FT_UInt glyphIndex; in getGlyphToUnicodeMap() local 680 SkUnichar charCode = FT_Get_First_Char(face, &glyphIndex); in getGlyphToUnicodeMap() 681 while (glyphIndex) { in getGlyphToUnicodeMap() 682 SkASSERT(glyphIndex < SkToUInt(numGlyphs)); in getGlyphToUnicodeMap() 684 if (0 == dstArray[glyphIndex]) { in getGlyphToUnicodeMap() 685 dstArray[glyphIndex] = charCode; in getGlyphToUnicodeMap() 687 charCode = FT_Get_Next_Char(face, charCode, &glyphIndex); in getGlyphToUnicodeMap()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | E_B_L_C_.py | 437 indexingOffsets = [glyphIndex * offsetDataSize for glyphIndex in range(numGlyphs+2)] 556 indexingOffsets = [glyphIndex * codeOffsetPairSize for glyphIndex in range(numGlyphs+2)]
|
/external/skia/src/sfnt/ |
D | SkOTTable_glyf.h | 154 SK_OT_USHORT glyphIndex; member
|
/external/skqp/src/sfnt/ |
D | SkOTTable_glyf.h | 154 SK_OT_USHORT glyphIndex; member
|
/external/sfntly/doc/ |
D | SfntlyCPlusPlusNotes.md | 59 glyphIndex = *(&idRangeOffset[i] + idRangeOffset[i] / 2 + (c - startCode[i])) 67 glyphIndex = idDelta[i] + c
|
/external/skqp/modules/skshaper/src/ |
D | SkShaper_harfbuzz.cpp | 753 int glyphIndex = glyphIterator.fGlyphIndex; in shape() local 787 ? glyphIndex + 1 in shape()
|