Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-13 | Use first character's bbox even if it is empty. | Tor Andersson | |
Otherwise we get unsightly [0 0 0 0] bounding boxes for lines with a single zero area character. | |||
2018-11-13 | Bug 697206: Tweak when to use the PDF font metrics in fz_advance_glyph. | Tor Andersson | |
Only use the PDF font metrics for stretched substitute fonts, in all other cases, trust the embedded font file instead. | |||
2018-11-13 | Bug 700143: Ignore duplicate text objects in text extraction. | Tor Andersson | |
Rendering modes like fill+stroke or fill+stroke+clip send the same text object multiple times. Only extract the text from the first instance. | |||
2018-11-12 | Bug 699992: Use feBlend filters in SVG output for PDF blendings. | Robin Watts | |
This doesn't cover all the PDF options, but it's better than nothing. This does mean we have to "enable-background" for all SVG files whether they use blending or not. | |||
2018-11-08 | Fix 699343: Skip spaces before data in DCTDecode filter. | Tor Andersson | |
2018-11-08 | Fix 699352: Call begin_layer for all marked content in PDF. | Tor Andersson | |
Since we call end_layer without distinction, we should also call begin_layer the same way. Also change the XML to emit separate tags for beginning and ending a layer, since there is no guarantee the layer calls will be neatly nested with clipping pushes and pops; nor is there a guarantee that the PDF will even balance the BMC/BDC and EMC operators. | |||
2018-11-07 | Fix typo. | Tor Andersson | |
2018-11-07 | Fix 698971: Detect ICC colorspace mismatch in TIFF loader. | Tor Andersson | |
Make sure that the ICC colorspace has the same number of components as the photometric interpretation. | |||
2018-11-07 | Fix 700140: Ask LCMS transform to copy alpha channels. | Tor Andersson | |
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 | 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 700043: Don't assume a font is t3 just because fz_outline_glyph fails. | Tor Andersson | |
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 | Avoid dropping stream/color converter twice upon exception. | Sebastian Rasmussen | |
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-23 | Drop coords upon exception cloning path. | 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 | Fix cleanup upon exception in the tiff filters. | Sebastian Rasmussen | |
2018-10-23 | Remove extra blank lines. | Tor Andersson | |
2018-10-23 | Dynamically allocate colorspace name, to allow arbitrary lengths. | Sebastian Rasmussen | |
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. | |||
2018-10-18 | Bug 699971. Fix bad read of mask type from display list. | Robin Watts | |
We pack the mask type and the color parameters into a byte. We were unpacking it incorrectly, resulting in all masks being treated as luminosity ones. | |||
2018-10-18 | Bug 699967: Follow ons. | Robin Watts | |
1) Reset the margins at the start of each PCL job to avoid offsetting the page contents. 2) Fix height/band_height confusion in mono band writing. | |||
2018-10-18 | Bug 699967: Fix crash with wide format output to color PCL. | Robin Watts | |
Writing to wide format output was causing uncompressed lines of more than 32K to be written to a 32K buffer. I now recognise that there is an inherent limitation in PCL where image data can't be larger than 32K, so we'll have to split page output into subimages and hope they register well enough. This new commit does that (and solves the overwrite). I am seeing problems when feeding the output from this into gpcl due to the delta compression. We believe this is a bug in gpcl, and is being investigated as bug 699969. | |||
2018-10-15 | Update lcms2 to lcms2mt. | Robin Watts | |
Pull in the latest changes from mainline lcms2, and bugfixes from gs. This should now be the definitive version. | |||
2018-10-12 | Corrected stream reference counting. | Sebastian Rasmussen | |
2018-10-12 | Drop separation pixmap upon exception. | Sebastian Rasmussen | |
2018-10-12 | Set separation reference count early. | Sebastian Rasmussen | |
This makes it easier to test failure inside the succeeding fz_try(). | |||
2018-10-12 | Revert to no CMM if the new CMM engine fails midway. | Sebastian Rasmussen | |
The exception is still thrown, however. This just ensures that CMM is not left in an unknown state. |