Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-02-22 | Move PATH_MAX to system.h | Michael Vrhel | |
Better to have this defined at the system level rather than scattered about in various files. | |||
2017-02-20 | Add 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-20 | Fix 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-20 | Add fz_font_is_bold and italic functions. Use them for svg output. | Tor Andersson | |
2017-02-20 | Emit more newlines in svg output. | Tor Andersson | |
The aim is to put each tag on a line of its own. | |||
2017-02-20 | Add svg writer. | Tor Andersson | |
Now mutool convert can write SVG documents. | |||
2017-02-17 | Bug 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-14 | Make svg text output format a runtime option. | Tor Andersson | |
2017-02-09 | bug 697515: Fix out of bounds read in fz_subsample_pixmap | Robin Watts | |
Pointer arithmetic for final special case was going wrong. | |||
2017-02-08 | Add 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-06 | Add bookmarks so we can find a location after reflowing a document. | Tor Andersson | |
2017-02-06 | Fix Win32 builds. | Robin Watts | |
2017-01-23 | Fix fallback system callback for serif fonts. | Tor Andersson | |
2017-01-23 | android: 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-20 | Add system fallback font callback. | Tor Andersson | |
2017-01-20 | Add separate TOFU_NOTO define to skip Noto fonts (but not Charis SIL). | Tor Andersson | |
2017-01-17 | Fix typos. | Sebastian Rasmussen | |
2017-01-17 | Fix 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-17 | Remove preprocessor defines from vcproj. | Tor Andersson | |
Keeping them up to date is difficult and prone to errors, so we move setting the USE_OUTPUT_DEBUG_STRING and FZ_LARGEFILE flags to the source instead of relying on project file definitions. | |||
2017-01-17 | Don't throw from libjpeg callbacks! | Tor Andersson | |
2017-01-17 | pdf: Rename FZ_ERROR_OOM to FZ_ERROR_MEMORY. | Tor Andersson | |
2017-01-17 | Add value destructor callback to fz_hash_table. | Tor Andersson | |
This allows us to prune the iteration functions. We also remove a few other unused functions. | |||
2017-01-09 | Be consistent in use of DEBUG/NDEBUG macros. | Tor Andersson | |
Only use NDEBUG as it's the one that most environments already set, so is likely to lead to the least amount of confusion if compiling with a custom build system. | |||
2017-01-09 | Make fz_parse_xml take a fz_buffer. Make xps_part contain a fz_buffer. | Tor Andersson | |
2017-01-09 | Fix potential buffer overrun when decoding UTF-16 in XML parser. | Tor Andersson | |
2017-01-09 | Add fz_terminate_buffer function. | Tor Andersson | |
Non-destructively zero terminate a fz_buffer for use as a C string. | |||
2017-01-09 | Bug 697466: Fix banded PKM/PBM output. | Robin Watts | |
When I regularised the band writing interface, I broke PKM and PBM in the banded case. Fixed here. | |||
2017-01-06 | Fix /dev/null slowdown. | Robin Watts | |
In commit 80308eae9964e71b66a18f3de6ebcd2ebf0d306b ("Regularize band writer interface"), I inadvertently slowed down outputting to /dev/null. Fixed here. Also take the opportunity to speed ppm/pnm files writing in general if we don't need to collate. | |||
2017-01-06 | Fix MSVC breakage. | Robin Watts | |
2016-12-27 | Bug 697455: Make JPX support optional via configuration flag. | Tor Andersson | |
Set FZ_ENABLE_JPX=0 in XCFLAGS or include/mupdf/fitz/config.h to disable support for JPX at compile time. Be aware that this may break support for PDF 1.5 and later files that need JPEG2000 support. | |||
2016-12-27 | Strip extraneous blank lines. | Tor Andersson | |
2016-12-27 | Stylistic cleanups. | Tor Andersson | |
2016-12-27 | Common code to ensure we only premultiply pixmaps with additive colors. | Tor Andersson | |
2016-12-26 | Bug 697362: GIF frames use LZW encoding similar to TIFF. | Sebastian Rasmussen | |
Commit c0759acc6e5bd8167ab4983fc51eb1212da6a216 introduced a laxer LZW encoding. The bug shows that this may also apply to GIF images. | |||
2016-12-19 | SVG output: Fix dropped group alpha. | Robin Watts | |
2016-12-16 | Fix memory leaks on errors in text searching utility functions. | Tor Andersson | |
2016-12-14 | Have callers of fz_new_image_from_pixmap() drop supplied mask. | Sebastian Rasmussen | |
This makes handling of the mask identical to that of the pixmap argument. | |||
2016-12-14 | jpx: Delay determining if colorspace is indexed. | Sebastian Rasmussen | |
2016-12-14 | jpx: Quietly limit number of components for openjpeg decoder. | Sebastian Rasmussen | |
2016-12-14 | jpx: Create openjpeg decoder state. | Sebastian Rasmussen | |
This allows for communicating the colorspace without using a pixmap. | |||
2016-12-14 | jpx: Only do YCC-to-RGB conversion if decoding image samples. | Sebastian Rasmussen | |
2016-12-14 | jpx: Optimize sample writing function. | Sebastian Rasmussen | |
2016-12-14 | jpx: Delay reading metadata until parsing samples where possible. | Sebastian Rasmussen | |
2016-12-14 | jpx: Only compute signed offsets once. | Sebastian Rasmussen | |
2016-12-14 | jpx: Use local variables instead of repeatedly dereferencing state. | Sebastian Rasmussen | |
2016-12-14 | jpx: Share YCC-to-RGB conversion for luratech/openjpeg decoders. | Sebastian Rasmussen | |
2016-12-14 | jpx: Move state which is not shared among functions to decoder stack. | Sebastian Rasmussen | |
In the case of fz_context *, use that for the allocator callbacks. | |||
2016-12-14 | jpx: Use macro to check for palette. | Sebastian Rasmussen | |
2016-12-14 | jpx: Max components is known, so avoid allocating arrays. | Sebastian Rasmussen | |
2016-12-14 | jpx: Use fz_context directly, don't wrap it in state. | Sebastian Rasmussen | |