summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2011-04-07Fix typo in binary search when looking for CMap resources.Tor Andersson
2011-04-07Check for zero length dash arrays.Tor Andersson
2011-04-07Optimize file seeks that can be done within the buffered data.Tor Andersson
2011-04-07Use fz_stream instead of FILE* to open XPS files.Tor Andersson
2011-04-07pdf: Purge unmaintained debug/log printing messages.Tor Andersson
2011-04-07Update README files.Tor Andersson
2011-04-07Simplify makefiles by use of $(wildcard) and chained rules.Tor Andersson
2011-04-06Rename span to stride, and add gray->bgr fast path image drawing.Tor Andersson
2011-04-06Add batch script to the win32 project to generate font and cmap sources.Tor Andersson