summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-31Fix android build.Tor Andersson
2016-10-31Update MuJS.Tor Andersson
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-28Update CHANGES.Tor Andersson
2016-10-28win32: Clean up namedump.obj and namedump.exe in generate.batTor Andersson
2016-10-26Bump version number to 1.10.Tor Andersson
2016-10-26Update jbig2dec.Tor Andersson
2016-10-26Update harfbuzz to version 1.3.2.Tor Andersson
2016-10-26Update MuJS.Tor Andersson
2016-10-26js: Update docs with PDFObject accessor functions.Tor Andersson
2016-10-26epub: Fix link bbox when it contains spaces that have been justified.Tor Andersson
2016-10-26Fix 697233: Add FB2 file type to mobile viewers.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-26gl: Show more search result hits.Tor Andersson
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-24Bug 697226: Fix SEGV in Android viewer.Robin Watts
As we skip through pages very quickly, it is apparently possible to trigger a SEGV. Alex Talis has given a clear description of the problem on the bug, and proposed this solution. Essentially this tweaks our CancellableAsyncTask class to ensure that we do not destroy the cookie before it has finished being accessed.
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-21Update docs/naming.txtTor Andersson
2016-10-21jni: Update mupdf_native.h.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-17gl: Add reload key binding: 'r'.Tor Andersson
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.