Commit 9c84b61c authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

размер кеша для файлов шрифтов - 16

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@63967 954022d7-b5bf-4e40-9824-e11837661b57
parent 3d8dbf0e
......@@ -186,6 +186,7 @@ namespace NSHtmlRenderer
CFontManagerBase() : m_oFont(), m_mapFontPathToProperties(), m_oApplicationFonts()
{
m_oApplicationFonts.Initialize();
m_oApplicationFonts.GetCache()->SetCacheSize(16);
m_pManager = m_oApplicationFonts.GenerateFontManager();
SetDefaultFont(L"Arial");
......
......@@ -52,6 +52,7 @@ namespace NSHtmlRenderer
CASCHTMLRenderer3_Private()
{
m_oApplicationFonts.Initialize();
m_oApplicationFonts.GetCache()->SetCacheSize(16);
m_lLastSavedPage = 0;
m_oDocument.SetUpdater(this);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment