summaryrefslogtreecommitdiff
path: root/platform/java
AgeCommit message (Collapse)Author
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-16Fix java build.Tor Andersson
2018-03-16jni: Fix expression conflating booleans and bitfields.Sebastian Rasmussen
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-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 Vertices creation functions.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-13Add JNI and JS bindings to layer device calls.Tor Andersson
2018-02-08jni: Remove unnecessary close callback in seekable stream interface.Tor Andersson
2018-01-31java: Don't overwrite LD_LIBRARY_PATH in 'run' target in java makefile.Tor Andersson
2018-01-31Add buffering to fz_output.Tor Andersson
2018-01-31Update mupdf_native.h header.Tor Andersson
2018-01-27jni: Add Java interfaces to fz_stream and fz_output types.Tor Andersson
This will allow us to read and write documents using I/O written in Java, exposed by SeekableInputStream and SeekableOutputStream. We supply an example FileStream which implements seekable streams backed by a RandomAccessFile.
2018-01-15Bug 698857: Delete local reference after use.Sebastian Rasmussen
Without deleteing it the local reference table may overflow.
2018-01-15Use C comments instead of C++ comments.Fred Ross-Perry
2017-11-22jni/js: Add support for annotation modification dates.Sebastian Rasmussen
2017-11-22jni/js: Use correct text encoding in annotation author and contents.Fred Ross-Perry
Also clarify that a copy of author/contents is returned, and that the caller must free them.
2017-11-22jni/js: Add interfaces for creating UTF-16BE and PDF byte strings.Sebastian Rasmussen
This mirrors the existing PDFObject.asByteString().
2017-11-22jni: Remove unnecessary PDFObject.asByteName().Sebastian Rasmussen
2017-11-22jni: Silence warning by casting boolean to integer.Sebastian Rasmussen
2017-11-22jni: Fix bugs in StructuredText_getBlocks().Fred Ross-Perry
When iterating through blocks, make sure to include text blocks. After building the char array for a given line, be sure to add it to the line object.
2017-11-22jni: Put destination coordinates into Outline object.Fred Ross-Perry
2017-11-22jni: Free quadpoints and vertices upon JNI error.Sebastian Rasmussen
2017-11-22jni: Only keep the reference when the java constructor succeeds.Sebastian Rasmussen
2017-11-22jni: Check for exception after allocating objects.Sebastian Rasmussen
2017-11-22jni: Initialize Context before using any MuPDF classes.Sebastian Rasmussen
2017-11-22jni: Return correct quadpoints coordinates.Sebastian Rasmussen
2017-11-22jni: Return correct inklist coordinates.Sebastian Rasmussen
2017-11-22jni: Prevent memory leak by freeing upon error.Sebastian Rasmussen
Previously the counts and points arrays would leak if GetFloatArrayRegion() threw an exception.
2017-11-22jni: Clarify initialization order in Context.Sebastian Rasmussen
Previously the initialization order of init() and the field inited was not obvious. Move the static block as far up as possible but make sure that inited is initialized before that. Also add a comment explaining why.
2017-11-10Purge obsolete NDK_PROFILER code.Tor Andersson
2017-11-10jni: Update for StructuredText highlight and copy changes.Tor Andersson
2017-11-08Bug 698616: Fix use after free in Page_textAsHtmlRobin Watts
2017-11-01Add separate fz_close_output step.Tor Andersson
Closing flushes output and may throw exceptions. Dropping frees the state and never throws exceptions.
2017-11-01Use int64_t for public file API offsets.Tor Andersson
Don't mess with conditional compilation with LARGEFILE -- always expose 64-bit file offsets in our public API.
2017-10-12Purge out of date separation bindings.Tor Andersson
2017-09-07Make sure to always drop a fz_device even upon error.Sebastian Rasmussen
2017-08-17Fix Android java build: harfbuzz memory callbacks.Tor Andersson
2017-08-17Update java for structured text and other changes.Tor Andersson
2017-08-17Simplify stext structure and device.Tor Andersson
* Use pool allocator and linked lists for all levels. * Remove separate fz_stext_sheet struct. * Remove unused 'script' style. * Remove 'span' level items. * Detect visual/logical RTL layouts. * Detect indented paragraphs.
2017-08-15jni: Make jni compile again.Sebastian Rasmussen
2017-07-19Add spots to fz_pixmaps.Robin Watts
Update separations interface further to cope with whether spots should be rendered separately, or as composite colors.
2017-07-19Rejig page separations interface.Robin Watts
Specifically this is aimed so we can efficiently get separation details for PDF files (which may require a lengthy search process).
2017-07-17Add colorspace handling to transparency groupsMichael Vrhel
Also force softmasks to be isolated groups.
2017-06-28jni: Avoid freeing data buffer twice in case of error.Sebastian Rasmussen
fz_new_buffer_from_data() will take ownership of the data buffer given to it and frees it upon error.
2017-06-27jni: Make jni compile without warnings.Sebastian Rasmussen
2017-06-22jni: Include lcms2 in compilation.Sebastian Rasmussen