You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/frontend
chrox 2cd5a083ae fix getAutoBBox failed bug
If getAutoBBox is fed with a blank page the returned bbox will be
much smaller than the native page dimensions. The problem is that
in zoom to 'content*' mode document renderer will try to render
the whole page at a zoom level that can cover the screen with the
bbox region of the page. That's if the blank page size is 3000*4000
and the returned autobbox is 300*400, the screen size is 600*800,
then the page will be rendered in 3000*(600/300)*4000*(800/400)
which is so large that the cache manager will not accept.

This patch just check if the returned autobbox is considerablely
much smaller than the native page dimensions. If so it will return
the manual bbox.

This patch should fix #293. And it's tested with the case provided
by @Markismus in #291.
11 years ago
..
apps/filemanager add hidden file toggle 11 years ago
document fix getAutoBBox failed bug 11 years ago
ui add width param in ToggleSwitch 11 years ago
JSON.lua add json parser library from http://regex.info/blog/ (Public domain license) 11 years ago
cache.lua move defaults.lua to root directory 11 years ago
dbg.lua add DEBUGBT function to traceback certain location 11 years ago
gettext.lua add gettext lua module 11 years ago
math.lua use eight anchor points to adjust bbox 11 years ago
settings.lua Fix bug #119. 11 years ago