mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
It was doing a full document load to get the cover. It now does the faster "only metadata" load. Also move the trick of setting a default font in CreDocument, so that all callers of document:loadDocument(false) benefit from it. Prevent crash when no cover image is available (even if the cache says it has one, the file may have been updated and doesn't have it anymore).