Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-07 | Make compression bomb detection optional. | Tor Andersson | |
2018-11-07 | pnm: Take alpha into account when skipping over image data. | Sebastian Rasmussen | |
2018-11-07 | Fix double header output in muraster. | Robin Watts | |
Also fiddle the #ifdeffery to get sane defaults. | |||
2018-11-07 | Add explicit jmp_buf dereferencing to allow using fz_try from C++. | Tor Andersson | |
2018-11-07 | Handle bogus font ascender and descender values. | Tor Andersson | |
2018-11-07 | Fix 700030: Use actual font glyph widths when extracting text. | Tor Andersson | |
Only use the PDF character widths when also stretching glyphs to match the PDF metrics. | |||
2018-11-07 | Fix 700030: Tweak text extraction space adding heuristics. | Tor Andersson | |
Ignore space-sized backward motions. Assume that these motions are either extreme levels of kerning, or something else fishy going on. | |||
2018-11-07 | Fix 700131: Reverse ctl+wheel zoom direction. | Tor Andersson | |
Behave like Firefox, Gimp, etc. | |||
2018-11-07 | Fix 700053: Add 'decrypt' option to pdf_save_document. | Tor Andersson | |
This option is exposed as the -D flag to mutool clean. Allow saving a document without encryption. The next step is to allow saving a document with new encryption, but this may require a fair amount of rejigging since the PDF write code to keep separate doc->crypt objects for decryption and encryption. | |||
2018-11-07 | Fix writing encrypted PDF files with 'decompress' option. | Tor Andersson | |
2018-11-07 | Fix 700043: Don't assume a font is t3 just because fz_outline_glyph fails. | Tor Andersson | |
2018-11-06 | Update AFParseDateEx to handle dates as a contiguous string of digits. | Paul Gardiner | |
Update to match Adobe Reader's behaviour. This fixes bug #700128. | |||
2018-11-01 | Bug 700040: tar: Handle posix, ustar and v7 tar formats. | Sebastian Rasmussen | |
These formats are all almost identical to GNU tar format. | |||
2018-10-26 | Guard all calls to the passthrough device in the test device. | Sebastian Rasmussen | |
Without guards the device calls might end up with a device pointer being NULL, causing segfaults. | |||
2018-10-26 | Drop documents while exception progressing files in mutool merge. | Sebastian Rasmussen | |
2018-10-26 | Avoid dropping stream/color converter twice upon exception. | Sebastian Rasmussen | |
2018-10-26 | Fix Page.search() to return a Quad[], not a Rect[]. | Fred Ross-Perry | |
Fix DisplayList.search() to return a Quad[], not a Rect[]. Add a Rect constructor that takes a Quad. Modify the sample Java viewer accordingly. This is necessary to (partially) fix SmartOffice bug #700031. | |||
2018-10-26 | Rewrite try/always/catch macros to allow fz_context to be opaque. | Tor Andersson | |
Hide fz_stack_slot and exception handling details too. Also make sure we have an initialized jmp_buf so we can safely throw from the always block even in the exception stack overflow case. | |||
2018-10-26 | Use 14 bits of precision for image drawing, to allow for larger images. | Tor Andersson | |
Now the image size limit is 131072 x 131072 instead of 32768 x 32768. | |||
2018-10-25 | Make fixed point math precision in image drawing a #define. | Tor Andersson | |
2018-10-25 | Handle premultiplied alpha in generic pixmap color conversion. | Tor Andersson | |
2018-10-25 | Handle premultiplied alpha in pixmap color conversions (CMYK only). | Tor Andersson | |
2018-10-25 | Fix asserts and checks in fast_xxx_to_yyy functions. | Tor Andersson | |
fast_rgb_to_cmyk had || instead of && so always triggered incorrectly. Only throw, no need to both assert and throw. | |||
2018-10-25 | Add and use fz_convert_pixmap_samples helper function. | Tor Andersson | |
2018-10-25 | Drop SLOWCMYK path. | Tor Andersson | |
If you want accurate CMYK, don't build with FZ_ENABLE_ICC=0. | |||
2018-10-25 | Make alpha channel unmultiply and premultiply utility functions public. | Tor Andersson | |
2018-10-25 | Guard loading embedded ICC profiles in images with FZ_ENABLE_ICC. | Tor Andersson | |
Stops all the extra errors and warnings about missing ICC support. | |||
2018-10-25 | Rename NO_ICC to FZ_ENABLE_ICC=0|1 to match other config.h options. | Tor Andersson | |
2018-10-24 | Pass context to fz_paint_image to allow for printing warnings. | Tor Andersson | |
2018-10-24 | Since fz_end_group may throw, don't call it inside fz_always. | Sebastian Rasmussen | |
If running the page throws an exception, we don't need to call end_group since the page interpretation is aborted and won't be finished. | |||
2018-10-24 | Do run processor clip stack balancing in close (not drop) callback. | Tor Andersson | |
The close callback should make sure everything is cleanly shut down. The drop callback frees leftover memory when shutting down either cleanly or when aborting processing due to errors. | |||
2018-10-24 | Purge TRYLATER stuff from XPS interpreter. | Sebastian Rasmussen | |
This is untested code, that has likely bitrotted. | |||
2018-10-24 | Drop page upon exception verifying page signatures. | Sebastian Rasmussen | |
2018-10-24 | Drop page upon exception while loading hinted page. | Sebastian Rasmussen | |
2018-10-23 | Drop indirect reference upon exception. | Sebastian Rasmussen | |
2018-10-23 | Drop document upon exception when opening zip. | Sebastian Rasmussen | |
2018-10-23 | Drop SVG document upon exception opening directory. | Sebastian Rasmussen | |
2018-10-23 | Drop document upon exception opening directory. | Sebastian Rasmussen | |
Or problem allocating a new html font set. | |||
2018-10-23 | Drop coords upon exception cloning path. | Sebastian Rasmussen | |
2018-10-23 | fz_end_page() may throw exception, handle that and free page. | Sebastian Rasmussen | |
2018-10-23 | Drop pixmap upon exception allocating draw device. | Sebastian Rasmussen | |
2018-10-23 | Remove unnecessary exception handling. | Sebastian Rasmussen | |
2018-10-23 | Drop hash table upon exception. | Sebastian Rasmussen | |
2018-10-23 | Drop page upon exception cleaning content streams. | Sebastian Rasmussen | |
2018-10-23 | Don't clobber old xref section when pdf_replace_xref fails. | Sebastian Rasmussen | |
2018-10-23 | Drop new object upon exception grafting objects. | Sebastian Rasmussen | |
2018-10-23 | Avoid fz_var declaration of variable. | Sebastian Rasmussen | |
2018-10-23 | Drop state and context upon exception. | Sebastian Rasmussen | |
2018-10-23 | Throw when page number is out of range. | Sebastian Rasmussen | |
Other code depends on this and does not handle a page pointer being NULL well. | |||
2018-10-23 | Remember to drop group colorspace. | Sebastian Rasmussen | |