summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-19Fix Bug 692196: segv in scale_single_row.Robin Watts
Thanks to Zeniko for finding/reporting/patching the problem. Due to a pointer miscalculation we were overwriting memory. Simple fix.
2011-05-02pdf_repair.c: Skip first comment after version marker.Tor Andersson
Some particularly broken generators forget to terminate the comment with a newline. Skip the comment character so we'll get some garbage tokens that we can ignore, rather than consuming the innocent objects that follow on the same line as the %.
2011-04-29Makefile: Fix dependencies for 'install' target.Tor Andersson
2011-04-29Add xpsdraw to windows project.Tor Andersson
2011-04-29Don't use RegDeleteTree; it's only supported in Vista and up.Tor Andersson
2011-04-25Add libs target, and webos OS settings.Robin Watts
Add libs (to allow for building of libraries without apps, such as will be required for the WebOS bindings). Add 2 webos OS setups to the Makerules file to match the 2 default webos configurations used in the PDK.
2011-04-25Check AES encrypted string length and padding values.Tor Andersson
2011-04-25Always call glyph index "gid"; not "cid" as in some places.Tor Andersson
2011-04-25Add 'generate' make target to make font/cmap headers.Robin Watts
Simple tweak to aid cross compiling.
2011-04-25Makefile tweaks for cross compiling, plus example cross compile target.Robin Watts
Add 2 new makefile options to Mupdf. If CROSSCOMPILE is defined, then we avoid performing tasks during the build that require a binary to be built and then executed as part of the build. Currently this is just the cmap and font dumping steps. If NOX11 is defined, then we avoid building the X11 app. Finally, in Makerules, we have a new section to show how to encapsulate the changes for a given cross compile target. If OS is defined to be "beagle-cross" then we build using given compilers/options.
2011-04-20Revert part of "Tweak hinting flags to freetype."Tor Andersson
FT_LOAD_TARGET_LIGHT implies the autohinter, which causes spectacular failures on DynaLab fonts. The stripped down freetype we compile with using the "thirdparty" package does not have the autohinter, which is how this bug slipped through the regression testing.
2011-04-15Tweak hinting flags to freetype.Tor Andersson
2011-04-15Use artificial italics and emboldening for substitute font.Tor Andersson
2011-04-15Use DroidSans.ttf as substitute font.Tor Andersson
2011-04-14Import pristine base-14 fonts from URW.Tor Andersson
These are the original Type1 fonts, without modifications. They have been converted to CFF format, with preserved hints, by FontForge.
2011-04-14Fix regression introduced by bug fix for #692153Tor Andersson
2011-04-14pdf_cmap.c: Fix off-by-one error and check for integer overflow.Tor Andersson
2011-04-14Fix bug #692153: skip PDF version marker when repairing.Tor Andersson
The file in question is missing newlines, causing the first two objects to be hidden because we treat the %PDF-1.3 version marker as a comment.
2011-04-14Expose informational encryption details.Tor Andersson
2011-04-14Add fallback case for links accessed by button annotations.Tor Andersson
2011-04-12Avoid conflict with compiler builtin definitions of tolower.Tor Andersson
2011-04-12Fix serious bug in cmap compacting -- we forgot to set the new length.Tor Andersson
This bug fix shaves another 650K off the compiled in cmaps! Also fix the detection for when the cmap table is full, and ignore surrogate pair mappings (since we can't do anything useful with them at the moment).
2011-04-11Add triangle caps; separate start, dash and end cap styles for XPS.Tor Andersson
2011-04-10Register file type association on startup in windows.Tor Andersson
Installs keys to add MuPDF in the "Open With" menu, but does not take over the default association. Run "mupdf.exe -u" to remove the registry key.
2011-04-10Fix segfault inducing typo in non-aa scanconverter.Tor Andersson
2011-04-10Combine build and interpret to make csi, gstate and material private structs.Tor Andersson
2011-04-10Clean up mupdf.hTor Andersson
2011-04-10Make crypt struct opaque.Tor Andersson
2011-04-10Make display list struct opaque.Tor Andersson
2011-04-10Make global edge list struct opaque, and remove active edge list struct.Tor Andersson
2011-04-10Make blendmode opaque.Tor Andersson
2011-04-10xps: Use specific font cache struct instead of hash table.Tor Andersson
2011-04-10Make fz_obj struct opaque.Tor Andersson
2011-04-09Throw an error if none of the content stream parts could be loaded.Tor Andersson
2011-04-09Allow multibyte filenames in mupdf windows app for XPS documents.Tor Andersson
2011-04-09Check for overflow when adding cmap table and range entries.Tor Andersson
2011-04-08Add soft limit to pixmap allocation.Tor Andersson
All image loading functions call the new fz_new_pixmap_with_limit allocation function, which will return NULL if the total amount of pixmap memory would exceed a set limit. Other vital pixmap allocations which are not as easily recoverable (such as font rendering, and the various buffers in the draw device) ignore the limit.
2011-04-08draw_edge.c: Plug memory leak.Tor Andersson
2011-04-08Simplify arguments to fz_new_pixmap.Tor Andersson
2011-04-08Be even less strict about broken page content array parts.Tor Andersson
2011-04-08Recover from error when only parts of the page content array are broken.Tor Andersson
2011-04-08Various patches from SumatraPDF.Tor Andersson
2011-04-08pdf: add pdf_from_ucs2 to encode a unicode string in pdfdocencoding.Tor Andersson
For use by SumatraPDF to check passwords.
2011-04-08Remove inline keyword where it is not strictly necessary for performance.Tor Andersson
Also put the function on the same line for inline functions, so they stick out and are easy to find with grep.
2011-04-08Tweak the display list visibility culling.Tor Andersson
2011-04-08filt_jpxd.c: Fix reference counting error.Tor Andersson
2011-04-08Add special case non-aa scan converter with accompanying blit functions.Tor Andersson
Also turn on font hinting when rendering non-aa text.
2011-04-07Fix bug with gsave/grestore nesting when running tiled patterns.Tor Andersson
2011-04-07Add text antialiasing too.Robin Watts
Update the text rendering code to use the raster renderer in freetype rather than the smooth one. No change to the hinting methods used yet.
2011-04-07Add AA_BITS define to control antialias level of line art.Robin Watts
AA_BITS < 0 => Runtime configurable. AA_BITS = 0 => No antialiasing AA_BITS > 0 => At least that many bits of accuracy (to a max of 8). If unspecified, default is 8, so old behaviour is maintained.