mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-18 10:30:19 +08:00
Refacrtoring wasm module
This commit is contained in:
@ -147,7 +147,7 @@ namespace NSHtmlRenderer
|
||||
RELEASEOBJECT(m_pInternal);
|
||||
}
|
||||
|
||||
void CHTMLRendererText::Init(IOfficeDrawingFile* pFile)
|
||||
void CHTMLRendererText::Init(IOfficeDrawingFile* pFile, int nCacheSize)
|
||||
{
|
||||
m_pInternal->m_oBrush.SetDefaultParams();
|
||||
m_pInternal->m_oLastBrush.SetDefaultParams();
|
||||
@ -207,7 +207,7 @@ namespace NSHtmlRenderer
|
||||
}
|
||||
|
||||
m_pInternal->m_bIsFontsInit = true;
|
||||
m_pInternal->m_oSmartText.Init(pFile->GetFonts());
|
||||
m_pInternal->m_oSmartText.Init(pFile->GetFonts(), nCacheSize);
|
||||
}
|
||||
|
||||
m_pInternal->m_oPage.ClearNoAttack();
|
||||
|
||||
Reference in New Issue
Block a user