2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
HW
9ee7afa86d separate DC out of pdf.c and djvu.c (cleanup) 2012-03-19 18:59:36 +01:00
HW
929ea1e703 removed obsolete page rotation handling, closes #70 2012-03-19 18:24:43 +01:00
Qingping Hou
c8f87d5661 fix: remove page number checking in displaying TOC
Former showTOC() method checks the page number in each
entry and only display entry whose page number is greater
than the previous one. However, I think this is too
"clever", we should better leave the TOC untouched to keep
consistent with other pdf readers.
2012-03-16 12:27:27 +08:00
Dobrica Pavlinusic
4a5b12aaa4 fix closeDocument return #34
If we don't return 0 lua just exits on us, breaking return to file
chooser
2012-03-05 18:37:06 +01:00
HW
3c56f50cae switched TOC entry sanitizing to Lua code 2012-03-04 18:59:50 +01:00
Qingping Hou
e42f4ae38e mod: bug fix in reading TOC
change misplaced carriage ret characters (0x0d) in toc entry
to white space (0x20) to avoid displaying empty boxes.
2012-03-02 13:27:44 +08:00
Qingping Hou
e8fa2d50ea mod:update comment in pdf.c 2012-02-27 22:17:17 +08:00
Qingping Hou
ea498e7a5a add: toc menu 2012-02-21 22:30:02 +08:00
Qingping Hou
e60242d3f6 initial demo, only one level support 2012-02-21 21:42:52 +08:00
HW
225fa725db Adapted to latest muPDF changes (xref -> document, memory context) 2012-02-13 20:13:04 +01:00
HW
fbbdc8dfc0 Adapted to latest muPDF code. Makes code a bit slicker. 2012-01-21 19:20:16 +01:00
HW
ac010ea325 reworked freeing pdf document resources 2011-12-08 23:43:10 +01:00
HW
0bfdb9c44a added freeing of document resources 2011-12-08 01:16:40 +01:00
HW
a466be9834 fixed blitting bug 2011-12-08 00:42:02 +01:00
HW
dfbdad5cbf Added support for odd render area width 2011-12-02 00:37:28 +01:00
HW
04772ea3ee enable garbage collection for pdfpage and ft_face 2011-12-01 14:33:17 +01:00
HW
be1327e302 prepare zoom-to-content 2011-11-21 00:40:23 +01:00
HW
c2dd2d9897 switched blitbuffer to 4bpp (from 8bpp alpha + 8bpp gray)
this should allow to cache more, bigger pixmaps. We'll need this for
zoomed-in pages.
2011-11-20 21:29:59 +01:00
HW
d10b73d81a fixed non-initialization bug for dc->gamma 2011-11-16 17:26:34 +01:00
HW
447b9fe2b5 added gamma setting to drawcontext
usage in Lua:
dc:setGamma(1.5)
print(dc:getGamma())

set it to a negative value to disable gamma correction
(since gamma correction will always imply calculations
over the full buffer data).
2011-11-16 01:56:37 +01:00
HW
0c24e3c7e0 initial project, basic reader working 2011-11-14 18:30:16 +01:00