Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-09-13 | Consistently drop filter chain upon error. | Sebastian Rasmussen | |
2017-09-13 | Remove old workaround. | Sebastian Rasmussen | |
2017-09-13 | Do not lie. | Sebastian Rasmussen | |
2017-09-12 | Fix leaks upon error while copying array/dict. | Sebastian Rasmussen | |
2017-09-08 | Update fz_separations equivalent color mechanism. | Robin Watts | |
Incorporates fixes from Michael. Rather than specifically giving it rgb and cmyk values, separations now include the colorspace. Conversions can then be done into ANY colorspace we need. Note, that we maintain the old way of working for the gproof device. Also, fix pdf_page_separations to correctly find all separations. This involves recursively looking through colorspaces, forms and shadings for colorspaces therein, making sure we don't run into any circular references. We do 2 passes, so that we can pick up as many colorants as Separations as possible. On the second pass we pick up any colorants we missed in terms of DeviceN spaces. The purpose of this is to try to ensure that we get as many tint transforms as single input functions as we can. This may not be important in the grand scheme of things, but seems neater. | |||
2017-09-08 | Remove unnecessary fz_try()/fz_catch(). | Sebastian Rasmussen | |
2017-09-07 | Use dict_put_drop/array_push_drop wherever possible. | Sebastian Rasmussen | |
2017-09-07 | Initialize variables to appease clang scan-build. | Sebastian Rasmussen | |
2017-08-31 | Always add newline before 'endstream' keyword for PDF/A compliance. | Philipp Knechtges | |
2017-08-31 | Adjust PDF header for PDF/A compliance. | Philipp Knechtges | |
Remove superfluous '%' character in the comment with binary bytes. | |||
2017-08-31 | Do not deflate metadata (necessary for PDF/A compliance). | Philipp Knechtges | |
2017-08-17 | Fix 698357: Strip alpha and spot channels when saving PDF images. | Tor Andersson | |
The logic for detecting and stripping alpha channels was subtly wrong. Simplify it, and also make it cope with spot colors. | |||
2017-08-17 | Add FZ_REPLACEMENT_CHARACTER define for U+FFFD character. | Tor Andersson | |
2017-08-16 | Bug 698168: Add support for writing indexed images to pdfs. | Sebastian Rasmussen | |
2017-08-16 | Add bits per component parameter for flate and lzw compressed images. | Sebastian Rasmussen | |
2017-08-16 | Add pdf filter parameters to DecodeParms when writing images. | Sebastian Rasmussen | |
2017-08-15 | Avoid using unsupported alternate form printing of hex number. | Sebastian Rasmussen | |
2017-08-09 | Remove redundant (and incomplete) checks when encountering OCGs. | Tor Andersson | |
The checks were duplicated between pdf_process_BDC and pdf_is_hidden_ocg. The checks in the former function were incomplete: they only checked the for OCG type objects and incorrectly discarded OCMD type objects. Remove the checks from pdf_process_BDC and let pdf_is_hidden_ocg handle all of them instead. | |||
2017-08-02 | Bug 698279: Throw exception if xref object number offset too big. | Sebastian Rasmussen | |
2017-07-27 | Remove unnecessary check of colorspace pointer. | Sebastian Rasmussen | |
2017-07-27 | Fix overprint detection in pdf interpreter. | Robin Watts | |
overprint is a boolean, overprint mode is an int. Neither is a name. | |||
2017-07-27 | Avoid leaking colorspace | Robin Watts | |
2017-07-25 | Omit drawing annotations that are not opened. | Sebastian Rasmussen | |
2017-07-25 | Make it possible to check for properties of PDF annotations. | Sebastian Rasmussen | |
2017-07-24 | Fix ordering of quadpoints in highlight synthesis. | Tor Andersson | |
The spec is full of lies. The internal ordering of points in a QuadPoint is not counterclockwise [ll lr ur ul], it's crosswise [ll lr ul ur]. | |||
2017-07-21 | Reuse pattern tiles when running PDF interpreter directly. | Tor Andersson | |
2017-07-21 | Fix 698210: Remove superfluous recursion check in pdf_load_embedded_cmap. | Tor Andersson | |
We already mark and check the usecmap entry where it is loaded. | |||
2017-07-19 | Fix use-after-free of default colorspaces. | Robin Watts | |
2017-07-19 | Add some consts to color conversions. | Robin Watts | |
2017-07-19 | Extend fz_colorspaces to better cope with DeviceN. | Robin Watts | |
We now keep a list of colorant names for every colorspace, along with a an 'is_device_n' flag, set for all separation and deviceN spaces. | |||
2017-07-19 | Rejig page separations interface. | Robin Watts | |
Specifically this is aimed so we can efficiently get separation details for PDF files (which may require a lengthy search process). | |||
2017-07-19 | Fix colorspace leaks with group colorspaces. | Robin Watts | |
2017-07-20 | Use annotation color when synthesizing text annotations. | Sebastian Rasmussen | |
2017-07-20 | Synthesize annotation appearance if normal appearance is absent. | Sebastian Rasmussen | |
Fixes part of bug 697951. | |||
2017-07-17 | Non-isolated groups should use parent color space | Michael Vrhel | |
Even if the group defines a color space, it should be ignored if the group is not isolated. Fixes issue in page 7 of Altona test. | |||
2017-07-17 | Set colorspace name field. | Tor Andersson | |
2017-07-17 | If page has no group then use output intent color space | Michael Vrhel | |
If the document has an output intent but no page group was defined then we should not let the target device color space define what our base group is. Instead we should push a group that uses the target output intent color space. This problem occurs on page 3 of the Altona test file (TextKnockout page). | |||
2017-07-17 | Add colorspace handling to transparency groups | Michael Vrhel | |
Also force softmasks to be isolated groups. | |||
2017-07-06 | fz_var() variables must be initialized before fz_try. | Sebastian Rasmussen | |
2017-07-06 | pdf: Avoid leaking indirect object upon error. | Sebastian Rasmussen | |
2017-07-06 | pdf: Drop object upon error while renumbering objects. | Sebastian Rasmussen | |
2017-07-06 | pdf: Drop cmap object in case of exception. | Sebastian Rasmussen | |
2017-07-06 | pdf: If js interpreter fails, avoid loading document js. | Sebastian Rasmussen | |
2017-07-06 | pdf: Drop font descriptor in case of error. | Sebastian Rasmussen | |
2017-07-06 | Drop pdf processor graphics state upon error. | Sebastian Rasmussen | |
2017-07-06 | pdf: Drop the collection schema dictionary in case of error. | Sebastian Rasmussen | |
2017-07-04 | Remove is_static from fz_new{,_icc}_colorspace. | Robin Watts | |
No longer required, and causes leaks. Also, fix some reference counting problems with colorspaces. | |||
2017-07-03 | Avoid leaking an fz_stream for every unknown crypt handler. | Robin Watts | |
2017-07-03 | Don't leak cmap->tree if we abort cmap loading before sort. | Robin Watts | |
2017-06-29 | pdf: Drop appearance stream content buffer upon error. | Sebastian Rasmussen | |