summaryrefslogtreecommitdiff
path: root/source
AgeCommit message (Collapse)Author
2016-11-03GProof: Silence warning seen in MSVC x64 builds.Robin Watts
2016-11-03Memento: Silence MSVC warningsRobin Watts
For security and x64 builds.
2016-11-03Fix Luratech builds on MSVC.Robin Watts
ulong is not defined on windows.
2016-11-03Fix signed/unsigned and size_t/int/fz_off_t warnings.Robin Watts
All seen in MSVC, mostly in 64bit builds.
2016-11-03Fix DebugGProof builds on windows.Robin Watts
GSDLLCALL was not being set.
2016-11-02Use pdf_annot_border to get the border width of an annotation.fred ross-perry
2016-11-02Fix 697284: The origin was incorrectly calculated for rotated pages.Tor Andersson
2016-11-02Don't check for NULL before calls to fz_free.Sebastian Rasmussen
2016-11-02Do not drop compressed buffer twice in case of error.Sebastian Rasmussen
Previously, if fz_new_image() threw an exception both fz_new_image_from_compressed_buffer() and fz_new_image_from_buffer attempted to drop the supplied fz_compressed_buffer. Now the full responsibility is handed over to fz_new_image_from_compressed_buffer().
2016-11-02Explain conversion to RGB in jpx/jxr image loading.Sebastian Rasmussen
2016-11-01Don't dereference NULL subarea when rasterizing display list images.Tor Andersson
2016-11-01When hinted object is not found, avoid return from within fz_try().Sebastian Rasmussen
2016-11-01tiff: Plug leak where superflous pixmaps was created.Sebastian Rasmussen
2016-10-28epub: Add links to XHTML and FB2 formats.Tor Andersson
2016-10-28epub: Add 'id' attribute to all HTML elements, not just <a> tags.Tor Andersson
Allows id anchoring to block elements as well as inline elements. Fix for bug 697123.
2016-10-28Clean up link destination handling.Tor Andersson
All link destinations should be URIs, and a document specific function can be called to resolve them to actual page numbers. Outlines have cached page numbers as well as string URIs.
2016-10-26epub: Fix link bbox when it contains spaces that have been justified.Tor Andersson
2016-10-26Fix 697215: Script specific punctuation blocks.Tor Andersson
Ideographic and full-width punctuation inherit the script from the surroundings, like all other punctuation. This does not play well with our fallback font lookups. Add special cases for ideographic and fullwidth unicode blocks.
2016-10-26Change space detection heuristic.Tor Andersson
Reduce the amount of extra space required to insert a synthetic space character, but check the sign so we only trigger on extra space, never on reduced space.
2016-10-26Update ios/android to use new way of passion stext options.Sebastian Rasmussen
In addition, make all callers passing 0 as a point pass NULL instead.
2016-10-26tiff: Drop pixmap when exception is thrown.Sebastian Rasmussen
Also don't check for NULL unnecessarily.
2016-10-26tiff: Always set colorspace when reading image info.Sebastian Rasmussen
Commit 3059b6908208fbb9547e6876332a5b42a6406d1a accidentally caused colorspace to not be set when reading image information.
2016-10-26Introduce options for structured text.Sebastian Rasmussen
2016-10-26Don't use local function, use fz_option_eq().Sebastian Rasmussen
2016-10-26js: Handle null for all options supplied as strings.Sebastian Rasmussen
2016-10-24Don't return overlapping search results.Tor Andersson
2016-10-24Use correct coordinates for synthesized space characters in stext device.Tor Andersson
2016-10-24Fix 697236: Don't update pen position inside clusters in stext device.Tor Andersson
This caused us to introduce extra space characters after clusters that come from ligatures such as 'fi' which are composed of two characters but only one glyph.
2016-10-24Bug 697235: Change default values for stext options.Sebastian Rasmussen
Previously it was not possible to disable all options, but now this is the default.
2016-10-24When not preserving stext whitespace, only emit space character.Sebastian Rasmussen
Previously both a space character and the original whitespace character were emitted.
2016-10-24When not preserving stext ligatures, remember actual character added.Sebastian Rasmussen
Previously, when the ligatures were not preserved, the ligature glyph itself was remembered but not each individual character it expanded to.
2016-10-24Fix cluster timeouts with test file.Robin Watts
tests_private/pdf/sumatra/1297_-_interpolate_at_lower_resolutions.pdf times out in the cluster. This is due to us having empty t3 glyphs defined that define d1 rectangles that are wildly different to the default font bbox. Add code to spot that t3 glyphs are empty, and to use a tiny font bbox for them. (It might be nicer to drop the empty display lists, but then this produces knock on problems further on, where non-existent display lists lead to NULL pixmaps, which lead to us think that renders failed etc).
2016-10-24Bug 697234: Fix slow rendering.Robin Watts
fz_contains_rect was improperly implemented (the logic in the final test was reversed). This was causing us to use the font bbox for some t3 glyphs, resulting in massive bboxes, that could never be cached. Rerendering these each time was taking ages, even though there was nothing actually in them.
2016-10-21epub: Set link height to the font size.Tor Andersson
2016-10-21epub: Don't call strcmp for quick tag name checks.Tor Andersson
2016-10-21Clean up pdf_add_image to handle unknown image formats more robustly.Tor Andersson
2016-10-21Clean up FZ_IMAGE_XXX enums and purge unused FZ_IMAGE_JBIG2.Tor Andersson
2016-10-19Move headers to make svg_document an internal type.Sebastian Rasmussen
2016-10-19Move headers to make xps_document an internal type.Sebastian Rasmussen
2016-10-19Rename internal headers to follow pattern *-imp.h.Sebastian Rasmussen
2016-10-19Make document handler declarations internal.Sebastian Rasmussen
2016-10-18Internal drop functions don't need to check for NULL.Sebastian Rasmussen
2016-10-18All external drop functions handles NULL.Sebastian Rasmussen
2016-10-18Avoid checking argument to fz_drop_*()/fz_free().Sebastian Rasmussen
As fz_drop_*()/fz_free() all must handle NULL.
2016-10-18Drop scaled pixmap later in draw_fill_image_mask().Sebastian Rasmussen
Following the pattern in draw_fill_image().
2016-10-18Remove unused luminosity.Sebastian Rasmussen
2016-10-18tiff: Support stripped YCbCr images.Sebastian Rasmussen
2016-10-18tiff: Cosmetic cleanup of code.Sebastian Rasmussen
In preparation for YCbCr support, rename some functions and make variable names more generic. Also remove fz_ prefix from static functions.
2016-10-16tiff: Plug pixmap leak should conversion fail.Sebastian Rasmussen
2016-10-16gif: Do not paste frame data if frame and image do not overlap.Sebastian Rasmussen