Home
last modified time | relevance | path

Searched refs:pFontData (Results 1 – 8 of 8) sorted by relevance

/external/pdfium/core/fxge/
Dcfx_fontmgr.cpp63 int GetTTCIndex(const uint8_t* pFontData, in GetTTCIndex() argument
66 const uint8_t* p = pFontData + 8; in GetTTCIndex()
70 p = pFontData + 12 + index * 4; in GetTTCIndex()
121 uint8_t** pFontData) { in GetCachedFace() argument
127 *pFontData = pFontDesc->FontData(); in GetCachedFace()
158 uint8_t** pFontData) { in GetCachedTTCFace() argument
164 *pFontData = pFontDesc->FontData(); in GetCachedTTCFace()
222 const uint8_t** pFontData, in GetBuiltinFont() argument
225 *pFontData = g_FoxitFonts[index].m_pFontData; in GetBuiltinFont()
231 *pFontData = g_MMFonts[mm_index].m_pFontData; in GetBuiltinFont()
Dcfx_fontmapper.cpp374 const uint8_t* pFontData = nullptr; in UseInternalSubst() local
376 if (m_pFontMgr->GetBuiltinFont(iBaseFont, &pFontData, &size)) { in UseInternalSubst()
377 m_FoxitFaces[iBaseFont] = m_pFontMgr->GetFixedFace(pFontData, size, 0); in UseInternalSubst()
390 const uint8_t* pFontData = nullptr; in UseInternalSubst() local
392 m_pFontMgr->GetBuiltinFont(14, &pFontData, &size); in UseInternalSubst()
393 m_MMFaces[1] = m_pFontMgr->GetFixedFace(pFontData, size, 0); in UseInternalSubst()
399 const uint8_t* pFontData = nullptr; in UseInternalSubst() local
401 m_pFontMgr->GetBuiltinFont(15, &pFontData, &size); in UseInternalSubst()
402 m_MMFaces[0] = m_pFontMgr->GetFixedFace(pFontData, size, 0); in UseInternalSubst()
760 uint8_t* pFontData; in GetCachedTTCFace() local
[all …]
Dcfx_fontmgr.h30 uint8_t** pFontData);
40 uint8_t** pFontData);
57 bool GetBuiltinFont(size_t index, const uint8_t** pFontData, uint32_t* size);
/external/pdfium/core/fpdfapi/page/
Dcpdf_docpagedata.cpp125 CPDF_CountedFont* pFontData = nullptr; in GetFont() local
128 pFontData = it->second; in GetFont()
129 if (pFontData->get()) { in GetFont()
130 return pFontData->AddRef(); in GetFont()
138 if (pFontData) { in GetFont()
139 pFontData->reset(std::move(pFont)); in GetFont()
141 pFontData = new CPDF_CountedFont(std::move(pFont)); in GetFont()
142 m_FontMap[pFontDict] = pFontData; in GetFont()
144 return pFontData->AddRef(); in GetFont()
199 CPDF_CountedFont* pFontData = it->second; in ReleaseFont() local
[all …]
/external/pdfium/core/fxge/apple/
Dfx_quartz_device.cpp51 void* CQuartz2D::CreateFont(const uint8_t* pFontData, uint32_t dwFontSize) { in CreateFont() argument
53 nullptr, pFontData, static_cast<size_t>(dwFontSize), nullptr); in CreateFont()
Dapple_int.h25 void* CreateFont(const uint8_t* pFontData, uint32_t dwFontSize);
/external/pdfium/xfa/fwl/theme/
Dcfwl_widgettp.cpp321 auto pFontData = pdfium::MakeUnique<CFWL_FontData>(); in FindFont() local
322 if (!pFontData->LoadFont(wsFontFamily, dwFontStyles, wCodePage)) in FindFont()
325 m_FontsArray.push_back(std::move(pFontData)); in FindFont()
/external/pdfium/core/fpdfapi/font/
Dcpdf_font.cpp223 const uint8_t* pFontData = m_pFontFile->GetData(); in LoadFontDescriptor() local
225 if (!m_Font.LoadEmbedded(pFontData, dwFontSize)) { in LoadFontDescriptor()