summaryrefslogtreecommitdiff
path: root/source/fitz
AgeCommit message (Collapse)Author
2016-07-08Use fz_vsnprintf to format warnings and error messages.Tor Andersson
2016-07-07Ignore duplicate character in structured text extraction.Sebastian Rasmussen
2016-07-06Start slimming pdf_page.Tor Andersson
We want to turn pdf_page into a thin wrapper around a pdf_obj, so that any updates to the underlying PDF objects will be reflected without having to reload the pdf_page.
2016-07-06Update luratech jbig2 function prototype with int to size_t change.Tor Andersson
2016-07-06Add annotations to murun.Tor Andersson
2016-07-06Add support for decoding pbm/pgm/ppm/pam images.Sebastian Rasmussen
2016-07-06Add optional support for JPEG-XR.Sebastian Rasmussen
2016-07-06Some minor optimizations.Tor Andersson
2016-07-06Add optional support for Luratech JPEG2000 decoder.Sebastian Rasmussen
2016-07-06Expose LAB colorspaceSebastian Rasmussen
2016-07-05Support J2K/JP2 files in CBZ.Sebastian Rasmussen
2016-07-05Fix bug in optimized clearing of CMYK pixmaps.Sebastian Rasmussen
The implementation assumed that a variable contained a number of 32-bit words when it actually contained the number of bytes hence fz_clear_pixmap_with_value() touched memory outside of the samples array.
2016-06-29Handle alpha-only PAM output as grayscale.Sebastian Rasmussen
2016-06-29Output only as many components for PAM as exist.Sebastian Rasmussen
2016-06-29Add Source Han Sans CJK per-language fonts.Tor Andersson
Import fonts from v1.004.
2016-06-28Fix inconsistency in band handling.Robin Watts
In an earlier commit, I changed some of the band writing functions to take the band starting offset, rather than the band number. This was done to accomodate the idea of rendering the page in bands of different heights. Sadly, it seems I didn't push this all the way through, and had different band writing functions still taking the band number. Fix all the band writing functions to be consistent.
2016-06-23epub: Use markup language when shaping and selecting fallback fonts.Tor Andersson
2016-06-23Update JNI code. Take explicit alpha argument in toPixmap functions.Tor Andersson
2016-06-23Support TIFF files in CBZ.Tor Andersson
2016-06-22MSVC build: Fix build of noto.cRobin Watts
The old definition for the RETURN macro relied on it either being on a non-standard C compiler, or it being used at the start of a block. Fix with a better macro.
2016-06-22Use vertical presentation forms.Tor Andersson
Remap glyphs using presentation form code points rather than having a separate vertical variant of the CJK font using truetype collections. Recreate DroidSansFallback fonts from original source, extend the glyph coverage from DroidSans, subset the glyphs to match CJK CID collections, and optimize the outlines using fontcrunch.
2016-06-22epub: Expose Dingbats, Symbol, and Emoji fonts by name.Tor Andersson
2016-06-22Transform device call scissor rectangles by device matrix.Tor Andersson
2016-06-21Handle colorspaces correctly when writing pnm.Sebastian Rasmussen
Previously 1 and 3 component images with alpha were not handled correctly.
2016-06-20Bug 696847: Fix SEGV in svg device.Robin Watts
Silly typo.
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-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-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-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-15tiff: Add omitted static void return type.Sebastian Rasmussen
Commit 44d65838233baef2c16397847dca3061cde7ec4e accidentally omitted the return type when adding TIFF SGI LUV decoding.
2016-06-14Add TIFF SGI LUV decoding.Robin Watts
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-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-14bmp: Support arbitrary bit mask widths.Sebastian Rasmussen
2016-06-13Add missing restrict.Robin Watts
Missing qualifier from prototype.
2016-06-08Move to using size_t for all mallocs.Robin Watts
This has knock on effects in the store. fix