2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00

Merge pull request #258 from dpavlin/cr_cache

use ldomDocCache::init to cache crengine DOM
This commit is contained in:
{Qingping,Dave} Hou 2012-09-09 06:32:28 -07:00
commit 7e20d120db

View File

@ -546,6 +546,8 @@ int luaopen_cre(lua_State *L) {
/* initialize font manager for CREngine */
InitFontManager(lString8());
ldomDocCache::init(lString16("./cr3cache"), 100);
#ifdef DEBUG_CRENGINE
CRLog::setStdoutLogger();
CRLog::setLogLevel(CRLog::LL_DEBUG);