Home
last modified time | relevance | path

Searched refs:iBaseFont (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fxge/
Dcfx_fontmapper.cpp367 int iBaseFont, in UseInternalSubst() argument
371 if (iBaseFont < kNumStandardFonts) { in UseInternalSubst()
372 if (m_FoxitFaces[iBaseFont]) in UseInternalSubst()
373 return m_FoxitFaces[iBaseFont]; in UseInternalSubst()
376 if (m_pFontMgr->GetBuiltinFont(iBaseFont, &pFontData, &size)) { in UseInternalSubst()
377 m_FoxitFaces[iBaseFont] = m_pFontMgr->GetFixedFace(pFontData, size, 0); in UseInternalSubst()
378 return m_FoxitFaces[iBaseFont]; in UseInternalSubst()
435 int iBaseFont = 0; in FindSubstFont() local
449 for (; iBaseFont < 12; iBaseFont++) { in FindSubstFont()
450 if (family == ByteStringView(g_Base14FontNames[iBaseFont])) in FindSubstFont()
[all …]
Dcfx_folderfontinfo.cpp273 for (size_t iBaseFont = 0; iBaseFont < FX_ArraySize(Base14Substs); in GetSubstFont() local
274 iBaseFont++) { in GetSubstFont()
275 if (face == Base14Substs[iBaseFont].m_pName) in GetSubstFont()
276 return GetFont(Base14Substs[iBaseFont].m_pSubstName); in GetSubstFont()
Dcfx_fontmapper.h57 int iBaseFont,
/external/pdfium/core/fxge/win32/
Dfx_win32_device.cpp569 int iBaseFont; in MapFont() local
570 for (iBaseFont = 0; iBaseFont < 12; iBaseFont++) { in MapFont()
571 if (face == ByteStringView(g_Base14Substs[iBaseFont].m_pName)) { in MapFont()
572 face = g_Base14Substs[iBaseFont].m_pWinName; in MapFont()
573 weight = g_Base14Substs[iBaseFont].m_bBold ? FW_BOLD : FW_NORMAL; in MapFont()
574 bItalic = g_Base14Substs[iBaseFont].m_bItalic; in MapFont()