summaryrefslogtreecommitdiff
path: root/source
AgeCommit message (Collapse)Author
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-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-07tools: Move trace alloc info into callback argument.Sebastian Rasmussen
2017-08-02Bug 698279: Throw exception if xref object number offset too big.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-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-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
2017-07-21Remove (now needless) extern strlen declaration.Tor Andersson
A leftover from when fz_write_string was a static inline in a header file.
2017-07-21Add 'mutool trace' command.Tor Andersson
2017-07-21Fix 698210: Remove superfluous recursion check in pdf_load_embedded_cmap.Tor Andersson
We already mark and check the usecmap entry where it is loaded.
2017-07-20Fix fz_clear_pixmap to allow for spots (and CMYK).Robin Watts
2017-07-19Fix use-after-free of default colorspaces.Robin Watts
2017-07-19Add some consts to color conversions.Robin Watts
2017-07-19Update blend debugging code to save pixmaps as PSDs if required.Robin Watts
PNGs can't represent spots, or CMYK, so use PSD.
2017-07-19Add knowledge of spots to mudraw.Robin Watts
If drawing to psd we now render with spots.
2017-07-19Update band writer (especially PSD) to cope with spotsRobin Watts
PSD writer now outputs spot colors. Ensure subtractive colorspaces are stored with proper polarity. The CMYK and spot components need to be 255-X in the PSD format Store PSD format resources using correct Pascal style strings. Photoshop will fail to open if the the ICC profile resource name is not in proper format. (Incorporates fixes from Michael).
2017-07-19Extend fz_colorspaces to better cope with DeviceN.Robin Watts
We now keep a list of colorant names for every colorspace, along with a an 'is_device_n' flag, set for all separation and deviceN spaces.
2017-07-19Add knowledge of spots to color conversions.Robin Watts
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-19Keep fz_store_hash to declared size.Robin Watts
Could shrink this further, but we can't go below another 4 bytes so it's not worth it.
2017-07-19Update LCMS2 to LCMS2ART to reflect our fork.Robin Watts
Pull in latest lcms2 fixes, and update our fork to be lcms2art.