Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-07 | Avoid scavenging 0 bytes from store when allocating 0 bytes. | Sebastian Rasmussen | |
2017-08-07 | Set custom allocator for JBIG2 library. | Sebastian Rasmussen | |
2017-08-07 | Set custom memory allocator for FreeType. | Sebastian Rasmussen | |
2017-07-27 | Add text format document writer. | Tor Andersson | |
Improve HTML output using absolute positioning, and add XHTML output for simpler semantic html output. | |||
2017-07-27 | Add fz_write_base64 function. | Tor Andersson | |
2017-07-27 | Use "DeviceRGB" name for ICC based device colorspaces too. | Tor Andersson | |
2017-07-27 | Fix clearing of cmyk + spots pixmaps. | Robin Watts | |
2017-07-27 | Fix issue in alpha indexing | Michael Vrhel | |
Spot colors were getting bogus (typically 0xcd) alpha applied to them during drawing. | |||
2017-07-27 | Fix upper bounds checks on lerp image painting. | Robin Watts | |
2017-07-21 | Rename shadowing flag variable to reduce potential confusion. | Tor Andersson | |
2017-07-21 | Allow caching of rendered tiles when using the display list. | Tor Andersson | |
2017-07-21 | Only try caching tiles once. | Tor Andersson | |
Don't try to re-cache a tile we fetched from the cache. | |||
2017-07-21 | Distinguish hash slot overwrite cases. | Tor Andersson | |
2017-07-21 | Remove (now needless) extern strlen declaration. | Tor Andersson | |
A leftover from when fz_write_string was a static inline in a header file. | |||
2017-07-21 | Add 'mutool trace' command. | Tor Andersson | |
2017-07-20 | Fix fz_clear_pixmap to allow for spots (and CMYK). | Robin Watts | |
2017-07-19 | Add some consts to color conversions. | Robin Watts | |
2017-07-19 | Update blend debugging code to save pixmaps as PSDs if required. | Robin Watts | |
PNGs can't represent spots, or CMYK, so use PSD. | |||
2017-07-19 | Update band writer (especially PSD) to cope with spots | Robin Watts | |
PSD writer now outputs spot colors. Ensure subtractive colorspaces are stored with proper polarity. The CMYK and spot components need to be 255-X in the PSD format Store PSD format resources using correct Pascal style strings. Photoshop will fail to open if the the ICC profile resource name is not in proper format. (Incorporates fixes from Michael). | |||
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 | Add knowledge of spots to color conversions. | Robin Watts | |
2017-07-19 | Add spots to fz_pixmaps. | Robin Watts | |
Update separations interface further to cope with whether spots should be rendered separately, or as composite colors. | |||
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 | Keep fz_store_hash to declared size. | Robin Watts | |
Could shrink this further, but we can't go below another 4 bytes so it's not worth it. | |||
2017-07-19 | Update LCMS2 to LCMS2ART to reflect our fork. | Robin Watts | |
Pull in latest lcms2 fixes, and update our fork to be lcms2art. | |||
2017-07-17 | Debug blending | Robin Watts | |
2017-07-17 | Remove local variables from fz_draw_clip_image_mask | Robin Watts | |
They serve no good purpose except to require "fz_var"ing and to get out of sync. | |||
2017-07-17 | Switch order of fz_dump_blend arguments. | Robin Watts | |
Otherwise it confuses me every single time. Also correct the output in fz_draw_clip_image_mask. We are rendering onto .mask, not .dest, so that's the one we should debug. | |||
2017-07-17 | Fix fz_copy_pixmap_rect to work properly in all cases. | Robin Watts | |
2017-07-17 | Complement subtractive colors before applying blend modes. | Tor Andersson | |
(Incorporates fixes from Tor, Michael and Robin). | |||
2017-07-17 | Set colorspace name field. | Tor Andersson | |
2017-07-17 | Add colorspace handling to transparency groups | Michael Vrhel | |
Also force softmasks to be isolated groups. | |||
2017-07-17 | Support non-separable blending in gray color spaces | Michael Vrhel | |
Also make sure to support the cases where the background alpha is 0 for non-isolated groups. | |||
2017-07-17 | Fix softlight blend mode. Make nonseparable blends work with CMYK | Michael 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-17 | Rid the world of fz_ensure_pixmap_is_additive. | Robin Watts | |
No longer required since we flipped subtractive spaces. | |||
2017-07-17 | Don't convert cmyka images to rgba | Michael 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-17 | Fix issues in alpha removal during color management | Michael Vrhel | |
During code refactor a few bugs were introduced. | |||
2017-07-17 | Make sure CMYK ICC color spaces are subtractive | Michael Vrhel | |
2017-07-17 | Fix shape handling in draw-device. | Robin Watts | |
2017-07-10 | Fix 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-06 | fz_var() variables must be initialized before fz_try. | Sebastian Rasmussen | |
2017-07-06 | png: Drop pixmap when not writing an image without pixels. | 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 jpx structure if corrupt file. | Robin Watts | |
2017-07-03 | Memento: 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-30 | Tweak Memento: make ref counting advance events. | Robin Watts | |
2017-06-29 | Fix typos in blend mode maths comment. | Robin Watts | |
2017-06-29 | Harfbuzz 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-27 | When PS/PNG band writers throw, end the deflate streams if open. | Sebastian Rasmussen | |
2017-06-27 | Avoid inconsistently freeing PS band writer upon error. | Sebastian Rasmussen | |