Home
last modified time | relevance | path

Searched refs:m_GlyphIndex (Results 1 – 17 of 17) sorted by relevance

/external/pdfium/core/fpdfapi/font/
Dcpdf_truetypefont.cpp76 m_GlyphIndex[charcode] = 0; in LoadGlyphMap()
79 m_GlyphIndex[charcode] = nGlyph; in LoadGlyphMap()
98 m_GlyphIndex[charcode] = in LoadGlyphMap()
106 m_GlyphIndex[charcode] = in LoadGlyphMap()
108 if (m_GlyphIndex[charcode]) in LoadGlyphMap()
113 m_GlyphIndex[charcode] = FXFT_Get_Char_Index( in LoadGlyphMap()
119 m_GlyphIndex[charcode] = in LoadGlyphMap()
122 m_GlyphIndex[charcode] = in LoadGlyphMap()
127 if ((m_GlyphIndex[charcode] != 0 && m_GlyphIndex[charcode] != 0xffff) || in LoadGlyphMap()
132 m_GlyphIndex[charcode] = FXFT_Get_Char_Index(m_Font.GetFace(), 32); in LoadGlyphMap()
[all …]
Dcpdf_type1font.cpp137 m_GlyphIndex[charcode] = in LoadGlyphMap()
142 if (m_GlyphIndex[charcode]) { in LoadGlyphMap()
151 memcpy(m_ExtGID, m_GlyphIndex, 256); in LoadGlyphMap()
167 m_GlyphIndex[charcode] = FXFT_Get_Char_Index( in LoadGlyphMap()
172 if (m_GlyphIndex[charcode] == 0 && strcmp(name, ".notdef") == 0) { in LoadGlyphMap()
174 m_GlyphIndex[charcode] = FXFT_Get_Char_Index(m_Font.GetFace(), 0x20); in LoadGlyphMap()
182 memcpy(m_ExtGID, m_GlyphIndex, 256); in LoadGlyphMap()
195 m_GlyphIndex[charcode] = in LoadGlyphMap()
199 m_GlyphIndex[charcode] = in LoadGlyphMap()
202 if (m_GlyphIndex[charcode]) { in LoadGlyphMap()
[all …]
Dcpdf_simplefont.cpp16 memset(m_GlyphIndex, 0xff, sizeof(m_GlyphIndex)); in CPDF_SimpleFont()
31 int index = m_GlyphIndex[charcode]; in GlyphFromCharCode()
45 int glyph_index = m_GlyphIndex[charcode]; in LoadCharMetrics()
152 if (m_GlyphIndex[i] != 0xffff && m_pFontFile) in LoadCommon()
156 m_GlyphIndex[i] = m_GlyphIndex[j]; in LoadCommon()
Dcpdf_simplefont.h42 uint16_t m_GlyphIndex[256]; variable
/external/pdfium/core/fpdfapi/render/
Dcpdf_charposlist.cpp40 charpos.m_GlyphIndex = pFont->GlyphFromCharCode(CharCode, &bVert); in Load()
41 uint32_t GlyphID = charpos.m_GlyphIndex; in Load()
53 charpos.m_GlyphIndex = pFont->FallbackGlyphFromCharcode( in Load()
57 charpos.m_ExtGID = charpos.m_GlyphIndex; in Load()
74 pCurrentFont ? pCurrentFont->GetGlyphWidth(charpos.m_GlyphIndex) : 0; in Load()
Dcpdf_renderstatus.cpp2043 font->LoadGlyphPath(charpos.m_GlyphIndex, charpos.m_FontCharWidth); in DrawTextPathWithPattern()
/external/pdfium/fxbarcode/oned/
DBC_OneDimWriter.cpp160 charPos[0].m_GlyphIndex = encoding->GlyphFromCharCode(pCharCode[0]); in CalcTextInfo()
161 charPos[0].m_FontCharWidth = cFont->GetGlyphWidth(charPos[0].m_GlyphIndex); in CalcTextInfo()
163 charPos[0].m_ExtGID = charPos[0].m_GlyphIndex; in CalcTextInfo()
168 charPos[i].m_GlyphIndex = encoding->GlyphFromCharCode(pCharCode[i]); in CalcTextInfo()
169 charPos[i].m_FontCharWidth = cFont->GetGlyphWidth(charPos[i].m_GlyphIndex); in CalcTextInfo()
171 charPos[i].m_ExtGID = charPos[i].m_GlyphIndex; in CalcTextInfo()
/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.cpp84 uint32_t m_GlyphIndex; member
542 pPSFont->m_Glyphs[j].m_GlyphIndex == charpos.m_GlyphIndex && in FindPSFontGlyph()
584 pPSFont->m_Glyphs[glyphindex].m_GlyphIndex = charpos.m_GlyphIndex; in FindPSFontGlyph()
603 pFont, charpos.m_GlyphIndex, charpos.m_FontCharWidth); in FindPSFontGlyph()
Dfx_win32_print.cpp310 wsText += charpos.m_GlyphIndex; in DrawDeviceText()
/external/pdfium/xfa/fgas/layout/
Dcfx_rtfbreak.cpp730 pCharPos->m_GlyphIndex = wch; in GetDisplayPos()
732 pCharPos->m_GlyphIndex = pFont->GetGlyphIndex(wForm); in GetDisplayPos()
733 if (pCharPos->m_GlyphIndex == 0xFFFF) in GetDisplayPos()
734 pCharPos->m_GlyphIndex = pFont->GetGlyphIndex(wch); in GetDisplayPos()
737 pCharPos->m_ExtGID = pCharPos->m_GlyphIndex; in GetDisplayPos()
Dcfx_txtbreak.cpp830 pCharPos->m_GlyphIndex = pFont->GetGlyphIndex(wForm); in GetDisplayPos()
832 pCharPos->m_ExtGID = pCharPos->m_GlyphIndex; in GetDisplayPos()
/external/pdfium/core/fxge/apple/
Dfx_apple_platform.cpp64 pCharPos[i].m_ExtGID ? pCharPos[i].m_ExtGID : pCharPos[i].m_GlyphIndex; in CGDrawGlyphRun()
/external/pdfium/xfa/fde/
Dcfde_textout.cpp72 pFont->GetSubstFont(static_cast<int32_t>(pCharPos->m_GlyphIndex)); in DrawString()
73 pCharPos->m_GlyphIndex &= 0x00FFFFFF; in DrawString()
/external/pdfium/core/fxge/skia/
Dfx_skia_device_unittest.cpp40 charPos[0].m_GlyphIndex = 1; in CommonTest()
Dfx_skia_device.cpp873 m_glyphs[index + count] = static_cast<uint16_t>(cp.m_GlyphIndex); in DrawText()
1597 glyphs[index] = static_cast<uint16_t>(cp.m_GlyphIndex); in DrawDeviceText()
/external/pdfium/core/fxge/
Dcfx_renderdevice.h78 uint32_t m_GlyphIndex; variable
Dcfx_renderdevice.cpp355 m_GlyphIndex(0), in FXTEXT_CHARPOS()
962 charpos.m_GlyphIndex, charpos.m_bFontStyle, &new_matrix, in DrawNormalText()
966 charpos.m_GlyphIndex, charpos.m_bFontStyle, &deviceCtm, in DrawNormalText()
1108 pFont->LoadGlyphPath(charpos.m_GlyphIndex, charpos.m_FontCharWidth); in DrawTextPath()