summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-17Set colorspace name field.Tor Andersson
2017-07-17If page has no group then use output intent color spaceMichael 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-17Add colorspace handling to transparency groupsMichael Vrhel
Also force softmasks to be isolated groups.
2017-07-17Support non-separable blending in gray color spacesMichael Vrhel
Also make sure to support the cases where the background alpha is 0 for non-isolated groups.
2017-07-17Fix softlight blend mode. Make nonseparable blends work with CMYKMichael Vrhel
Softlight blend mode was broken as the constants were not properly scaled for 255 arithmetic. The nonseparable blending code needs to do special handling of K when the color space is CMYK.
2017-07-17Rid the world of fz_ensure_pixmap_is_additive.Robin Watts
No longer required since we flipped subtractive spaces.
2017-07-17Don't convert cmyka images to rgbaMichael Vrhel
We should handle the cmyka images in their native form now that we are holding the data inverted. Fixes fts_17_1700.pdf Also fixes fts_43xx.xps
2017-07-17Fix issues in alpha removal during color managementMichael Vrhel
During code refactor a few bugs were introduced.
2017-07-17Make sure CMYK ICC color spaces are subtractiveMichael Vrhel
2017-07-17Fix shape handling in draw-device.Robin Watts
2017-07-11Disable parallel interpretation/rendering if threads are disabled.Sebastian Rasmussen
2017-07-11Drop unused page/display list if threading not enabled.Sebastian Rasmussen
2017-07-10Make threading a compile-time option and propagate it to all tools.Sebastian Rasmussen
Also fix a typo causing the help message not to be shown when threading is enabled.
2017-07-10Declare variable only used in one file static.Sebastian Rasmussen
2017-07-10Fix bug when cloning color management in context.Sebastian Rasmussen
Creating a new color management instance requires the colorspace to be set, or else the cloning will not take place. This results in segfaults when converting a color later on. This was reproduced when running mudraw with multiple threads.
2017-07-06fz_var() variables must be initialized before fz_try.Sebastian Rasmussen
2017-07-06pdf: Avoid leaking indirect object upon error.Sebastian Rasmussen
2017-07-06pdf: Drop object upon error while renumbering objects.Sebastian Rasmussen
2017-07-06png: Drop pixmap when not writing an image without pixels.Sebastian Rasmussen
2017-07-06pdf: Drop cmap object in case of exception.Sebastian Rasmussen
2017-07-06pdfapp: Warn when outline fails to load.Sebastian Rasmussen
2017-07-06pdf: If js interpreter fails, avoid loading document js.Sebastian Rasmussen
2017-07-06pdfapp: Handle PDF javascript not loading.Sebastian Rasmussen
2017-07-06pdf: Drop font descriptor in case of error.Sebastian Rasmussen
2017-07-06Drop pdf processor graphics state upon error.Sebastian Rasmussen
2017-07-06pdf: Drop the collection schema dictionary in case of error.Sebastian Rasmussen
2017-07-04Mudraw: Avoid bounding pages twice when outputting text.Robin Watts
2017-07-04mjsgen: Handle errors gracefully.Sebastian Rasmussen
2017-07-04Add mjsgen to things to build so it is not forgotten.Sebastian Rasmussen
2017-07-04mjsgen: Add context to all interface calls.Sebastian Rasmussen
2017-07-04Fix possible leaks if fz_bound_page throws.Robin Watts
(Seen in testing with tests_private/svg/w3-svgs/preserveAspectRatio.svg)
2017-07-04Remove 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-04Avoid losing dev if error thrown in mudraw. Solves leaks.Robin Watts
2017-07-03Avoid leaking an fz_stream for every unknown crypt handler.Robin Watts
2017-07-03Don't leak fz_image if xps fails to parse tiling brush.Robin Watts
2017-07-03Don't leak cmap->tree if we abort cmap loading before sort.Robin Watts
2017-07-03Avoid leaking jpx structure if corrupt file.Robin Watts
2017-07-03Memento: pointer checking functions.Robin Watts
Add some helpful functions for doing quick checks on pointer validity. Use these in the reference counting functions.
2017-06-30Tweak Memento: make ref counting advance events.Robin Watts
2017-06-29Fix typos in blend mode maths comment.Robin Watts
2017-06-29Harfbuzz tweaks.Robin Watts
Avoid defining any functions/variables beginning with hb_ to avoid potential namespace clashes. Clarify language about why the Harfbuzz workarounds are needed.
2017-06-29html: Drop buffers in case of error.Sebastian Rasmussen
2017-06-29pdf: Drop appearance stream content buffer upon error.Sebastian Rasmussen
2017-06-28Throw on overly long PDF names.Sebastian Rasmussen
The architectural limit is 127 bytes according to the PDF specification.
2017-06-28Always drop xml in case of error in HTML processing.Sebastian Rasmussen
2017-06-28jni: Avoid freeing data buffer twice in case of error.Sebastian Rasmussen
fz_new_buffer_from_data() will take ownership of the data buffer given to it and frees it upon error.
2017-06-28xps: Always drop page resources upon error parsing page or canvas.Sebastian Rasmussen
2017-06-28xps: Make sure to drop path and stroke state in case of error.Sebastian Rasmussen
2017-06-28Always drop repaired dictionary in case of error.Sebastian Rasmussen
2017-06-27When PS/PNG band writers throw, end the deflate streams if open.Sebastian Rasmussen