Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-10-24 | Use correct coordinates for synthesized space characters in stext device. | Tor Andersson | |
2016-10-24 | Fix 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-24 | Bug 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-24 | When not preserving stext whitespace, only emit space character. | Sebastian Rasmussen | |
Previously both a space character and the original whitespace character were emitted. | |||
2016-10-24 | When 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-24 | Bug 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-24 | Fix 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-24 | Bug 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-21 | epub: Set link height to the font size. | Tor Andersson | |
2016-10-21 | epub: Don't call strcmp for quick tag name checks. | Tor Andersson | |
2016-10-21 | Update docs/naming.txt | Tor Andersson | |
2016-10-21 | jni: Update mupdf_native.h. | Tor Andersson | |
2016-10-21 | Clean up pdf_add_image to handle unknown image formats more robustly. | Tor Andersson | |
2016-10-21 | Clean up FZ_IMAGE_XXX enums and purge unused FZ_IMAGE_JBIG2. | Tor Andersson | |
2016-10-19 | Move headers to make svg_document an internal type. | Sebastian Rasmussen | |
2016-10-19 | Move headers to make xps_document an internal type. | Sebastian Rasmussen | |
2016-10-19 | Rename internal headers to follow pattern *-imp.h. | Sebastian Rasmussen | |
2016-10-19 | Make document handler declarations internal. | Sebastian Rasmussen | |
2016-10-18 | Internal drop functions don't need to check for NULL. | Sebastian Rasmussen | |
2016-10-18 | All external drop functions handles NULL. | Sebastian Rasmussen | |
2016-10-18 | Avoid checking argument to fz_drop_*()/fz_free(). | Sebastian Rasmussen | |
As fz_drop_*()/fz_free() all must handle NULL. | |||
2016-10-18 | Drop scaled pixmap later in draw_fill_image_mask(). | Sebastian Rasmussen | |
Following the pattern in draw_fill_image(). | |||
2016-10-17 | gl: Add reload key binding: 'r'. | Tor Andersson | |
2016-10-18 | Remove unused luminosity. | Sebastian Rasmussen | |
2016-10-18 | tiff: Support stripped YCbCr images. | Sebastian Rasmussen | |
2016-10-18 | tiff: 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-16 | tiff: Plug pixmap leak should conversion fail. | Sebastian Rasmussen | |
2016-10-16 | gif: Do not paste frame data if frame and image do not overlap. | Sebastian Rasmussen | |
2016-10-16 | gif: Handle frames bigger than image correctly. | Sebastian Rasmussen | |
The existing fix for bug 697161 introduced in commit 651c9f1d93c81c84deaf76debec0a30e54a67d7e was broken as frames would be constrained to the image size - 1. Now we decompress all available data, not suggesting an uncompressed size, but still checking the size after the uncomprsseion. | |||
2016-10-16 | gif: Constrain frames to image boundaries. | Sebastian Rasmussen | |
2016-10-16 | Avoid casting when dropping super objects. | Sebastian Rasmussen | |
2016-10-16 | Only check digital signature when mouse button is released. | Sebastian Rasmussen | |
2016-10-16 | Link with OpenSSL if present on system. | Sebastian Rasmussen | |
2016-10-14 | epub: Add hyperlinks. | Tor Andersson | |
2016-10-14 | gl: Do document layout before loading outline, to prevent laying out twice. | Tor Andersson | |
Loading the outline automatically triggers a layout. | |||
2016-10-14 | Be stricter when parsing css length units. | Tor Andersson | |
2016-10-14 | Drop all contexts the same way. | Sebastian Rasmussen | |
* Handle multiple calls to fz_drop_colorspace_context() and fz_drop_font_context(). * Allow missing context in call to fz_drop_aa_context() and fz_drop_glyph_cache_context(). * Only drop font context objects when dropping the last reference. * Avoid unnecessary NULL checks. | |||
2016-10-14 | pnm: Workaround for b/w PAM images with packed samples. | Sebastian Rasmussen | |
2016-10-14 | pnm: Support b/w PAM images with alpha. | Sebastian Rasmussen | |
2016-10-14 | pnm: PAM images have component inverted compared to PNM. | Sebastian Rasmussen | |
2016-10-14 | pnm: Premultiply alpha for use in pixmap. | Sebastian Rasmussen | |
2016-10-14 | pnm: Better guesses when tuple type is not specified. | Sebastian Rasmussen | |
2016-10-14 | pnm: Interpret binary b/w image samples correctly. | Sebastian Rasmussen | |
Commit c2acdba7e9b72e18afdd3aa8dfdf66088b1ea1be mistakenly inverted the interpretation of samples for both both binary and ascii b/w PNM images when, at the time, there was only a mistake for ascii images. | |||
2016-10-14 | pnm: Prefer enum to strings when parsing tuple type. | Sebastian Rasmussen | |
2016-10-14 | pnm: Prefer enum to strings when parsing header tokens. | Sebastian Rasmussen | |
2016-10-14 | pnm: Throw exception if image is too big. | Sebastian Rasmussen | |
2016-10-14 | pnm: Cosmetic reordering of code. | Sebastian Rasmussen | |
2016-10-13 | Bug 696885: Handle subsampled components in openjpeg decoder wrapper. | Robin Watts | |
Also add simple ycc to rgb conversion (stolen from Sebastian's code). | |||
2016-10-12 | Optimise fz_new_buffer_from_image_as_png. | Robin Watts | |
This function calls png_from_pixmap, an auxiliary function to do the work. This was done deliberately to allow us to make the optimisation of dropping the pixmap early if it is not required. This keeps the memory use down in the case when a color conversion is required. Sadly, I never appear to have made the trivial change to actually use it in this mode. Do that now. | |||
2016-10-13 | crypt: Handle null pointer when dropping crypt object. | Sebastian Rasmussen | |
Exposed by weird-jpx.pdf from bug 696885. |