summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-16Bug 698168: Add support for writing indexed images to pdfs.Sebastian Rasmussen
2017-08-16Allow access to an indexed colorspace's color entries.Sebastian Rasmussen
2017-08-16Add bits per component parameter for flate and lzw compressed images.Sebastian Rasmussen
2017-08-16Add pdf filter parameters to DecodeParms when writing images.Sebastian Rasmussen
2017-08-15Revert "Disable freetype stream support, avoiding FILE interface."Sebastian Rasmussen
While MuPDF itself doesn't rely on stream support, applications may use Freetype built for MuPDF to load fonts for non-MuPDF related uses. This use was overlooked and caused problems for llpp. Thanks to Tuncer and _malc for reporting this.
2017-08-15Place space/zero padding correctly before/after sign.Sebastian Rasmussen
2017-08-15Move sign printing into inner formatting functions.Sebastian Rasmussen
2017-08-15Support printing flags in any order.Sebastian Rasmussen
2017-08-15Do not try to print sign for unsigned values.Sebastian Rasmussen
2017-08-15Remove unused octal value printing support.Sebastian Rasmussen
2017-08-15Avoid using unsupported alternate form printing of hex number.Sebastian Rasmussen
2017-08-15Move S_ISDIR workaround to common header file.Sebastian Rasmussen
Might be useful in locations other than directory.c.
2017-08-15jni: Make jni compile again.Sebastian Rasmussen
2017-08-10Bug 697988: Make sure to extend buffer to accomodate all text.Sebastian Rasmussen
2017-08-09Render shadings to images in stext-device.Tor Andersson
2017-08-09Add XHTML output format to mudraw.Tor Andersson
2017-08-09Put XHTML images inside a <p> tag (make them block level).Tor Andersson
2017-08-09Add common fz_write_image_as_data_uri function for HTML and SVG output.Tor Andersson
Also ensure we don't write CMYK JPEG images.
2017-08-09Remove redundant (and incomplete) checks when encountering OCGs.Tor Andersson
The checks were duplicated between pdf_process_BDC and pdf_is_hidden_ocg. The checks in the former function were incomplete: they only checked the for OCG type objects and incorrectly discarded OCMD type objects. Remove the checks from pdf_process_BDC and let pdf_is_hidden_ocg handle all of them instead.
2017-08-07Avoid scavenging 0 bytes from store when allocating 0 bytes.Sebastian Rasmussen
2017-08-07Set custom allocator for JBIG2 library.Sebastian Rasmussen
2017-08-07Set custom memory allocator for FreeType.Sebastian Rasmussen
2017-08-07Disable freetype stream support, avoiding FILE interface.Sebastian Rasmussen
2017-08-07tools: Move trace alloc info into callback argument.Sebastian Rasmussen
2017-08-07Upgrade to latest version of jbig2dec.Sebastian Rasmussen
2017-08-02Bug 698279: Throw exception if xref object number offset too big.Sebastian Rasmussen
2017-08-02Sort FILE interface defines, to make sure all defined.Sebastian Rasmussen
2017-08-01If largefile=yes is set, make sure fz_remove is defined.Sebastian Rasmussen
2017-07-27Remove unnecessary check of colorspace pointer.Sebastian Rasmussen
2017-07-27Add text format document writer.Tor Andersson
Improve HTML output using absolute positioning, and add XHTML output for simpler semantic html output.
2017-07-27Add fz_write_base64 function.Tor Andersson
2017-07-27Use "DeviceRGB" name for ICC based device colorspaces too.Tor Andersson
2017-07-27MSVC: 64bit project file build fixes.Robin Watts
2017-07-27Fix clearing of cmyk + spots pixmaps.Robin Watts
2017-07-27Fix issue in alpha indexingMichael Vrhel
Spot colors were getting bogus (typically 0xcd) alpha applied to them during drawing.
2017-07-27Fix upper bounds checks on lerp image painting.Robin Watts
2017-07-27Fix overprint detection in pdf interpreter.Robin Watts
overprint is a boolean, overprint mode is an int. Neither is a name.
2017-07-27Avoid leaking colorspaceRobin Watts
2017-07-27MSVC: Add mutrace.c to libmutool.Robin Watts
2017-07-27murun: Remember to js_endtry() before returning.Sebastian Rasmussen
2017-07-25Omit drawing annotations that are not opened.Sebastian Rasmussen
2017-07-25Make it possible to check for properties of PDF annotations.Sebastian Rasmussen
2017-07-24Fix ordering of quadpoints in highlight synthesis.Tor Andersson
The spec is full of lies. The internal ordering of points in a QuadPoint is not counterclockwise [ll lr ur ul], it's crosswise [ll lr ul ur].
2017-07-21Rename shadowing flag variable to reduce potential confusion.Tor Andersson
2017-07-21Ignore image resolution in EPUB files.Tor Andersson
Many images in EPUB files have bogus values for the DPI. Use 96 dpi for all EPUB images, since that matches best what web browsers do with images in HTML.
2017-07-21Allow caching of rendered tiles when using the display list.Tor Andersson
2017-07-21Only try caching tiles once.Tor Andersson
Don't try to re-cache a tile we fetched from the cache.
2017-07-21Reuse pattern tiles when running PDF interpreter directly.Tor Andersson
2017-07-21Distinguish hash slot overwrite cases.Tor Andersson