Home
last modified time | relevance | path

Searched refs:glyphIndex (Results 1 – 20 of 20) sorted by relevance

/external/pdfium/fpdfsdk/
Dfpdfedittext.cpp255 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/
Dtexteffects.cpp52 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/
Dtexteffects.cpp52 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/
DSkTextBlob_Reference.bmh31 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;
DSkCanvas_Reference.bmh3959 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/
DSkTextBlob_Reference.bmh31 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;
DSkCanvas_Reference.bmh3902 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/
DSkFontHost_win.cpp2001 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 …]
DSkFontHost_FreeType.cpp639 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/
DSkFontHost_win.cpp2002 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 …]
DSkFontHost_FreeType.cpp639 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/
DSkShaper_primitive.cpp67 int glyphIndex = 0; in linebreak() local
76 accumulatedWidth += advance[glyphIndex++]; in linebreak()
DSkShaper_harfbuzz.cpp1254 int glyphIndex = glyphIterator.fGlyphIndex; in shapeOk() local
1291 ? glyphIndex + 1 in shapeOk()
/external/harfbuzz_ng/src/
Dhb-subset-glyf.cc132 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()
Dhb-subset-plan.cc51 _add_gid_and_children (glyf, (hb_codepoint_t) composite.current->glyphIndex, gids_to_retain); in _add_gid_and_children()
Dhb-ot-glyf-table.hh154 GlyphID glyphIndex; member
/external/fonttools/Lib/fontTools/ttLib/tables/
DE_B_L_C_.py438 indexingOffsets = [glyphIndex * offsetDataSize for glyphIndex in range(numGlyphs+2)]
557 indexingOffsets = [glyphIndex * codeOffsetPairSize for glyphIndex in range(numGlyphs+2)]
/external/skia/src/sfnt/
DSkOTTable_glyf.h154 SK_OT_USHORT glyphIndex; member
/external/skqp/src/sfnt/
DSkOTTable_glyf.h154 SK_OT_USHORT glyphIndex; member
/external/skqp/modules/skshaper/src/
DSkShaper_harfbuzz.cpp753 int glyphIndex = glyphIterator.fGlyphIndex; in shape() local
787 ? glyphIndex + 1 in shape()