Home
last modified time | relevance | path

Searched refs:pFontStream (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/xfa/src/fgas/src/font/
Dfx_stdfontmgr.cpp222 IFX_Font* CFX_StdFontMgrImp::LoadFont(IFX_Stream* pFontStream, in LoadFont() argument
227 FXSYS_assert(pFontStream != NULL && pFontStream->GetLength() > 0); in LoadFont()
229 if (m_StreamFonts.Lookup((void*)pFontStream, (void*&)pFont)) { in LoadFont()
239 pFont = IFX_Font::LoadFont(pFontStream, this, bSaveStream); in LoadFont()
242 m_StreamFonts.SetAt((void*)pFontStream, (void*)pFont); in LoadFont()
616 IFX_FileRead* pFontStream = NULL; in EnumFonts() local
619 pFontStream = pFontSource->CreateFileStream(FX_FILEMODE_ReadOnly); in EnumFonts()
620 if (NULL == pFontStream) { in EnumFonts()
624 if (NULL == (pFace = LoadFace(pFontStream, 0))) { in EnumFonts()
625 pFontStream->Release(); in EnumFonts()
[all …]
Dfx_gefont.cpp62 IFX_Font* IFX_Font::LoadFont(IFX_Stream* pFontStream, in LoadFont() argument
67 return pFontMgr->LoadFont(pFontStream, 0, NULL); in LoadFont()
72 if (!pFont->LoadFont(pFontStream, bSaveStream)) { in LoadFont()
282 FX_BOOL CFX_GEFont::LoadFont(IFX_Stream* pFontStream, FX_BOOL bSaveStream) { in LoadFont() argument
283 if (m_pFont || m_pFileRead || !pFontStream || pFontStream->GetLength() < 1) { in LoadFont()
288 m_pStream = pFontStream; in LoadFont()
290 m_pFileRead = FX_CreateFileRead(pFontStream); in LoadFont()
Dfx_gdifont.cpp75 IFX_Font* IFX_Font::LoadFont(IFX_Stream* pFontStream, in LoadFont() argument
79 if (!pFont->LoadFont(pFontStream)) { in LoadFont()
247 FX_BOOL CFX_GdiFont::LoadFont(IFX_Stream* pFontStream) { in LoadFont() argument
248 FXSYS_assert(m_hFont == NULL && pFontStream != NULL); in LoadFont()
249 int32_t iLength = pFontStream->GetLength(); in LoadFont()
254 iLength = pFontStream->ReadData(pBuf, iLength); in LoadFont()
Dfx_stdfontmgr.h38 virtual IFX_Font* LoadFont(IFX_Stream* pFontStream,
178 virtual IFX_Font* LoadFont(IFX_Stream* pFontStream,
213 FXFT_Face LoadFace(IFX_FileRead* pFontStream, int32_t iFaceIndex);
Dfx_gefont.h26 FX_BOOL LoadFont(IFX_Stream* pFontStream, FX_BOOL bSaveStream);
Dfx_gdifont.h40 FX_BOOL LoadFont(IFX_Stream* pFontStream);
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_doc.cpp548 CPDF_Stream* pFontStream) { in GetFontFileStreamAcc() argument
549 ASSERT(pFontStream); in GetFontFileStreamAcc()
551 auto it = m_FontFileMap.find(pFontStream); in GetFontFileStreamAcc()
555 CPDF_Dictionary* pFontDict = pFontStream->GetDict(); in GetFontFileStreamAcc()
563 pFontFile->LoadAllData(pFontStream, FALSE, org_size); in GetFontFileStreamAcc()
566 m_FontFileMap[pFontStream] = ftData; in GetFontFileStreamAcc()
570 void CPDF_DocPageData::ReleaseFontFileStreamAcc(CPDF_Stream* pFontStream, in ReleaseFontFileStreamAcc() argument
572 if (!pFontStream) in ReleaseFontFileStreamAcc()
575 auto it = m_FontFileMap.find(pFontStream); in ReleaseFontFileStreamAcc()
Dpageint.h346 CPDF_StreamAcc* GetFontFileStreamAcc(CPDF_Stream* pFontStream);
347 void ReleaseFontFileStreamAcc(CPDF_Stream* pFontStream,
/external/pdfium/xfa/src/fgas/include/
Dfx_fnt.h60 static IFX_Font* LoadFont(IFX_Stream* pFontStream,
164 virtual IFX_Font* LoadFont(IFX_Stream* pFontStream,
255 virtual IFX_Font* LoadFont(IFX_Stream* pFontStream,