summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-23Improve return codes from pdf_authenticate_password.Robin Watts
Customer request to enable finer control based on which password authenticates.
2017-02-22Move PATH_MAX to system.hMichael Vrhel
Better to have this defined at the system level rather than scattered about in various files.
2017-02-21Fix typo in ffi_PDFAnnotation_setColor.Tor Andersson
2017-02-21The 'count' array in pdf_annot_set_ink_list takes number of points.Tor Andersson
Not number of coordinates.
2017-02-21java: Fix typo in authenticatePassword.Tor Andersson
2017-02-20android: Use system fonts as fallback instead of compiling binary blobs.Tor Andersson
This drastically reduces the size of the android library. Unfortunately it means font support is limited to what is available on the device. We look for both the old DroidSans fonts and the more recent Noto fonts.
2017-02-20Add no-reuse-images option to SVG device.Tor Andersson
Also add explicit viewBox and width/height to image symbol and use elements, to work around a strange clipping/image scaling issue with firefox.
2017-02-20Fix svg text output when text span is all whitespace or empty.Tor Andersson
We were emitting unbalanced quotes for the x and y attributes.
2017-02-20Add fz_font_is_bold and italic functions. Use them for svg output.Tor Andersson
2017-02-20Emit more newlines in svg output.Tor Andersson
The aim is to put each tag on a line of its own.
2017-02-20Add svg writer.Tor Andersson
Now mutool convert can write SVG documents.
2017-02-20Add F1 help dialog to show key bindings in mupdf-gl.Tor Andersson
2017-02-17Bug 697592: Fix double application of transform.Robin Watts
When falling back from glyph cache based rendering to direct rendering, we were applying the transform twice due to the handling of dev->transform introduced in commit ccaf716. Fixed here.
2017-02-14Fix patch drawing in AndroidDrawDevice.Tor Andersson
It can be simplified now that we support custom strides in pixmaps.
2017-02-14java: Make PDFDocument a subclass of Document.Tor Andersson
Requires use of Document.openDocument(path) to open a document. No more new Document(path) since we may need to return a PDFDocument. Create a new blank PDF with new PDFDocument() constructor.
2017-02-14Make svg text output format a runtime option.Tor Andersson
2017-02-14gl: Add 'hjkl' keybindings that behave like the arrow keys.Tor Andersson
Change the binding 'l' for showing links to 'L'.
2017-02-09Bug 697500: Fix NULL ptr access.Robin Watts
Cope better with errors during rendering - avoid letting the gstate stack get out of sync. This avoids us ever getting into the situation of popping a clip when we should be popping a mask or a group. This was causing an unexpected case in the painting.
2017-02-09bug 697515: Fix out of bounds read in fz_subsample_pixmapRobin Watts
Pointer arithmetic for final special case was going wrong.
2017-02-08Add SVG_TEXT_AS_TEXT define.Robin Watts
Build with this defined, and we no longer send text as reusable symbols, but instead send it as genuine text, with all the potential problems (mismatching fonts etc) that this entails. Requested by a customer.
2017-02-06Add fitPage, fitPageWidth functions to AndroidDrawDevice.Tor Andersson
2017-02-06Make sure to fill in 'doc' field of HTML links.Tor Andersson
2017-02-06Add bookmarks so we can find a location after reflowing a document.Tor Andersson
2017-02-06Be stricter when parsing OCG selections in mudraw.Sebastian Rasmussen
This avoids allowing 0,z as a valid selection.
2017-02-06Drop selected ui when dropping OCG for pdf documents.Sebastian Rasmussen
2017-02-06Fix FMT_zu definition for windows 64.Robin Watts
2017-02-06Add -I option to mupdf to invert colors.Robin Watts
2017-02-06Fix Win32 builds.Robin Watts
2017-02-04Bug 697514: Write SVG output to stdout if no output specified.Sebastian Rasmussen
2017-01-31svg: Add arc support.Tor Andersson
Copied from XPS implementation.
2017-01-31Update MuJS.Tor Andersson
2017-01-31Add helper functions to AndroidDrawDevice.Tor Andersson
2017-01-31muraster: When outputting to /dev/null, still free bitmaps.Robin Watts
This was leading to memory leaks on the dev board.
2017-01-23Fix fallback system callback for serif fonts.Tor Andersson
2017-01-23android: Add ndk-build makefile to build JNI library for android viewers.Sebastian Rasmussen
Run 'make android' to invoke ndk-build with the proper arguments. The results are placed in build/android.
2017-01-20Add system fallback font callback.Tor Andersson
2017-01-20Add separate TOFU_NOTO define to skip Noto fonts (but not Charis SIL).Tor Andersson
2017-01-19Use static assignments in Makerules.Tor Andersson
2017-01-18Detect MSYS2 as a MinGW build in Makerules.Tor Andersson
2017-01-17java: Add gdb target for debugging JNI crashes.Sebastian Rasmussen
2017-01-17java: JNI code needs generated header files from mupdf library.Sebastian Rasmussen
2017-01-17java: Simplify loadLibrary call.Tor Andersson
Always look in order for the following libraries: mupdf_java64 mupdf_java32 mupdf_java
2017-01-17java: Add text searching.Tor Andersson
2017-01-17Only use openssl 1.0.1t and earlier.Tor Andersson
Later versions are incompatible with how we call it.
2017-01-17Automatically turn on PACIFY_VALGRIND for debug builds.Tor Andersson
Add 'build=valgrind' configuration.
2017-01-17java: Allow custom compiler flags.Sebastian Rasmussen
2017-01-17Fix typos.Sebastian Rasmussen
2017-01-17Update MuJS.Tor Andersson
2017-01-17Fix 697476: Rename header files.Tor Andersson
Xcode has an idiotic default configuration where it gets confused by include search paths and file names in projects, so that it will load our "mupdf/fitz/math.h" instead of the system <math.h>. Work around this by renaming header files that have the same base name as a system header (even though they live in a subdirectory, and should never be available directly on the compiler's include path).
2017-01-17MSVC: Fix libmupf openssl configurations include paths.Robin Watts