Home
last modified time | relevance | path

Searched refs:m_Font (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font.cpp145 bVertWriting = m_Font.IsVertical(); in IsVertWriting()
294 m_Font.LoadEmbedded(pFontData, dwFontSize); in LoadFontDescriptor()
295 if (m_Font.m_Face == NULL) { in LoadFontDescriptor()
311 if (m_Font.m_Face) { in CheckFontMetrics()
312 m_FontBBox.left = TT2PDF(FXFT_Get_Face_xMin(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
313 m_FontBBox.bottom = TT2PDF(FXFT_Get_Face_yMin(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
314 m_FontBBox.right = TT2PDF(FXFT_Get_Face_xMax(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
315 m_FontBBox.top = TT2PDF(FXFT_Get_Face_yMax(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
316 m_Ascent = TT2PDF(FXFT_Get_Face_Ascender(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
317 m_Descent = TT2PDF(FXFT_Get_Face_Descender(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
[all …]
Dfpdf_font_cid.cpp942 if (m_Font.GetFace()) { in _Load()
944 FXFT_Select_Charmap(m_Font.GetFace(), FXFT_ENCODING_UNICODE); in _Load()
946 FT_UseCIDCharmap(m_Font.GetFace(), m_pCMap->m_Coding); in _Load()
1011 if (m_Font.m_Face == NULL) { in GetCharBBox()
1015 FXFT_Face face = m_Font.m_Face; in GetCharBBox()
1133 int index = FXFT_Get_Char_Index(m_Font.m_Face, unicode ); in GetGlyphIndex()
1149 if (NULL == m_Font.m_pGsubData) { in GetGlyphIndex()
1151 …int error = FXFT_Load_Sfnt_Table( m_Font.m_Face, FT_MAKE_TAG('G', 'S', 'U', 'B'), 0, NULL, &length… in GetGlyphIndex()
1153 m_Font.m_pGsubData = (unsigned char*)FX_Alloc(FX_BYTE, length); in GetGlyphIndex()
1156 …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/
Dfpdf_render_text.cpp589 &pFont->m_Font, pCache, font_size, pText2User, pUser2Device, in DrawTextPath()
684 …return pDevice->DrawNormalText(CharPosList.m_nChars, CharPosList.m_pCharPos, &pFont->m_Font, pCach… in DrawNormalText()
712 CFX_FaceCache* pFaceCache = pCache->GetCachedFace(&pFont->m_Font); in DrawTextPathWithPattern()
713 FX_FONTCACHE_DEFINE(pCache, &pFont->m_Font); in DrawTextPathWithPattern()
718 const CFX_PathData* pPath = pFaceCache->LoadGlyphPath(&pFont->m_Font, charpos.m_GlyphIndex, in DrawTextPathWithPattern()
742 if (m_Font.m_Face == NULL) { in LoadGlyphPath()
745 return m_Font.LoadGlyphPath(glyph_index, dest_width); in LoadGlyphPath()
/external/pdfium/core/src/reflow/
Dreflowedpage.cpp475 charpos.m_FontCharWidth = pPDFFont->m_Font.GetGlyphWidth(charpos.m_GlyphIndex); in Display()
490 bRet = m_pFXDevice->DrawNormalText(1, &charpos, &(pPDFFont->m_Font), in Display()
494 bRet = m_pFXDevice->DrawNormalText(1, &charpos, &(pPDFFont->m_Font), in Display()
/external/pdfium/core/include/fpdfapi/
Dfpdf_resource.h97 return m_Font.GetSubstFont(); in GetSubstFont()
155 return m_Font.GetFace(); in GetFace()
249 CFX_Font m_Font; variable