This commit is contained in:
Kulikova Svetlana
2022-09-08 18:36:46 +03:00
parent 211ca6c9f7
commit 34b5b7c973
2 changed files with 2 additions and 6 deletions

View File

@ -152,9 +152,9 @@ namespace PdfReader
m_pInternal->m_pFontManager->SetOwnerCache(pMeasurerCache);
pMeasurerCache->SetCacheSize(1);
((GlobalParamsAdaptor*)globalParams)->SetFontManager(m_pInternal->m_pFontManager);
//#ifndef BUILDING_WASM_MODULE
#ifndef BUILDING_WASM_MODULE
globalParams->setupBaseFonts(NULL);
//#endif
#endif
m_eError = errNone;
}