CMap file

This commit is contained in:
Kulikova Svetlana
2022-12-12 15:28:29 +03:00
parent 5d57702985
commit 044c8b59c2
15 changed files with 251 additions and 397 deletions

View File

@ -101,6 +101,12 @@ CPdfReader::~CPdfReader()
RELEASEOBJECT(globalParams);
RELEASEINTERFACE(m_pFontManager);
}
void CPdfReader::SetCMapData(BYTE* pData, DWORD nSizeData)
{
#ifdef CMAP_USE_MEMORY
((GlobalParamsAdaptor*)globalParams)->CMapDataFromMemory(pData, nSizeData);
#endif
}
bool CPdfReader::LoadFromFile(NSFonts::IApplicationFonts* pAppFonts, const std::wstring& wsSrcPath, const std::wstring& wsOwnerPassword, const std::wstring& wsUserPassword)
{
RELEASEINTERFACE(m_pFontManager);