Searched refs:m_Font (Results 1 – 5 of 5) sorted by relevance
/external/pdfium/core/src/fpdfapi/fpdf_font/ |
D | fpdf_font.cpp | 146 bVertWriting = m_Font.IsVertical(); in IsVertWriting() 295 m_Font.LoadEmbedded(pFontData, dwFontSize); in LoadFontDescriptor() 296 if (m_Font.m_Face == NULL) { in LoadFontDescriptor() 312 if (m_Font.m_Face) { in CheckFontMetrics() 313 m_FontBBox.left = TT2PDF(FXFT_Get_Face_xMin(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics() 314 m_FontBBox.bottom = TT2PDF(FXFT_Get_Face_yMin(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics() 315 m_FontBBox.right = TT2PDF(FXFT_Get_Face_xMax(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics() 316 m_FontBBox.top = TT2PDF(FXFT_Get_Face_yMax(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics() 317 m_Ascent = TT2PDF(FXFT_Get_Face_Ascender(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics() 318 m_Descent = TT2PDF(FXFT_Get_Face_Descender(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics() [all …]
|
D | fpdf_font_cid.cpp | 1056 if (m_Font.GetFace()) { in _Load() 1058 FXFT_Select_Charmap(m_Font.GetFace(), FXFT_ENCODING_UNICODE); in _Load() 1060 FT_UseCIDCharmap(m_Font.GetFace(), m_pCMap->m_Coding); in _Load() 1125 if (m_Font.m_Face == NULL) { in GetCharBBox() 1129 FXFT_Face face = m_Font.m_Face; in GetCharBBox() 1247 int index = FXFT_Get_Char_Index(m_Font.m_Face, unicode ); in GetGlyphIndex() 1263 if (NULL == m_Font.m_pGsubData) { in GetGlyphIndex() 1265 …int error = FXFT_Load_Sfnt_Table( m_Font.m_Face, FT_MAKE_TAG('G', 'S', 'U', 'B'), 0, NULL, &length… in GetGlyphIndex() 1267 m_Font.m_pGsubData = (unsigned char*)FX_Alloc(FX_BYTE, length); in GetGlyphIndex() 1270 …int error = FXFT_Load_Sfnt_Table( m_Font.m_Face, FT_MAKE_TAG('G', 'S', 'U', 'B'), 0, m_Font.m_pGsu… in GetGlyphIndex() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_text.cpp | 603 &pFont->m_Font, pCache, font_size, pText2User, pUser2Device, in DrawTextPath() 698 …return pDevice->DrawNormalText(CharPosList.m_nChars, CharPosList.m_pCharPos, &pFont->m_Font, pCach… in DrawNormalText() 726 CFX_FaceCache* pFaceCache = pCache->GetCachedFace(&pFont->m_Font); in DrawTextPathWithPattern() 727 FX_FONTCACHE_DEFINE(pCache, &pFont->m_Font); in DrawTextPathWithPattern() 732 const CFX_PathData* pPath = pFaceCache->LoadGlyphPath(&pFont->m_Font, charpos.m_GlyphIndex, in DrawTextPathWithPattern() 756 if (m_Font.m_Face == NULL) { in LoadGlyphPath() 759 return m_Font.LoadGlyphPath(glyph_index, dest_width); in LoadGlyphPath()
|
/external/pdfium/core/include/fpdfapi/ |
D | fpdf_resource.h | 84 return m_Font.GetSubstFont(); in GetSubstFont() 142 return m_Font.GetFace(); in GetFace() 234 CFX_Font m_Font; variable
|
/external/pdfium/core/src/reflow/ |
D | reflowedpage.cpp | 478 charpos.m_FontCharWidth = pPDFFont->m_Font.GetGlyphWidth(charpos.m_GlyphIndex); in Display() 493 bRet = m_pFXDevice->DrawNormalText(1, &charpos, &(pPDFFont->m_Font), in Display() 497 bRet = m_pFXDevice->DrawNormalText(1, &charpos, &(pPDFFont->m_Font), in Display()
|