Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-14 | Bug 699110: Fix Antialiased renderer to look at correct scale factor. | Robin Watts | |
Rather than looking at their individual scale factors, they were looking at the global one. | |||
2018-03-14 | Bug 699109: Fix overwrites with COP renderer. | Robin Watts | |
2018-03-13 | Bug 698963: Fix dash rendering. | Robin Watts | |
When rendering dash lines with a dash pattern that starts with a length of zero, the first dash should be of zero length. If we are using round caps, this should actually show up! | |||
2018-03-12 | Bug 699106: Correct progress figures when using display_list. | Robin Watts | |
The progress figures did not correctly add up to progress_max. Now they do. In addition, if we abort, the progress figure will accurately indicate how far we got. | |||
2018-03-12 | Ensure we pass AA options to draw device and set text_bits appropriately. | Tor Andersson | |
aa.text_bits should be 0 when using the 'any' or 'center' rasterizers. | |||
2018-03-07 | Distinguish between simple and CID font resources in cache. | Tor Andersson | |
2018-02-27 | Fix 699076: Scoping bug in png_write_band. | Tor Andersson | |
2018-02-27 | Remove pdf_xobject wrapper struct. | Tor Andersson | |
Just use the pdf_obj directly. Revise ap_iteration and split annot->dirty into separate flags. One flag for needs_new_ap, and one for has_new_ap (to be used by clients who may have cached a rendered annotation). | |||
2018-02-27 | Use fz_point for pdf_set_annot_ink_list and vertices too. | Tor Andersson | |
2018-02-27 | Improve line ending style accessors. | Tor Andersson | |
2018-02-27 | Add annotation QuadPoints creation functions. | Tor Andersson | |
2018-02-27 | Add annotation Line access functions. | Tor Andersson | |
2018-02-27 | Add annotation Vertices creation functions. | Tor Andersson | |
2018-02-27 | Add annotation InkList creation functions. | Tor Andersson | |
2018-02-27 | Get border width from BS/W if Border is missing. | Tor Andersson | |
2018-02-27 | Return correct default icon names for optional annotation property. | Tor Andersson | |
2018-02-27 | Don't set a (useless) rectangle when creating annotations. | Tor Andersson | |
2018-02-27 | Fix fz_expand_rect in presence of empty rectangles. | Tor Andersson | |
2018-02-27 | Add fz_expand_irect function. | Tor Andersson | |
2018-02-27 | Add fz_translate_rect helper function. | Tor Andersson | |
2018-02-27 | svg: Fix circle/ellipse drawing. | Tor Andersson | |
2018-02-27 | Fix bug in pdfshow (confusion between indirect/resolved streams). | Tor Andersson | |
2018-02-27 | Remove typedef in favor of explicit enum keyword. | Tor Andersson | |
Avoids the silliness of fz_annot_type pdf_annot_type(). | |||
2018-02-27 | Fix bug in pdf_annot_icon_name. | Tor Andersson | |
2018-02-27 | Print newline at end of pdf_debug_obj. | Tor Andersson | |
2018-02-27 | Don't use constants larger than will fit in a signed int in enum. | Tor Andersson | |
2018-02-27 | Use text encoding for pdf_choice_widget options and values. | Tor Andersson | |
Adds a requirement on the caller to free the returned strings. | |||
2018-02-27 | Use proper encoding for pdf_field_value and update_field_value. | Tor Andersson | |
2018-02-27 | Accept NULL in fz_drop_output. | Tor Andersson | |
2018-02-27 | Recognize Adobe illustrator files as PDF format. | Tor Andersson | |
2018-02-23 | Include a font's style in its name. | Paul Gardiner | |
We were previously using the font's family as its name. Now if only one of family and style are defined we use that. If both are present we concatenate family and style with an intervening space, unless style already has family as a prefix, in which case we just use the style. Better would be to use the font's full name, but that is more difficult to obtain via the freetype API. | |||
2018-02-14 | Remember to end knockout group when drawing image. | Sebastian Rasmussen | |
2018-02-14 | Bug 698890: Remember to end groups when showing images. | Sebastian Rasmussen | |
2018-02-13 | Bug 698901: Drop pixmaps/knockout group upon error when ending group. | Sebastian Rasmussen | |
Previously the call to fz_convert_pixmap() threw causing a destination pixmap leak. This illustrated a bigger issue with the error handling so now all types of pixmaps are dropped and care is taken to also end the knockout group, should there be any. | |||
2018-02-13 | Avoid revisiting the same page tree node repeatedly. | Sebastian Rasmussen | |
Only attempt to progress to new page tree nodes if a new node to process has actually been found. Previously if e.g. doc.findPage(1) was called in murun for a single page document the error message was "cycle in page tree" because the single page tree node was visited twice. Now the error message is "cannot find page 1 in page tree", which is more accurate. | |||
2018-02-13 | Add JNI and JS bindings to layer device calls. | Tor Andersson | |
2018-02-13 | Add fz_begin_layer/fz_end_layer. | Robin Watts | |
Call these from the PDF interpreter. Make the DisplayList and Trace devices cope. Use these in the SVG output device. | |||
2018-02-13 | mutool extract: Don't save raw CMYK jpegs when the -r flag is enabled. | Tor Andersson | |
2018-02-13 | Use indirect references when pre-loading image resources. | Tor Andersson | |
Don't use directly loaded objects; since the image code assumes that you always use an indirect reference to the dictionary/stream. | |||
2018-02-13 | Bug 699018: Null terminate buffer in fz_snprintf() even if too short. | Sebastian Rasmussen | |
Previously the trailing null terminator would not be written if the formatted string ended up longer than the buffer. | |||
2018-02-12 | jbig2: Improve error message. | Sebastian Rasmussen | |
2018-02-12 | jbig2 globals are streams, this implies indirect references. | Sebastian Rasmussen | |
Previously mupdf would attempt to load any indirect reference, whether it was a stream or not. | |||
2018-02-12 | Bug 698998: Avoid recursion when opening jbig2 image streams. | Sebastian Rasmussen | |
Previously the JBIG2 globals object might be indirect and if that reference pointed to the object containing the stream itself then mupdf would recurse until running out of error stack. Thanks to oss-fuzz for reporting. | |||
2018-02-12 | Expose detailed PDF permissions. | Tor Andersson | |
2018-02-12 | Fix changed annotations not marked as dirty | Paul Gardiner | |
Events such as mouse up/down can cause a change to the appearance of a widget annotation. That the change has happened is flagged by incrementing the iteration count of the appearance stream. The widget is then recognised as dirty when the ap_iteration value, stored in the pdf_widget structure, differs from the appearance stream's actual iteration. This commit removes a line of code that wrongly reset the iteration to 1 each time load_or_create_form was called, hence masking the widget being dirty. | |||
2018-02-08 | Bug 698996: Disallow "" as owner password unless user password also "". | Robin Watts | |
2018-02-08 | Add 'null' output device so we can remove NULL checks in hot functions. | Tor Andersson | |
2018-02-08 | Add FZ_DEBUG_HTML option to EPUB parser. | Tor Andersson | |
2018-02-08 | Fix 698991: The pdf_is_stream call is too generous. | Tor Andersson | |
It should only return true for indirect references that are actually streams, not just any array/dict that is contained in a stream object. | |||
2018-02-08 | Fix 698918: Use encryption when doing initial object formatting to count the ↵ | Tor Andersson | |
length. |