Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/font/
Dcpdf_type1font.cpp149 m_GlyphIndex[charcode] = in LoadGlyphMap()
154 if (m_GlyphIndex[charcode]) { in LoadGlyphMap()
163 memcpy(m_ExtGID, m_GlyphIndex, sizeof(m_ExtGID)); in LoadGlyphMap()
179 m_GlyphIndex[charcode] = FT_Get_Char_Index( in LoadGlyphMap()
184 if (m_GlyphIndex[charcode] == 0 && strcmp(name, ".notdef") == 0) { in LoadGlyphMap()
186 m_GlyphIndex[charcode] = FT_Get_Char_Index(m_Font.GetFaceRec(), 0x20); in LoadGlyphMap()
195 pdfium::make_span(m_GlyphIndex)); in LoadGlyphMap()
209 m_GlyphIndex[charcode] = FT_Get_Name_Index(m_Font.GetFaceRec(), name); in LoadGlyphMap()
212 m_GlyphIndex[charcode] = in LoadGlyphMap()
215 FT_Get_Glyph_Name(m_Font.GetFaceRec(), m_GlyphIndex[charcode], in LoadGlyphMap()
[all …]
Dcpdf_truetypefont.cpp78 m_GlyphIndex[charcode] = in LoadGlyphMap()
84 m_GlyphIndex[charcode] = GetGlyphIndexForMSSymbol(face, charcode); in LoadGlyphMap()
87 m_GlyphIndex[charcode] = in LoadGlyphMap()
94 m_GlyphIndex[charcode] = FT_Get_Name_Index(face, name); in LoadGlyphMap()
96 m_GlyphIndex[charcode] = FT_Get_Char_Index(face, maccode); in LoadGlyphMap()
100 if ((m_GlyphIndex[charcode] != 0 && m_GlyphIndex[charcode] != 0xffff) || in LoadGlyphMap()
105 m_GlyphIndex[charcode] = FT_Get_Char_Index(face, 32); in LoadGlyphMap()
108 m_GlyphIndex[charcode] = FT_Get_Name_Index(face, name); in LoadGlyphMap()
109 if (m_GlyphIndex[charcode] != 0 || !bToUnicode) in LoadGlyphMap()
114 m_GlyphIndex[charcode] = FT_Get_Char_Index(face, wsUnicode[0]); in LoadGlyphMap()
[all …]
Dcpdf_simplefont.cpp41 memset(m_GlyphIndex, 0xff, sizeof(m_GlyphIndex)); in CPDF_SimpleFont()
55 int index = m_GlyphIndex[charcode]; in GlyphFromCharCode()
69 int glyph_index = m_GlyphIndex[charcode]; in LoadCharMetrics()
249 if (m_GlyphIndex[i] != 0xffff && m_pFontFile) in LoadCommon()
253 m_GlyphIndex[i] = m_GlyphIndex[j]; in LoadCommon()
Dcpdf_simplefont.h53 uint16_t m_GlyphIndex[kInternalTableSize]; variable
/external/pdfium/core/fpdfapi/render/
Dcharposlist.cpp113 text_char_pos.m_GlyphIndex = in GetCharPosList()
115 uint32_t glyph_id = text_char_pos.m_GlyphIndex; in GetCharPosList()
120 : text_char_pos.m_GlyphIndex; in GetCharPosList()
130 text_char_pos.m_GlyphIndex = in GetCharPosList()
133 text_char_pos.m_ExtGID = text_char_pos.m_GlyphIndex; in GetCharPosList()
149 current_font->GetGlyphWidth(text_char_pos.m_GlyphIndex); in GetCharPosList()
Dcpdf_renderstatus.cpp1064 font->LoadGlyphPath(charpos.m_GlyphIndex, charpos.m_FontCharWidth); in DrawTextPathWithPattern()
/external/pdfium/fxbarcode/oned/
DBC_OneDimWriter.cpp133 charPos[0].m_GlyphIndex = encoding->GlyphFromCharCode(charcodes[0]); in CalcTextInfo()
134 charPos[0].m_FontCharWidth = cFont->GetGlyphWidth(charPos[0].m_GlyphIndex); in CalcTextInfo()
136 charPos[0].m_ExtGID = charPos[0].m_GlyphIndex; in CalcTextInfo()
141 charPos[i].m_GlyphIndex = encoding->GlyphFromCharCode(charcodes[i]); in CalcTextInfo()
142 charPos[i].m_FontCharWidth = cFont->GetGlyphWidth(charPos[i].m_GlyphIndex); in CalcTextInfo()
144 charPos[i].m_ExtGID = charPos[i].m_GlyphIndex; in CalcTextInfo()
/external/pdfium/core/fxge/
Dtext_char_pos.h23 uint32_t m_GlyphIndex = 0; variable
Dcfx_renderdevice.cpp1098 charpos.m_GlyphIndex, charpos.m_bFontStyle, matrix, in DrawNormalText()
1216 pFont->LoadGlyphPath(charpos.m_GlyphIndex, charpos.m_FontCharWidth); in DrawTextPath()
/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.cpp653 if (glyph.font == pFont && glyph.glyph_index == charpos.m_GlyphIndex && in FindPSFontGlyph()
674 m_PSFontList.push_back(std::make_unique<Glyph>(pFont, charpos.m_GlyphIndex)); in FindPSFontGlyph()
706 pFont, charpos.m_GlyphIndex, charpos.m_FontCharWidth); in FindPSFontGlyph()
791 uint8_t hi = char_pos[i].m_GlyphIndex / 256; in DrawTextAsType42Font()
792 uint8_t lo = char_pos[i].m_GlyphIndex % 256; in DrawTextAsType42Font()
/external/pdfium/xfa/fgas/layout/
Dcfgas_rtfbreak.cpp766 current_char_pos.m_GlyphIndex = pFont->GetGlyphIndex(wForm); in GetDisplayPos()
767 if (current_char_pos.m_GlyphIndex == 0xFFFF) in GetDisplayPos()
768 current_char_pos.m_GlyphIndex = pFont->GetGlyphIndex(wch); in GetDisplayPos()
770 current_char_pos.m_ExtGID = current_char_pos.m_GlyphIndex; in GetDisplayPos()
Dcfgas_txtbreak.cpp810 pCharPos->m_GlyphIndex = pFont->GetGlyphIndex(wForm); in GetDisplayPos()
812 pCharPos->m_ExtGID = pCharPos->m_GlyphIndex; in GetDisplayPos()
/external/pdfium/core/fxge/apple/
Dfx_apple_impl.cpp61 pCharPos[i].m_ExtGID ? pCharPos[i].m_ExtGID : pCharPos[i].m_GlyphIndex; in CGDrawGlyphRun()
/external/pdfium/xfa/fde/
Dcfde_textout.cpp79 pFont->GetSubstFont(static_cast<int32_t>(pos.m_GlyphIndex)); in DrawString()
80 pos.m_GlyphIndex &= 0x00FFFFFF; in DrawString()
/external/pdfium/core/fxge/skia/
Dfx_skia_device_embeddertest.cpp47 charPos[0].m_GlyphIndex = 1; in CommonTest()
Dfx_skia_device.cpp930 cp.m_GlyphIndex, cp.m_FontCharWidth, subst_font_weight); in DrawDeviceText()
964 glyphs[index] = static_cast<uint16_t>(cp.m_GlyphIndex); in DrawDeviceText()
1042 m_charDetails.SetGlyphAt(cur_index, static_cast<uint16_t>(cp.m_GlyphIndex)); in TryDrawText()
/external/pdfium/fpdfsdk/
Dfpdf_edittext.cpp843 pCfxFont->LoadGlyphPath(pos[0].m_GlyphIndex, pos[0].m_FontCharWidth); in FPDFFont_GetGlyphPath()