summaryrefslogtreecommitdiff
path: root/source
AgeCommit message (Collapse)Author
2018-03-16Add annotation opacity accessor.Tor Andersson
2018-03-16Only use BS/W for border width.Tor Andersson
The Border property is long since deprecated.
2018-03-16Don't extract text from annotations by default.Tor Andersson
2018-03-16Don't throw when fz_is_directory is called on a non-existent path.Tor Andersson
2018-03-16Fix 699087: Get scissor from stack after new entry pushed.Sebastian Rasmussen
Without this fix the stack may be resized and relocated and then the scissor might point to stale memory.
2018-03-16Fix 699086: Handle freetype not returning glyph advance.Sebastian Rasmussen
2018-03-16Do not warn if there are no JBIG2 globals.Sebastian Rasmussen
2018-03-15PDF stream filtering; fix pattern/xobject resource handling.Robin Watts
Patterns and XObjects can have their own resource dictionaries. If they do, use those in preference to the page ones when filtering.
2018-03-14Bug 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-14Bug 699109: Fix overwrites with COP renderer.Robin Watts
2018-03-13Bug 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-12Bug 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-12Ensure 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-07Distinguish between simple and CID font resources in cache.Tor Andersson
2018-02-27Fix 699076: Scoping bug in png_write_band.Tor Andersson
2018-02-27Remove 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-27Use fz_point for pdf_set_annot_ink_list and vertices too.Tor Andersson
2018-02-27Improve line ending style accessors.Tor Andersson
2018-02-27Add annotation QuadPoints creation functions.Tor Andersson
2018-02-27Add annotation Line access functions.Tor Andersson
2018-02-27Add annotation Vertices creation functions.Tor Andersson
2018-02-27Add annotation InkList creation functions.Tor Andersson
2018-02-27Get border width from BS/W if Border is missing.Tor Andersson
2018-02-27Return correct default icon names for optional annotation property.Tor Andersson
2018-02-27Don't set a (useless) rectangle when creating annotations.Tor Andersson
2018-02-27Fix fz_expand_rect in presence of empty rectangles.Tor Andersson
2018-02-27Add fz_expand_irect function.Tor Andersson
2018-02-27Add fz_translate_rect helper function.Tor Andersson
2018-02-27svg: Fix circle/ellipse drawing.Tor Andersson
2018-02-27Fix bug in pdfshow (confusion between indirect/resolved streams).Tor Andersson
2018-02-27Remove typedef in favor of explicit enum keyword.Tor Andersson
Avoids the silliness of fz_annot_type pdf_annot_type().
2018-02-27Fix bug in pdf_annot_icon_name.Tor Andersson
2018-02-27Print newline at end of pdf_debug_obj.Tor Andersson
2018-02-27Don't use constants larger than will fit in a signed int in enum.Tor Andersson
2018-02-27Use text encoding for pdf_choice_widget options and values.Tor Andersson
Adds a requirement on the caller to free the returned strings.
2018-02-27Use proper encoding for pdf_field_value and update_field_value.Tor Andersson
2018-02-27Accept NULL in fz_drop_output.Tor Andersson
2018-02-27Recognize Adobe illustrator files as PDF format.Tor Andersson
2018-02-23Include 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-14Remember to end knockout group when drawing image.Sebastian Rasmussen
2018-02-14Bug 698890: Remember to end groups when showing images.Sebastian Rasmussen
2018-02-13Bug 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-13Avoid 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-13Add JNI and JS bindings to layer device calls.Tor Andersson
2018-02-13Add 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-13mutool extract: Don't save raw CMYK jpegs when the -r flag is enabled.Tor Andersson
2018-02-13Use 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-13Bug 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-12jbig2: Improve error message.Sebastian Rasmussen
2018-02-12jbig2 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.