Commit Graph

5 Commits (062af7cb948f88f73b177b09d9a3da2f84a7cd64)

Author SHA1 Message Date
chrox 631f56bc78 add screen dpi property in koptcontext 12 years ago
chrox f981b70ac0 add multi-threaded precache
Because the lua reader is single threaded on which both user inputloop
and background page rendering is processed. Although there is a pretty
good precache system to save user's time spending on waiting for the
rendering when going to the next page, user input is indeed blocked when
running the precache thing. The situation is even worse in koptreader as
reflowing on page would usually take several second, in this period
users cannot move to the next page view even it's already in the cache.
This patch will let precache run in the background in a seperate thread
so that the koptreader is still responsive when precaching the next
page. Now it only just works. Welcome to find out bugs in it.
12 years ago
chrox 44361faeee build libk2pdfopt as a shared library 12 years ago
chrox 97066cfdb0 feature: add bbox support in koptreader
Reflow can be configured to use bbox which could remove
side comments and defects in the margin and get much better reflowed
page in some documents. Currently the bbox is only set in PDFReader or
DJVUReader reader. But eventually there will be bbox setting routines in
KOPTReader.
Thirdparty should be cleaned and refetched and remake to get
this feature in operation.
12 years ago
chrox f70ef06ea6 use koptcontext to keep dozons of parameters for k2pdfopt 12 years ago