Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-19 | Add an application agnostic memory handler for libjpeg | Chris Liddell | |
This adds a custom memory management layer between libjpeg and the calling app - in such a way that the code can be shared between mupdf and Ghostscript/PDL. | |||
2014-05-12 | prevent indeterminacy by uninitialized variables | Simon Bünzli | |
There are two issues where variables may be used unitialized: * extract_exif_resolution fails to set xres and yres for JPEG images if there's no valid resolution unit (mainly affects XPS documents) * xps_measure_font_glyph uses hadv and vadv unitialized if the glyph id isn't valid (i.e. if FT_Get_Advance fails) | |||
2013-08-28 | better JPEG image resolution detection (for XPS) | Simon Bünzli | |
XPS extracts the resolution of a JPEG image from the image data. The current code however only reads the density values provided by JFIF metadata, while the XPS specification also allows for resolution to be in either EXIF metadata or Photoshop's APP13 chunk. This patch adds code for reading both kinds of metadata in order to get more consistent behavior with Microsoft's XPS Viewer. Documents for reproducing this issue: 2093*.xps, 2249*.xps, 2252*.xps, 2268*.xps and "jpeg exif resolution.xps". Another detail: The default resolution for JPEG images in XPS documents is 96 DPI and not 72 DPI. | |||
2013-06-20 | Rearrange source files. | Tor Andersson | |