summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-20Add simple muraster.Robin Watts
A cutdown mudraw that only copes with simple raster output.
2016-06-17Fix off-by-one error in split_at_script.Tor Andersson
2016-06-17Update base 14 fonts to the latest release from URW.Tor Andersson
The fonts are now under the SIL Open Font License! Converted with AFDKO tool 'tx': tx -cff +F +S +T -b -n -gx $EXCL -a *.t1 $EXCL is the list of PUA glyphs used by PCL that we don't need in mupdf. The Dingbats and Symbol fonts have only been regenerated from the old version, since there are no new glyphs (but several problems) in the newest version.
2016-06-17Set pixmap resolution when creating pixmaps for draw device.Tor Andersson
2016-06-17Add separate X and Y resolution to draw device options.Tor Andersson
2016-06-17Add mediabox argument to fz_new_display_list.Tor Andersson
To return the proper size from fz_bound_display_list, which has been broken since the begin_page device call was removed.
2016-06-17Add device space transform state to draw device.Tor Andersson
Allows us to remove the out parameter 'transform' from fz_begin_page.
2016-06-17Allow PDF strings to be > 16bits.Robin Watts
This stops Bug693111.pdf giving errors.
2016-06-17Fix fz_write_pam code.Robin Watts
It was incorrectly missing the alpha in the header writing code.
2016-06-17Improve banding API.Robin Watts
Previously the API assumed that all bands had to be the same height. By moving the multiplication into the caller, we can lift that assumption.
2016-06-17Add some quick notes on integer types.Robin Watts
2016-06-17Use 'size_t' instead of int as appropriate.Robin Watts
This silences the many warnings we get when building for x64 in windows. This does not address any of the warnings we get in thirdparty libraries - in particular harfbuzz. These look (at a quick glance) harmless though.
2016-06-16Fix MSVC build; PATH_MAX not defined.Robin Watts
2016-06-16Silence warnings.Tor Andersson
2016-06-16Add PNG output for mutool convert.Tor Andersson
2016-06-16Add fz_format_output_path function.Tor Andersson
2016-06-16Return options struct argument from pdf_parse_write_options.Tor Andersson
Makes it easier to chain function calls.
2016-06-16Add fz_draw_options struct for use with draw device.Tor Andersson
2016-06-16Drop save_alpha argument from image writing functions.Tor Andersson
2016-06-16Split image output functions into separate files.Tor Andersson
2016-06-16gl: Add PDF creator and producer to info display.Tor Andersson
2016-06-16Update JNI bindings for pixmap alpha changes.Tor Andersson
2016-06-16Update getStride and add getAlpha to JS bindings.Tor Andersson
2016-06-16Fix crash due to double closing output in pdf_save_document.Robin Watts
Broken due to refactoring. Thanks to Michael for spotting this.
2016-06-16MSVC: 64bit fixes.Robin Watts
Update libfonts build directory; this was causing many warnings because the debugging information was being put in the wrong place. Also ensure that libfonts is build for the different 64bit configs.
2016-06-15tiff: Add omitted static void return type.Sebastian Rasmussen
Commit 44d65838233baef2c16397847dca3061cde7ec4e accidentally omitted the return type when adding TIFF SGI LUV decoding.
2016-06-14MSVC: Reorder objects in project file.Robin Watts
Presumably because the files were hand edited before, and MSVC likes to alphasort.
2016-06-14Add TIFF SGI LUV decoding.Robin Watts
2016-06-14Redo accidentally reverted mujs submodule change.Robin Watts
2016-06-14MSVC 64bit fixesRobin Watts
libfonts wasn't being generated in 64bit configs. murun had the wrong include path in 64bit configs. generated was being invoked wrongly in 64bit configs.
2016-06-14Update TIFF LZW decode.Robin Watts
TIFF 5.0 uses a slightly laxer set of rules for TIFF decode. Specifically, when we hit the maximum code, we are not required to send a clear code immediately, but it can overrrun. We don't bother storing codes > 12 bits, because they can never be used. This avoids the need to extend the table.
2016-06-14Add missing subtools to mutool manpage.Sebastian Rasmussen
2016-06-14Fix typos in various parts of the code.Sebastian Rasmussen
2016-06-14Add optional support for Luratech JBIG2 decoder.Sebastian Rasmussen
If thirdparty/luratech is populated then this decoder will be preferred over jbig2dec (even if both are present).
2016-06-14stext: Non-initial glyphs in ligatures must set start/stop.Sebastian Rasmussen
Normal glyphs and inital glyphs in ligatures have their start/stop (p and q) set before determining whether to append to an existing span or insert a space. For non-initial glyphs the start/stop were never set which introduced uninitialized values into the span data structure. Now, all glyphs have their start/stop set and then if it is a non-initial glyph in a ligature the append and space detection is ignored. This means that no values are uninitialized.
2016-06-14Teach "make tags" target to be quiet.Sebastian Rasmussen
If verbose=yes is set then the full list of files will be printed.
2016-06-14bmp: Support arbitrary bit mask widths.Sebastian Rasmussen
2016-06-13Add pdf_write_document.Robin Watts
Allow us to write a document to an fz_output as opposed to just a filename. We cannot write digital signatures in this method though. Will ponder that in a later commit.
2016-06-13Fix VS2012 builds.Robin Watts
Slight tweak to the #ifdeffery required.
2016-06-13Update MuJS.Robin Watts
Include VS2012 fix.
2016-06-13Add missing restrict.Robin Watts
Missing qualifier from prototype.
2016-06-13Fix Android viewer build with js.Robin Watts
The recent js change requires a makefile tweak.
2016-06-13Bug 696822: Refuse to save a pdf file incrementally if it would break.Robin Watts
If a file cannot be saved incrementally, then don't accept that as an option. In practise this means if someone asks to save a file incrementally, and it was repaired, or it uses encryption then throw an error. Add a new function to ask if it's safe to save a file incrementally, and use that in the appropriate places.
2016-06-13Bug 696831: iOS/OS X support for size optimizationsJoseph Heenan
2016-06-09iOS: Run Xcode's "Convert to Modern ObjC" for "ObjC literals"Joseph Heenan
Uses the more modern/concise syntax that arrived in Xcode 4.4
2016-06-09iOS: Replace property like accessors with propertiesJoseph Heenan
2016-06-09iOS: Use modern instancetype instead of id for init return typeJoseph Heenan
2016-06-09iOS: Fix a bad call to super in MuDocumentController.mJoseph Heenan
We're a subclass of UIViewController, so must call one of UIViewController's designated initialisers.
2016-06-09iOS: Replace char * with NSString in ObjC APIsJoseph Heenan
What is effectively our external API on iOS would be expected to use NSString rather than char *.
2016-06-09iOS: Remove some printfsJoseph Heenan
We shouldn't output any debug in default release build.