Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2018-10-23 | Fix cleanup upon exception in the tiff filters. | Sebastian Rasmussen | |
2018-10-23 | Reformat list of constants. | Tor Andersson | |
2018-10-23 | Drop the page dictionary upon exception in mutool merge. | Sebastian Rasmussen | |
2018-10-23 | Drop loaded object while writing hint stream. | Sebastian Rasmussen | |
This covers both the case of no error and a thrown exception. | |||
2018-10-23 | Remove extra blank lines. | Tor Andersson | |
2018-10-23 | Drop reference upon exception in mutool extract. | Sebastian Rasmussen | |
2018-10-23 | When copying streams drop resources upon exception. | Sebastian Rasmussen | |
2018-10-23 | murun: Fix cleanup upon exeception when converting PDF array/dict to JS. | Tor Andersson | |
2018-10-23 | Dynamically allocate colorspace name, to allow arbitrary lengths. | Sebastian Rasmussen | |
2018-10-23 | Remember to drop group colorspace. | Sebastian Rasmussen | |
2018-10-23 | Fix text used as clip mask in pdfwrite device. | Tor Andersson | |
Push the clip state, and pass the correct text rendering mode state. | |||
2018-10-23 | Fix leak in pdfwrite pdf_dev_end_mask. | Tor Andersson | |
2018-10-23 | Use DeviceGray colorspace for soft masks in pdfwrite output. | Tor Andersson | |
2018-10-23 | Avoid being smart about keeping only a single reference to the buffer. | Sebastian Rasmussen | |
When pdf_dev_pop() is called it will drop the reference to the buffer. pdf_dev_push_new_buf() will either create a new buffer reference or take a reference to the existing buffer. When pdf_dev_pop() is called unbalance this creates a problem as the top level buffer will be unreferenced too many times. fails-32.pdf | |||
2018-10-23 | Fix typo in pdf write device. | Tor Andersson | |
2018-10-23 | Remove unused variables in output-pcl.c | Tor Andersson | |
2018-10-23 | Add fz_write_pixmap_as_data_uri helper function. | Tor Andersson | |
Also include "data:" schema in the data uri for fz_write_image_as_data_uri. | |||
2018-10-23 | Allow SVG output to keep ID numbers unique across pages. | Tor Andersson | |
This is required if embedding multiple SVG documents in a web page, for example. | |||
2018-10-23 | Don't rely on CSS classes in HTML5 text output. | Tor Andersson | |
This allows the output to be more easily embedded in other HTML documents. |