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.cpp81 m_GlyphIndex[charcode] = 0; in LoadGlyphMap()
84 m_GlyphIndex[charcode] = nGlyph; in LoadGlyphMap()
103 m_GlyphIndex[charcode] = in LoadGlyphMap()
111 m_GlyphIndex[charcode] = FT_Get_Char_Index(face, unicode); in LoadGlyphMap()
112 if (m_GlyphIndex[charcode]) in LoadGlyphMap()
117 m_GlyphIndex[charcode] = in LoadGlyphMap()
124 m_GlyphIndex[charcode] = FXFT_Get_Name_Index(face, name); in LoadGlyphMap()
126 m_GlyphIndex[charcode] = FT_Get_Char_Index(face, maccode); in LoadGlyphMap()
130 if ((m_GlyphIndex[charcode] != 0 && m_GlyphIndex[charcode] != 0xffff) || in LoadGlyphMap()
135 m_GlyphIndex[charcode] = FT_Get_Char_Index(face, 32); in LoadGlyphMap()
[all …]
Dcpdf_type1font.cpp150 m_GlyphIndex[charcode] = in LoadGlyphMap()
155 if (m_GlyphIndex[charcode]) { in LoadGlyphMap()
164 memcpy(m_ExtGID, m_GlyphIndex, 256); in LoadGlyphMap()
180 m_GlyphIndex[charcode] = FT_Get_Char_Index( in LoadGlyphMap()
185 if (m_GlyphIndex[charcode] == 0 && strcmp(name, ".notdef") == 0) { in LoadGlyphMap()
187 m_GlyphIndex[charcode] = FT_Get_Char_Index(m_Font.GetFaceRec(), 0x20); in LoadGlyphMap()
195 memcpy(m_ExtGID, m_GlyphIndex, 256); in LoadGlyphMap()
208 m_GlyphIndex[charcode] = in LoadGlyphMap()
212 m_GlyphIndex[charcode] = in LoadGlyphMap()
215 if (m_GlyphIndex[charcode]) { in LoadGlyphMap()
[all …]
Dcpdf_simplefont.cpp35 memset(m_GlyphIndex, 0xff, sizeof(m_GlyphIndex)); in CPDF_SimpleFont()
49 int index = m_GlyphIndex[charcode]; in GlyphFromCharCode()
63 int glyph_index = m_GlyphIndex[charcode]; in LoadCharMetrics()
234 if (m_GlyphIndex[i] != 0xffff && m_pFontFile) in LoadCommon()
238 m_GlyphIndex[i] = m_GlyphIndex[j]; in LoadCommon()
Dcpdf_simplefont.h47 uint16_t m_GlyphIndex[256]; variable
/external/pdfium/core/fpdfapi/render/
Dcpdf_charposlist.cpp35 charpos.m_GlyphIndex = pFont->GlyphFromCharCode(CharCode, &bVert); in CPDF_CharPosList()
36 uint32_t GlyphID = charpos.m_GlyphIndex; in CPDF_CharPosList()
41 : charpos.m_GlyphIndex; in CPDF_CharPosList()
49 charpos.m_GlyphIndex = pFont->FallbackGlyphFromCharcode( in CPDF_CharPosList()
52 charpos.m_GlyphIndex == static_cast<uint32_t>(-1)) { in CPDF_CharPosList()
64 charpos.m_GlyphIndex = 0; in CPDF_CharPosList()
73 charpos.m_ExtGID = charpos.m_GlyphIndex; in CPDF_CharPosList()
93 pCurrentFont ? pCurrentFont->GetGlyphWidth(charpos.m_GlyphIndex) : 0; in CPDF_CharPosList()
Dcpdf_renderstatus.cpp1148 font->LoadGlyphPath(charpos.m_GlyphIndex, charpos.m_FontCharWidth); in DrawTextPathWithPattern()
/external/pdfium/fxbarcode/oned/
DBC_OneDimWriter.cpp136 charPos[0].m_GlyphIndex = encoding->GlyphFromCharCode(charcodes[0]); in CalcTextInfo()
137 charPos[0].m_FontCharWidth = cFont->GetGlyphWidth(charPos[0].m_GlyphIndex); in CalcTextInfo()
139 charPos[0].m_ExtGID = charPos[0].m_GlyphIndex; in CalcTextInfo()
144 charPos[i].m_GlyphIndex = encoding->GlyphFromCharCode(charcodes[i]); in CalcTextInfo()
145 charPos[i].m_FontCharWidth = cFont->GetGlyphWidth(charPos[i].m_GlyphIndex); in CalcTextInfo()
147 charPos[i].m_ExtGID = charPos[i].m_GlyphIndex; in CalcTextInfo()
/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.cpp29 uint32_t m_GlyphIndex; member
476 pPSFont->m_Glyphs[j].m_GlyphIndex == charpos.m_GlyphIndex && in FindPSFontGlyph()
518 pPSFont->m_Glyphs[glyphindex].m_GlyphIndex = charpos.m_GlyphIndex; in FindPSFontGlyph()
536 pFont, charpos.m_GlyphIndex, charpos.m_FontCharWidth); in FindPSFontGlyph()
Dfx_win32_print.cpp312 wsText += charpos.m_GlyphIndex; in DrawDeviceText()
/external/pdfium/core/fxge/
Dtext_char_pos.h20 uint32_t m_GlyphIndex = 0; variable
Dcfx_renderdevice.cpp936 charpos.m_GlyphIndex, charpos.m_bFontStyle, new_matrix, in DrawNormalText()
940 charpos.m_GlyphIndex, charpos.m_bFontStyle, deviceCtm, in DrawNormalText()
1065 pFont->LoadGlyphPath(charpos.m_GlyphIndex, charpos.m_FontCharWidth); in DrawTextPath()
/external/pdfium/xfa/fgas/layout/
Dcfx_rtfbreak.cpp781 current_char_pos.m_GlyphIndex = pFont->GetGlyphIndex(wForm); in GetDisplayPos()
782 if (current_char_pos.m_GlyphIndex == 0xFFFF) in GetDisplayPos()
783 current_char_pos.m_GlyphIndex = pFont->GetGlyphIndex(wch); in GetDisplayPos()
785 current_char_pos.m_ExtGID = current_char_pos.m_GlyphIndex; in GetDisplayPos()
Dcfx_txtbreak.cpp846 pCharPos->m_GlyphIndex = pFont->GetGlyphIndex(wForm); in GetDisplayPos()
848 pCharPos->m_ExtGID = pCharPos->m_GlyphIndex; in GetDisplayPos()
/external/pdfium/core/fxge/apple/
Dfx_apple_platform.cpp66 pCharPos[i].m_ExtGID ? pCharPos[i].m_ExtGID : pCharPos[i].m_GlyphIndex; in CGDrawGlyphRun()
/external/pdfium/core/fxge/skia/
Dfx_skia_device_embeddertest.cpp42 charPos[0].m_GlyphIndex = 1; in CommonTest()
Dfx_skia_device.cpp919 static_cast<uint16_t>(cp.m_GlyphIndex)); in DrawText()
1700 glyphs[index] = static_cast<uint16_t>(cp.m_GlyphIndex); in DrawDeviceText()
1781 pFont ? pFont->GetGlyphWidth(cp.m_GlyphIndex) : 0; in DrawDeviceText()
/external/pdfium/xfa/fde/
Dcfde_textout.cpp75 pFont->GetSubstFont(static_cast<int32_t>(pos.m_GlyphIndex)); in DrawString()
76 pos.m_GlyphIndex &= 0x00FFFFFF; in DrawString()