/external/pdfium/fpdfsdk/ |
D | fpdfedittext.cpp | 255 uint32_t glyphIndex; in LoadSimpleFont() local 256 uint32_t currentChar = FXFT_Get_First_Char(pFont->GetFace(), &glyphIndex); in LoadSimpleFont() 257 if (currentChar > kMaxSimpleFontChar || glyphIndex == 0) in LoadSimpleFont() 262 widthsArray->AddNew<CPDF_Number>(pFont->GetGlyphWidth(glyphIndex)); in LoadSimpleFont() 264 FXFT_Get_Next_Char(pFont->GetFace(), currentChar, &glyphIndex); in LoadSimpleFont() 266 if (nextChar > kMaxSimpleFontChar || glyphIndex == 0) in LoadSimpleFont() 322 uint32_t glyphIndex; in LoadCompositeFont() local 323 uint32_t currentChar = FXFT_Get_First_Char(pFont->GetFace(), &glyphIndex); in LoadCompositeFont() 325 if (glyphIndex == 0 || currentChar > kMaxUnicode) in LoadCompositeFont() 334 widths[glyphIndex] = pFont->GetGlyphWidth(glyphIndex); in LoadCompositeFont() [all …]
|
/external/skia/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/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/skia/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 | 3902 int glyphIndex = 0; 3907 memcpy(run.glyphs, &glyphs[glyphIndex], sizeof(glyphs[0]) * runLen); 3909 textPos.fX += font.measureText(&glyphs[glyphIndex], sizeof(glyphs[0]) * runLen, 3911 glyphIndex += runLen;
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 2001 int glyphIndex = 0; in onCharsToGlyphs() local 2007 while (glyphIndex < glyphCount) { in onCharsToGlyphs() 2009 int glyphsLeft = SkTMin(glyphCount - glyphIndex, scratchCount); in onCharsToGlyphs() 2019 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs() 2020 glyphIndex += runLength; in onCharsToGlyphs() 2024 while (glyphIndex < glyphCount && currentChar > 0xFFFF) { in onCharsToGlyphs() 2026 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch); in onCharsToGlyphs() 2027 ++glyphIndex; in onCharsToGlyphs() 2028 if (glyphIndex < glyphCount) { in onCharsToGlyphs() 2036 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/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 | 67 int glyphIndex = 0; in linebreak() local 76 accumulatedWidth += advance[glyphIndex++]; in linebreak()
|
D | SkShaper_harfbuzz.cpp | 1254 int glyphIndex = glyphIterator.fGlyphIndex; in shapeOk() local 1291 ? glyphIndex + 1 in shapeOk()
|
/external/harfbuzz_ng/src/ |
D | hb-subset-glyf.cc | 132 if (!plan->new_gid_for_old_gid (iterator.current->glyphIndex, in _update_components() 136 ((OT::glyf::CompositeGlyphHeader *) iterator.current)->glyphIndex.set (new_gid); in _update_components()
|
D | hb-subset-plan.cc | 51 _add_gid_and_children (glyf, (hb_codepoint_t) composite.current->glyphIndex, gids_to_retain); in _add_gid_and_children()
|
D | hb-ot-glyf-table.hh | 154 GlyphID glyphIndex; member
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | E_B_L_C_.py | 438 indexingOffsets = [glyphIndex * offsetDataSize for glyphIndex in range(numGlyphs+2)] 557 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/skqp/modules/skshaper/src/ |
D | SkShaper_harfbuzz.cpp | 753 int glyphIndex = glyphIterator.fGlyphIndex; in shape() local 787 ? glyphIndex + 1 in shape()
|