summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-16Update mutool create documentation with new font creation directives.Tor Andersson
2018-03-16Simplify PDF font creation code.Tor Andersson
Don't create a useless pdf_font_desc when writing font resources. Simplify reference counting by using fewer intermediate variables.
2018-03-16Add simple fonts with 8-bit greek and cyrillic encodings.Tor Andersson
Use KOI8-U for Cyrillic, and ISO 8859-7 for Greek. Use with 'mutool create' using an extra argument to the %%Font directive: %%Font TmRmC Times-Roman Cyrillic BT /TmRmC 16 Tf 10 10 Td <fa c4 d2 c1 d7 d3 d4 d7 d5 ca d4 c5 21> Tj ET The alternatives are "Latin", "Greek", and "Cyrillic".
2018-03-16Add simple CJK font creation.Tor Andersson
Create a non-embedded CJK font using UTF-16 encoding. This can be used in mutool create like so: %%CJKFont Ming GB1 BT /Ming 10 Tf 100 100 Td <4F60 597D> Tj ET
2018-03-16Add simple functions to create the built-in fonts by name.Tor Andersson
2018-03-16Use convenience function in pdf_set_annot_contents.Tor Andersson
2018-03-16Add simpler annotation line ending style accessors.Tor Andersson
2018-03-16Add annotation quadding accessor.Tor Andersson
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 java build.Tor Andersson
2018-03-16Update to latest jbig2dec.Sebastian Rasmussen
2018-03-16jni: Fix expression conflating booleans and bitfields.Sebastian Rasmussen
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-12jni: Fix reference counting when creating PDF annotations.Sebastian Rasmussen
2018-03-12jni: Temporary fix to make sure annot AP field is updated.Tor Andersson
2018-03-07Distinguish between simple and CID font resources in cache.Tor Andersson
2018-03-07Fix 699081: Missing coordinate transformation when copying text.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-27Add convenience functions to create point/rect/matrix.Tor Andersson
In the absence of C99 (fz_rect){0,0,1,1} syntax, this will have to do.
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-27jni: Add the ability to supply extra C flags to Android libmupdf builds.Fred Ross-Perry
Use the MUPDF_EXTRA_CFLAGS, CPPFLAGS, LDLIBS, and LDFLAGS variables.
2018-02-27Don't use constants larger than will fit in a signed int in enum.Tor Andersson