to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
libXext/buildlink3.mk, now that it is included there.
Leave the places where its API version is set or variables from it
are used directly (about 3 packages).
changes:
The command line tools have been combined into one tool that does all:
mubusy. Where previously you would have called "mupdfclean blah blah
blah", now call "mubusy clean blah blah blah" instead.
Support for UserUnits
bugfixes and optimisations
MuPDF 1.0 (2012-04-24)
The 1.0 release is here!
MuPDF 1.0 RC1 (2012-03-29)
The 1.0 release rapidly approaches! This version brings with it a whole host of features, including:
Removal of all global variables: we now pass a context pointer
through the code freeing us from the use of globals within the
library.
Multi-threaded operation: while MuPDF does not require a thread
library, hooks are in place so that if one is used, significant
speedups can be gained from using multiple cores to render.
New error handling: a portable exception-like system is used
to allow neater handling of errors. This leads to more stability
and better resilience to broken files.
Public/Private API: the API has undergone a significant revision
(required by some of the above changes, plus renaming/revising
for clarity and consistency), and has been split into public
and private headers. The plan is that the public portion of
the API should remain much more static in future.
Improved Text Extraction device: a cleaner API to the experimental
text extraction device, offering a list of styles, and more
cleanly delineated content.
Documentation: All public header entry points/structures are
now documented and overviews of how to call the library to
render pages both in single and multi-threaded mode are given.
A new scavenging memory manager; makes much better use of the
memory available by freeing cached items 'just in time'.
Many, many, bugfixes.
This is such a large and significant version that we're doing a
release candidate first to allow us to correct any obvious bugs
that are found. Please try it and let us know how you get on!
no changelog available, at least some security fixes were done:
-fix possible memory corruption due to malformed JPEG images
(was patched in pkgsrc)
-fix (at least) 2 cases of integer overflow in array allocation (SA42320)
alternative from mk/jpeg.buildlink3.mk
This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).
The mechanical edits were applied via the following script:
#!/bin/sh
for d in */*; do
[ -d "$d" ] || continue
for i in "$d/"Makefile* "$d/"*.mk; do
case "$i" in *.orig|*"*"*) continue;; esac
out="$d/x"
sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
-e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
< "$i" > "$out"
if cmp -s "$i" "$out"; then
rm -f "$out"
else
echo "Edited $i"
mv -f "$i" "$i.orig" && mv "$out" "$i"
fi
done
done
MuPDF is a lightweight PDF viewer and toolkit written in portable C.
The renderer in MuPDF is tailored for high quality anti-aliased
graphics. MuPDF renders text with metrics and spacing accurate to
within fractions of a pixel for the highest fidelity in reproducing
the look of a printed page on screen.
MuPDF has a small footprint. A binary that includes the standard
Roman fonts is only one megabyte. A build with full CJK support
(including an Asian font) is approximately five megabytes.
MuPDF has support for all non-interactive PDF 1.7 features, and
the toolkit provides a simple API for accessing the internal
structures of the PDF document. Example code for navigating
interactive links and bookmarks, encrypting PDF files, extracting
fonts, images, and searchable text, and rendering pages to image
files is provided.