Commit Graph

11 Commits (fbbdc8dfc0b8f3529d98129c03055759eb64a186)

Author SHA1 Message Date
HW fbbdc8dfc0 Adapted to latest muPDF code. Makes code a bit slicker. 13 years ago
HW ac010ea325 reworked freeing pdf document resources 13 years ago
HW 0bfdb9c44a added freeing of document resources 13 years ago
HW a466be9834 fixed blitting bug 13 years ago
HW dfbdad5cbf Added support for odd render area width 13 years ago
HW 04772ea3ee enable garbage collection for pdfpage and ft_face 13 years ago
HW be1327e302 prepare zoom-to-content 13 years ago
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.
13 years ago
HW d10b73d81a fixed non-initialization bug for dc->gamma 13 years ago
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).
13 years ago
HW 0c24e3c7e0 initial project, basic reader working 13 years ago