The NetBSD Project

CVS log for pkgsrc/print/mupdf/distinfo

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / print / mupdf

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.77: download - view: text, markup, annotated - select for diffs
Tue Oct 22 09:34:44 2024 UTC (6 months, 3 weeks ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, HEAD
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +5 -5 lines
mupdf: Update to 1.24.10

Changes:
MuPDF 1.24.10
-------------
- Several fixes to python scripts for bindings.
- Fix bug relating to redactions on pages with shared content streams.
- Fix bug when both color keying and softmasking is used.

MuPDF 1.24.9
------------
- Improve memory usage for shadings.
- Improve rendering speed when applying transfer functions to softmasks.
- Avoid crashing due to colorspaces.
- Fix bug with SVG clip paths.
- Fix several bugs concerning text extraction.

MuPDF 1.24.8
------------
- Update document handler API - better state handling, and support for files.
- Extend stream API to handle streams that are files, and to support
  autodeletion of files on close.
- Add "document as PDF" functionality.

MuPDF 1.24.7
------------
- Fix bug that affected WASM builds.

MuPDF 1.24.6
------------
- Fix bug where redactions removed unrelated content.

MuPDF 1.24.5
------------
- Fix pyodide builds.
- Add conversions between utf16 and utf8 in language bindings.

MuPDF 1.24.4
------------
- Update to new logo/icon.
- Fix bugs relating to link destinations.
- Fix bug relating to code space ranges.

MuPDF 1.24.3
------------
- Support single page SVG in document writer.
- Fix undo/redo issue when deleting a page.
- Several bug fixes for font subsetting upon saving document.
- Fix bug relating to bookmarks upon interactive font size change in epub.
- Fix font size bug when parsing html without a font size unit.

MuPDF 1.24.2
------------
- Add option to remove line-art, images, etc. while keeping text by adding
  text option when applying redactions.
- Various bug fixes.

MuPDF 1.24.1
------------
- Fix bug where text moved after sanitizing PDF page contents.
- Fix two memory leaks in the office format parser.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Wed Aug 14 05:55:32 2024 UTC (9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -4 lines
mupdf: really disable FreeGLUT when not enabled as an option

Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed May 15 21:00:43 2024 UTC (11 months, 4 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +6 -6 lines
mupdf: update to 1.24.0.

List of changes in MuPDF 1.24

	Error handling changes:

		You must call pdf_report_error in the final fz_catch. Any
		unreported errors will be automatically reported when a new
		error is raised, or when closing the fitz context.


	New formats:

		Read Office (XML) files! We internally open and convert
		docx/pptx/xlsx documents to HTML to allow reading the plain
		text content. The exact layout will NOT be preserved.

		Optional compile time option to use libarchive for reading CBR
		and other archive formats.

		Read plain text documents.

		Read gzipped files directly.

		Open and read FDF files to support importing annotations or
		form data using the low-level PDF functions. There are no tools
		for this yet.

		Read CFB (Compound File Binary) format archives -- used for the
		Office formats.

		Write images as JPEG2000.

	New tools and features:

		mutool bake (and associated functions) to bake appearance of
		annotations and forms into static content.

		Font subsetting flag to mutool clean (EXPERIMENTAL FEATURE).

		Option to use ObjStms when writing PDF files.

		Compression effort option when writing PDF files.

		Add option to control how line art is affected by redaction.
		Add more options to control how images are affected by
		redaction (remove-unless-invisible).

		Fix up q/Q gstate balance when cleaning content streams.

	New functions and types:

		pdf_rearrange_pages to subset or re-order pages in a PDF file.

		fz_invert_bitmap to invert monochrome bitmaps.

		fz_compressed_image_type to query the format of a compressed
		image.

		fz_text_decoder to convert various legacy and CJK encodings
		into UTF-8.

		More helper functions to easily manipulate PDF objects in C.

		Add flag to control fz_place_story overflow behavior when the
		text doesn't fit into the box.

		New archive handlers can be added at runtime.

	Major bug fixes and improvements:

		Support using Art, Bleed, Media, and Trim boxes for PDF page
		size.

		Support ActualText in PDF! No more strange text extraction when
		the file uses ActualText to patch over bad font encodings.

		Add special TrueType fallback encoding CMap for a specific
		flavor of broken PDF files that use an "identity" encoding
		without embedding the font.

		Limited "transfer function" support in PDF. Transfer functions
		are a deprecated legacy PDF feature that predates proper color
		management. They were intended to provide limited color
		management such as applying a gamma curve. Transfer functions
		have often been (ab)-used to invert images, and many PDF
		creators use them when writing softmask images. We have added
		support for this case only.

		Box drawing characters added to fonts for HTML and plain text
		documents.

		Write more compact PDF files (removed some unneccessary
		whitespace).

		Improved selection behavior for non-axis aligned text.

		Improved heuristics for detecting the logical and visual order
		of RTL text in PDF.

		Improved heuristics for inserting missing spaces in PDF text.

		Improved handling of CMYK JPEG files (which ones are inverted
		and which are not).

		Improved content type detection. Don't assume everything is PDF
		when we can't recognize it.

	Removed deprecated functions:
		pdf_check_signature

Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Dec 7 09:10:16 2023 UTC (17 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -4 lines
mupdf: update to 1.23.7.

List of changes in MuPDF 1.23.0

	New features:
		New WASM library with same API as mutool run and Java, for both browser and Node environments.
		Support CropBox, TrimBox, BleedBox, and ArtBox in PDF tools and viewers.
		PhotoShop PSD image support.
		mupdf-gl: Custom ICC display profile support.
		mutool poster: Option to split in RTL direction.

	Miscellaneous improvements and notable bug fixes:
		EPUB: Fix table cell height calculations.
		EPUB: Inherit table cell background color from table row.
		EPUB: Support files with partial encryption (only read unencrypted parts).
		EPUB: Support files with incorrect directory prefixes.
		TIFF: Stability improvements.
		MOBI: Stability improvements.
		PDF: Support old style border dash patterns.
		PDF: Support GoToR links to remote PDF documents.
		PDF: Improve link parsing and creation.
		ZIP: Improve unicode file name handling.
		Fall back to unhinted fonts if hints are broken.
		Recognize document types by sniffing contents (don't need to rely on mimetype or file extension).

	New APIs:
		More PDF document permission flags.
		Tweaked exception error logging.
		pdf_minimize_document to squeeze amount of memory used by an open document.

	Incompatible API changes:
		pdf_field_name renamed to pdf_load_field_name.
		mutool run -- changed many methods to match Java and new WASM library.

	New and improved documentation.

List of changes in MuPDF 1.22.0

	New command line "mutool recolor" to change colorspace of PDF files.
	New command line "mutool trim" to remove content outside mediabox.
	New flag to "mutool draw": -KK to remove all non-textual content.

	Support PDF page labels.

	Layout HTML tables with variable column widths.

	Added JPEG output format. JPEG should be used with care due to its
	lossy nature (if in doubt, use PDF instead).

	Added PDF filter factories.
	Added PDF color filter.
	Added "culler" to sanitize filter.
	Added flags to control embedding fonts in output.
	New device methods for structured tags.
	Increased maximum allowed image size.
	Add magic flag to temporarily hide annotations when editing them.

	Support RD in Square and Circle annotations.
	Support dashed borders in annotations.
	Support cloudy borders in annotations.
	Improved layers in PDF files.
	Fix performance issue with large PDF files and outlines.

	Updated multi-threading examples.

	Moved WASM project into separate repository.

	Added Java and "mutool run" bindings for many more functions.

List of changes in MuPDF 1.21.0

	Added MOBI input format support.
	Added Story API for creating PDF documents from formatted text.
	Added API to create, edit, and delete links.

	Support custom images for Stamp annotations.
	Support interior color on Polygon annotations.
	Support line endings on PolyLine annotations.

	Improved SVG output.

	C++/Python/C# binding:
		Changes to naming of wrapper functions and classes.
		Added limited support for callbacks into Python, using SWIG Directors.

List of changes in MuPDF 1.20.0

	Experimental C# bindings.
	Cross compilation should no longer need a host compiler.
	Major additions to JNI bindings.

	New API to edit outline
	New API to resolve and create links
	New API to toggle individual layers in PDF
		Layer panel in mupdf-gl
		Layer option in mutool draw
	New API to add a Javascript console
		Console panel in mupdf-gl

	Text search API extended to be able to distinguish between separate search hits.

	Command line tool improvements:
		all: Negative page numbers to index from the last page
		mutool draw: Add option to render document without text
		mutool draw and convert: Support DPI option in text and HTML output

	New hybrid HTML output format using "scripts/pdftohtml" script:
		Graphics in a background image
		Text on top

	Improved WASM viewer demo
		Support high DPI screens
		Progressive loading

	Update to zlib 1.2.12 for security fix.

	Too many bug fixes to list.

List of changes in MuPDF 1.19.0

	Removed support for Luratech JBIG2 and JPEG2000 decoders.

	Added 'extract' library for more output options:
		Added DOCX output format
		Added ODT output format

	Notable new features:
		Journal for undo and redo
		Snapshot for auto-save and restore (for backgrounding mobile apps)
		Reflow document wrapper
		Rollover appearance for annotations and widgets
		Customize appearance of signed digital signatures
		Progress and cancel callbacks to OCR functions
		Create signature form fields

	Minor new features:
		Support CJK fonts in pdfwrite output
		Support JBIG2 images in pdfwrite output
		Support opacity for all markup annotation types
		High-DPI aware UI in mupdf-gl
		mutool extract -a option to embed SMasks as alpha channel

	API changes:
		Removed pdf_widget type alias (was always same as pdf_annot)
		Updated annotation 'dirty' logic
		Fix typo in function and type names: designated name -> distinguished name
		More functions available to 'mutool run'
		More functions available to Java library

	New unicode scripts and fonts for EPUB:
		Dogra, Elymaic, Gondi, Hanifi Rohingya, Masaram Gondi,
		Medefaidrin, Nushu, Nyiakeng Puachue Hmong, Old Sogdian,
		Sogdian, Soyombo, Wancho, Yezidi, and Zanabazar Square.

	C++ and Python bindings:
		C++ and Python bindings now work on Windows.
		Python bindings are available as pre-built binaries on pypi.org.
		Added demo PDF viewer using the Python MuPDF bindings and PyQt.

		Better access to data in generated wrapper classes.
		Improved handling of out-parameters in generated Python.
		Text representation of POD types via C++ operator<< and Python str().
		Fixed ref-counting bug in iterators.
		Updates for new MuPDF functions.

List of changes in MuPDF 1.18.0

	mutool draw: bbox output format.
	mutool draw: structured text extraction in JSON format.
	mutool run: StructuredText.walk()
	mutool run: PDFPage.process() and PDFAnnotation.process()

	mupdf-gl: Added IBM Common User Access shortcuts for copy & paste.
	mupdf-gl: Improved redaction UI.

	java: Example desktop Java viewer.

	wasm: WebAssembly viewer that runs in a browser.

	api: Dehyphenation option in structured text extraction, to improve
		searching for words that are hyphenated across lines.
	api: pdf_new_date, pdf_to_date, pdf_dict_put_date and pdf_dict_get_date.
	api: Added choice of image redaction algorithms: none, full, partial.
	api: Optional use of Tesseract to use OCR to extract text.

	svg: Many small parsing fixes.
	svg: Parse inline CSS style attributes.
	svg: Text elements (simple text layout only).

	html: Added HTML5 parser.

	pdf: High security redaction -- save redacted PDF as flattened bitmap,
		guaranteed to not leak any sensitive redacted information.

	Experimental C++ bindings.
	Experimental Python bindings.

List of changes in MuPDF 1.17.0

	api: Improved accessors for markup/ink/polygon annotation data.
	api: Chapter based API for faster EPUB loading.
	api: Add more documentation to header files.
	api: Improved digital signature signing and verification.
	api: Validate changes in a signed PDF file.

	build: Moved windows build to VS2019 solution.

	pdf: Redaction now works on images and links as well as text.
	pdf: Greek, Cyrillic, Chinese, Japanese, and Korean scripts in forms and annotations.
	pdf: File attachment annotations.
	pdf: Use CCITT Fax compression for 1-bit images when creating PDF files.

	epub: More forgiving XHTML parsing.
	epub: Accelerator files to cache chapter data for faster EPUB loading.
	epub: Optimized memory use.

	mutool run: Edit Markup, Ink, and Polygon annotation data.
	mutool run: Fill out form fields.
	viewer: Ask for confirmation before closing a PDF with unsaved changes.
	viewer: Embed and extract file attachment annotations.

	library: Miscellaneous bugfixes.
	library: Fixes to store operation.

	thirdparty: Updated Harfbuzz to 2.6.4.
	thirdparty: Updated jbig2dec to 0.18.
	thirdparty: Updated MuJS to 1.0.7.
	thirdparty: Updated OpenJPEG to 2.3.1.
	thirdparty: Updated cURL to 7.66.0 (windows only).

List of changes in MuPDF 1.16.1

	mupdf-x11: Changed key bindings to match mupdf-gl.
	mupdf-x11: Invert by luminance for dark mode.
	android: Fix compilation error.

List of changes in MuPDF 1.16.0

	api: Major overhaul of color management architecture.
	api: Improved functions to verify/sign PDF documents.
	api: Number tree accessor function pdf_lookup_number.
	api: Parse and handle more options for PWG output.
	api: Removed obsolete gproof document type.
	api: User callbacks for warning and error messages.

	epub: Changed default page size to A5.
	epub: Draw embedded SVG documents in EPUB/XHTML.
	epub: New Noto fonts covering more unicode scripts.
	epub: Support small-caps font-variant.
	pdf: Add Redact annotation type and function to apply redactions.
	pdf: Add/remove/change encryption and password when saving PDF files.
	pdf: Improvements to text handling in PDF filter processor.
	pdf: MP and DP operators now call begin/end_layer device methods.
	pdf: New and improved progressive loading.
	svg: Draw external images in SVG documents.

	mutool show: Add 'form' selector to list PDF form fields.
	mutool sign: Sign PDF documents from the command line.
	mutool sign: Verify signatures in PDF documents from the command line.
	viewer: Option to save a script of user actions for replay with mutool run.
	viewer: Runtime toggle for ICC and spot rendering.
	viewer: Tooltip when hovering over a link in mupdf-gl.

List of changes in MuPDF 1.15.0

General improvements:
	* WebAssembly build target and examples.
	* Improved forms API in both C and Java bindings.
	* Improved forms JavaScript support.
	* Create appearance streams for more form field types.
	* Fixed many bugs in ICC color management.
	* Fixed many memory leaks in error cleanup.
	* Fixed bugs in pdfwrite output.
	* Improved text extraction from LaTeX documents with math symbols.
	* Improved trace device formatting.
	* Support CBZ and CBT files larger than 2Gb.
	* Show table of contents for FB2 and XHTML documents.
	* Show embedded raster images in SVG and XHTML documents.
	* Show FB2 cover page.
	* Add option to save PDF files without encryption.
	* Add inhibit-spaces option to stext device to turn off missing space detection.
	* Simplified fz_try/fz_always/fz_catch macros.

mupdf-gl improvements:
	* Automatically open annotation editor when selecting an annotation.
	* Full page color tinting option in mupdf-gl.
	* Show/hide table of contents sections.
	* Trigger a reload with sighup.
	* Toggle spot color mode with 'e'.

mutool improvements:
	mutool show $PDF outline -- show outline with open/closed state indicator.
	mutool show $PDF js -- show document level javascript.
	mutool clean -A -- create appearance streams when missing.
	mutool clean -AA -- recreate all appearance streams.
	mutool run docs/examples/portfolio.js -- extract embedded files from PDF document.
	mutool run docs/examples/pdf-dejpx.js -- decompress JPEG2000 images in PDF document.
	mutool run docs/examples/fix-s22pdf.js -- fix fonts in documents generated by S22PDF.

Significant API changes:
	* New and improved forms API.
	* Renamed -DNO_ICC to -DFZ_ENABLE_ICC=0
	* Removed fz_annot superclass. Use pdf_annot and pdf_widget directly instead.
	* Annotations and Widgets now have separate enumerators.
	* Added optional separations argument to pixmap rendering utility functions.

Various cleanups:
	Per-function documentation comments moved to the source file.
	Hopefully they will stay up to date more often than when they
	were hidden away in the header file.

	Removed unused internal testing tools: mjsgen and jstest.

	Removed TGA output support. Use one of the more common and useful PAM,
	PNM, PNG, or TIFF formats instead.

	Removed support for PDF portfolios. This work-in-progress feature was
	never completed, and only worked for a small subset of files.

	Removed support for progressive loading. This rarely used feature added
	a lot of complexity and was an unending source of bugs and strange
	behaviour. Removing this feature has allowed us to clean up and
	simplify large amounts of code, and fix dozens of bugs in one fell
	swoop.

List of changes in MuPDF 1.14.0

* New features:
	* Added "Source Han Serif" CJK fallback font.
	* Added more scripts to the Noto fallback fonts.
	* Multi-page PNM support.
	* "mutool show" now supports a path syntax for selecting objects to show.

* Build system simplifications:
	* Auto-generated CMap, ICC, and JS source files are checked in to git.
	* Embedded CMap resources are now generated by a python script.
	* Embedded font resources are linked directly if using GNU ld or windows.
	* Namegen tool replaced by use of C macros.
	* Simplified Makefile.

* Annotation editing:
	* New annotation editing mode in mupdf-gl.
	* Can create, edit, and delete most annotation types.
	* Can create appearance streams for most annotation types.
	* Can create appearance streams for Tx form fields.
	* Can create appearance streams for Ch form fields.

* Form filling in mupdf-gl:
	* Can click buttons, checkboxes, and radioboxes.
	* Can fill out text fields using dialog box.
	* Can select choice options using dialog box.
	* Can verify and sign digital signatures.

* Improved UI for mupdf-gl:
	* Password dialog.
	* Error dialog.
	* Open/save file dialog.
	* Snap selection to words or lines by holding control or control+shift.
	* Save and restore current location, bookmarks, and navigation history.

* Bug fixes:
	* Improved CJK character fallback handling in EPUB.

* API changes:
	* Pass rectangle and matrix structs by value.
	* Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
	* Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
	* Added helper functions: pdf_dict_get_int, etc.
	* Removed 'doc' argument in pdf_new_int, etc.
	* Quads instead of rects when highlighting and searching text.
	* mutool run: Pass arguments to script in scriptArgs global.

List of changes in MuPDF 1.13.0

* This is primarily a bugfix release.

* New "mutool sign" tool for showing and verifying digital signatures.
* Chinese, Japanese, Korean, Cyrillic, and Greek font support in mutool create.
* Improvements to annotation editing API.

List of changes in MuPDF 1.12.0

* New Android SDK:
	New git repositories for the SDK projects:
		* mupdf-android-fitz.git has the JNI bindings in a library.
		* mupdf-android-viewer.git has the viewer as an activity in a library.
		* mupdf-android-viewer-mini.git has the minimalist viewer as an activity in a library.
	Binary packages in our Maven repository at http://maven.ghostscript.com:
		* com.artifex.mupdf:fitz:1.12.+
		* com.artifex.mupdf:viewer:1.12.+
		* com.artifex.mupdf:mini:1.12.+

* Color management:
	* LCMS2 library for color management.
	* CMYK rendering with overprint simulation.
	* Spot color rendering.
	* Transparency rendering fixes.

* Structured text output improvements:
	* Reworked structured text API.
	* Faster text searching.
	* Highlight and copy text by selecting lines instead of by area.
	* New semantic XHTML output format.
	* New layout preserving HTML output format.

* Features and improvements:
	* Improved non-AA rendering with new scan converter.
	* Improved LARGEFILE support.
	* Improved TIFF support.
	* Improved documentation.
	* PCLm output.
	* PSD output.
	* New "mutool trace" tool.
	* New "mutool sign" tool (work in progress).
	* Text redaction (work in progress).

* Lots of bug fixes.

List of changes in MuPDF 1.11

* This is primarily a bug fix release.

* Split Android and iOS viewers into separate projects:
	* mupdf-viewer-ios.git has the iOS viewer.
	* mupdf-viewer-android-old.git has the Android viewer.
	* mupdf-viewer-android-nui.git has a new advanced Android viewer.
	* mupdf-viewer-android-mini.git has a new minimalist Android viewer.

* PDF portfolio support with command line tool "mutool portfolio".
* Add callbacks to load fallback fonts from the system.
* Use system fonts in Android to reduce install size.
* Flag to disable publisher styles in EPUB layout.
* Improved SVG output.

List of changes in MuPDF 1.10

* Headline changes:
	* FictionBook (FB2) e-book support.
	* Simple SVG parser (a small subset of SVG only).
	* mutool convert: a new document conversion tool and interface.
	* Multi-threaded rendering in mudraw.
	* Luratech decoders for JBIG2 and JPEG2000 (commercial releases only).
	* Optional JPEG-XR support (not included by default for security reasons).
	* Updated base 14 fonts from URW.
	* New CJK font with language specific variants.
	* Hyperlink support in EPUB.

* Reduced memory use:
	* New tool muraster: example printer driver with limited RAM usage and automatic banding.
	* Alpha channel is now optional in pixmaps.
	* More aggressive purging of cached objects.
	* Partial image decoding for lower memory use when banding.

* Reduced code size when building with a subset of features:
	* Reduced default set of built-in CMap tables to the minimum required.
	* FZ_ENABLE_PDF, _XPS, _JS, to disable features at compile time.
	* Function level linking.

* Interface changes and cleanups:
	* Dropped pdf object generation numbers from public interfaces.
	* Simplified PDF page, xobject, and annotation internals.
	* Closing and freeing devices and writers are now separate steps.
	* Improved PDF annotation editing interface (still a work in progress).
	* Document writer interface.
	* Banded image writer interface.

* Mobile viewers:
	* New JNI interfaces to match capabilities of 'mutool run' javascript.
	* New android and desktop java examples using new JNI interface.

List of changes in MuPDF 1.9

* Headline changes:
	* New command line tools: create and run.
	* New low-level Java interface for desktop and android.
	* Bidirectional layout for Arabic and Hebrew scripts.
	* Shaping complex scripts for EPUB text layout.
	* Noto fallback fonts for EPUB layout.

* mutool create
	Create new PDF files from scratch.
	Read an annotated content stream in a text file and write a PDF file,
	automatically embedding font and image resources.

* mutool run
	Run javascript scripts with MuPDF bindings.
	The interface is similar to the new Java interface.

* mutool draw
	Optional multi-threaded operation (Windows and pthreads).
	Optional low memory mode (primarily for testing).

List of changes in MuPDF 1.8

* Headline changes:
	* New OpenGL-based barebones desktop viewer.
	* New URW fonts with greek and cyrillic.
	* 64-bit file support.
	* Ghostscript proofing mode (source only; not in shipped binaries).

* EPUB improvements:
	* User style sheets.
	* GIF images (also for CBZ).
	* Table of contents.
	* CJK text.
	* Page margins.
	* Many bug fixes.

* Bug fixes:
	* Updated FreeType to version 2.6.1.
	* Various font substitution bug fixes.
	* Fix setjmp/longjmp behaviour which could cause optimizing compilers to misbehave.

List of changes in MuPDF 1.7a

* Bugfixes
	* Fixed bug that allocated too much memory when packing paths.
	* Fixed EPUB font scaling bug.
	* Fixed EPUB file type handling in viewers.
	* Improved tolerance for broken and unsupported CSS.

* Features
	* Added mudraw -z option to compress output streams.

List of changes in MuPDF 1.7

* Headline changes:
	* New 'Indie dev' licensing options - contact sales@artifex.com for more details.
	* New HTML layout engine, and (DRM-free) EPUB viewer.
	* Reduced memory usage - displaylists and internal PDF representation take much less memory, reducing total memory use on some files by over 60%.

* Important API changes:
	* Bound contexts have been removed; we now pass fz_contexts explicitly.
	* Reference counting of paths and text structures.

* Features:
	* Add mutool pages option.
	* Tweaked rendering to prevent feature dropout in common cases.
	* Viewer tweaks
		* Better mouse wheel handling
		* Shift-space support
		* Mouse button control of presentation mode

* Internal changes:
	* Removal of bound contexts; fz_contexts now passed explicitly everywhere.
	* PDF filter revamp - simpler interface.
	* Devices use derived structures rather than user pointer.
	* Sparse PDF xrefs held in more compact form.
	* New gsview viewer split out to its own repository.

* Bug fixes
	* Improved handling of broken files.
	* Fix BBoxes of Type 3 fonts.
	* Updated fonts (including greek and cyrillic).
	* Various memory leaks and crashes.
	* And many more.


List of changes in MuPDF 1.6

* Features:
	* Color detection device (mudraw -T).
	* Sepia mode full-page color tinting in X11 and win32 viewer (keybinding: shift-C).
	* Re-implement printf and strtod due to portability issue with locales and number formatting.
	* Add 'gsview' project: a Windows Modern UI viewer.
	* Improve XML parser interface.
* Bug fixes:
	* CBZ page ordering
	* ZIP64 support
	* iOS and Android bug fixes
	* Miscellaneous minor fixes


List of changes in MuPDF 1.5

* Bug fixes.


List of changes in MuPDF 1.4

* Headline changes:
	* CMYK rendering (mudraw PWG and PAM formats)
	* TIFF viewer (with multi-page support).
	* Added MuJS Javascript interpreter.
		* MuJS is the default, V8 and JavaScriptCore are compile time options.
		* Javascript support has to be explicitly enabled with pdf_enable_js.
		* All viewers now have JavaScript enabled in the default builds.
* Viewers:
	* X11: Horizontal scroll wheel support.
	* X11: Status bar display with warnings.
	* Android: Digital signatures.
	* iOS: Links, form filling, annotation editing, and javascript.
	* iOS: Reflow mode.
	* WinRT: Printing.
	* WinRT: Improved zooming behaviour.
* Tools:
	* mudraw: Banded rendering with -B /band-height/.
	* mudraw: Select output format with -F /format/.
	* mudraw: Write to stdout if you use '-' as the output file name.
	* mudraw: Add TGA output format.
	* mudraw: Improved SVG output.
	* mutool show: Write output to file instead of stdout with -o /filename/.
	* mutool clean: Clean content streams with -s option.
* Annotations:
	* Improved font handling.
	* Form fields.
	* Free text.
	* Sticky notes.
* Optimizations:
	* glyph cache: Partial eviction.
	* glyph cache: Run-length compressed glyphs.
	* Smarter handling of subpixel metrics in text rendering.
	* Optimized blitting functions.
	* Optimized gradient mesh drawing.
* API changes and additions:
	* fz_stream API reworked: replace "read" function with "next".
	* "Rebind" functions to associate context bound objects with another context:
		fz_output, fz_stream, fz_device and fz_document.
	* Introduce "document handlers" to detect and open different file types.
		* Must now call fz_register_document_handlers() to register the defaults.
		* May register your own handlers as well to work with fz_open_document.
	* Hook to load system fonts: fz_install_load_system_font_funcs.
	* PDF xref cache flushing functions (mark/clear/clear-to-mark).
	* Add our own "printf" set of functions to format strings and write to fz_output:
		* Format %f as short as possible while preserving precision.
		* Has %C for formatting a unicode character as UTF-8.
		* Has %M to format fz_matrix.
		* Has %R to format fz_rect.
		* Has %q and %( to format strings with escaped characters.
	* PDF process interface: allow PDF interpreter to do more than just draw!
		* Content stream state cleaning filter.
		* Content stream rewriting filter.
	* PDF digital signatures.
	* Stroke states may now be stored on the stack.
	* Improved fz_path internals.
	* Gradient mesh drawing interface has been improved.
	* Save files with incremental updates.


List of changes in MuPDF 1.3

 * Windows RT viewer app for MuPDF.
 * Library changes to support progressive loading (display PDF files as
   they download). Windows/Linux/MacOS viewer supports this using curl.
 * Incremental updates to PDF files are now (optionally) preserved on
   loading/saving.
 * Prototype support for checking PDF Digital Signatures.
 * Initial annotation support (strike-out, underline, highlight and ink)
   (library and android builds only).
 * Fix operation on Android API level 8.
 * Android redraw optimisations.
 * Android app now supports Google Cloud Print.
 * Android app translated into many languages.
 * Android support for more architectures.
 * Improvements to store (avoid collisions causing unnecessary evictions).
 * Windows apps use Unicode filenames now.
 * PDF function handling improved; functions can now be passed to devices
   without 'sampling'.
 * PDF image handling improved; images can now be passed to devices
   without decompression.
 * Indexed images are no longer uncompressed at load time, saving memory.
 * Caching of rendered tiles for speed.
 * Improved text analysis mode, capable of spotting columns/indents,
   right-to-left text etc.
 * HTML output mode now includes image output.
 * PDF password encoding handling improved.
 * MuPDF now opens Jpeg, Tiff and PNG files directly.
 * Bug preventing OpenXPS files from being opened fixed.
 * Initial (feature incomplete) SVG and PDF output devices.
 * PWG raster (mono/grey/RGB) and PCL (mono) output devices.
 * Various performance improvements (including tilings and mesh based
   shadings).
 * Revamped directory structure to reflect recent changes.
 * Various potential SEGV, SoftMask and rendering fixes.
 * Many potential crashes in Jpeg2000 and JBIG2 images fixed.


List of changes in MuPDF 1.2

 * Important API changes:
    * fz_bbox is now fz_irect.
    * APIs (including fz_device) now pass fz_rect/fz_matrix by reference.
    * fz_device API is now more consistent with regards to use of
      fz_rect rather than fz_bbox.
 * Add support for Javascript and forms handling.
 * Fix many SEGVs with out of spec files. Many thanks to Mateusz "j00ru"
   Jurczyk and Gynvael Coldwind of the Google Security team, zeniko,
   Sebastian Rasmussen and all other contributors.
 * Add fz_open_document_with_stream to allow non-file based operation.
 * Move to using git submodules for third party libraries.
 * Much enhanced Android application. Now on Google Play!
 * Oversized and stroke text clipping implemented.
 * Change shadings to decompose at render times; massive memory savings.
 * Renamed 'mubusy' to 'mutool'.
 * PDF 1.7 Extension Level 8 encryption implemented.
 * Added consts to various parts of the API to help C++ interworking.
 * Prototype transition support.
 * Text searching API moved to fitz.
 * Highlight and copy text selections.
 * Performance enhancements for color conversion and fax decompression.
 * ARM optimisations for color conversion and bitmap scaling.
 * Bitmap subsampling stage introduced, with ARM optimisations.
 * Type 3 fonts; glyphs are now handled as display lists.
 * Scan converter performance improvements.
 * Various rendering fixes.


List of changes in MuPDF 1.1

 * Rendering bugs fixed (text clipping, stroked text etc).
 * Better handling of 'large' (uncachable) glyphs.
 * Added a delete button to the library view on the iOS port.
 * Minor speed optimisations.
 * Shading bug fixes.
 * Move to using dynamically allocated parsing buffers (more resilient).
 * Support for UserUnits.
 * Fix bugs with image predictors (including with 16 bit images).
 * More resilient to out of spec files.
 * Extract pdf writing capability into the library from pdfclean, and
   expand on it to allow for linearisation. Bug fixes in the garbage
   collection of unused objects.
 * Improve pdf writing recognition of images.
 * Improved font matching.
 * Start to move away from macros to inline functions (helpful for
   applications requiring certification).
 * Many bugs fixed.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Nov 19 13:39:05 2023 UTC (17 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -4 lines
mupdf: update to 1.23.6.

Changes not found.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Nov 13 11:49:41 2023 UTC (18 months ago) by wiz
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -4 lines
mupdf: update to 1.23.5.

Changes not found.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Oct 19 15:02:52 2023 UTC (18 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +4 -4 lines
mupdf: update to 1.23.4.

MuPDF 1.23.4 (2023-10-11)

    Fix bug causing a crash when cleaning up Android draw device upon destroy.
    Fix bug where bitmaps were reused after being recycled in Android.
    Add fixed padding to ink annotation to avoid unselectable bboxes for tiny strokes.
    Add API for checking if an annotation has a Rect property.
    Fix bug where cycles in structure trees caused eternal loops.
    Fix bug where colorspaces were not retained for in-linee images during filtering.
    Change default to use CropBox rather than MediaBox.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Sep 7 15:02:03 2023 UTC (20 months, 1 week ago) by vins
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -2 lines
print/mupdf: better sort Makefile.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Sep 7 14:36:54 2023 UTC (20 months, 1 week ago) by vins
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +10 -7 lines
print/mupdf: update to MuPDF 1.23.3

# Changes (local)

  * Import patch from OpenBSD ports, adding support for fine-grained zoom.
  * Fix scrolling with vi-like bindings (from FreeBSD ports).
  * Use REPLACE_INTERPRETER instead of an ad-hoc patch.
  * Don't install html documentation (turn it into an option in future?)
  * Provide .desktop application file and pixmap for mupdf.
  * Avoid executable bit being set on static libs.
  * Other minor fixes.
  * Package linted.

# Changes (upstream)

## 1.23.3 (2023-09-05)

  * Fix bug where an inconsistent xref caused problems when saving PDF.

## 1.23.2 (2023-08-31)

  * Fixes needed to allow tesseract builds in C++/Python bindings.

## 1.23.1 (2023-08-29)

  * Fix bug where implicit operations where not ended when creating
    signature widget annotations.
  * Fix bug where saving an encrypted PDF requiring encryption could
    cause an invalid saved file.
  * Fix bug where ink annotation line caps adhered to rendering in older
    Adobe Acrobat Reader.
  * Fix compilation issue of shared library used in pythong bindings.

## 1.23.0 (2023-08-22)

 New features:

  * New WASM library with same API as mutool run and Java, for both
    browser and Node environments.
  * Support CropBox, TrimBox, BleedBox, and ArtBox in PDF tools and
    viewers.
  * PhotoShop PSD image support.
  * mupdf-gl: Custom ICC display profile support.
  * mutool poster: Option to split in RTL direction.

 Miscellaneous improvements and notable bug fixes:

  * EPUB: Fix table cell height calculations.
  * EPUB: Inherit table cell background color from table row.
  * EPUB: Support files with partial encryption (only read unencrypted
    parts).
  * EPUB: Support files with incorrect directory prefixes.
  * TIFF: Stability improvements.
  * MOBI: Stability improvements.
  * PDF: Support old style border dash patterns.
  * PDF: Support GoToR links to remote PDF documents.
  * PDF: Improve link parsing and creation.
  * ZIP: Improve unicode file name handling.
  * Fall back to unhinted fonts if hints are broken.
  * Recognize document types by sniffing contents (don't need to rely on
    mimetype or file extension).

 New APIs:

  * More PDF document permission flags.
  * Tweaked exception error logging.
  * pdf_minimize_document to squeeze amount of memory used by an open
    document.

 Incompatible API changes:

  * pdf_field_name renamed to pdf_load_field_name.
  * mutool run: Changed many methods to match Java and new WASM library.

 New and improved documentation.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Aug 3 03:57:28 2023 UTC (21 months, 1 week ago) by ryoon
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3 lines
mupdf: Fix comments in patches for use of internal lcms2

-DFZ_ENABLE_ICC=0 in patch-ab can be removed. However to minimize
mechanism changes on library detection, it is preserved as commented out
line.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Aug 2 14:32:46 2023 UTC (21 months, 1 week ago) by ryoon
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -4 lines
mupdf: Enable color management

* The external lcms2 from graphics/lcms2 is not compatible with
  current mupdf. Remove some changes that disable internel lcms2.
* Bump PKGREVISION.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Jun 28 08:37:16 2023 UTC (22 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +4 -4 lines
mupdf: update to 1.22.2.

This is a bug fix source release only.

Various bug fixes cherry-picked back from development work
required to fix PyMuPDF issues.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue May 16 22:40:38 2023 UTC (23 months, 4 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +4 -4 lines
mupdf: update to 1.22.1.

List of changes in MuPDF 1.22.1

	This is a bug fix release only.

	Unfortunately a bug slipped into the 1.22.0 release that affects redactions.
	A mistake in a bugfix meant that we failed to correctly redact some images.

	If you use MuPDF for redactions, it is imperative that you upgrade!

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Apr 29 08:21:02 2023 UTC (2 years ago) by wiz
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -4 lines
mupdf: update to 1.22.0.

List of changes in MuPDF 1.22.0

	New command line "mutool recolor" to change colorspace of PDF files.
	New command line "mutool trim" to remove content outside mediabox.
	New flag to "mutool draw": -KK to remove all non-textual content.

	Support PDF page labels.

	Layout HTML tables with variable column widths.

	Added JPEG output format. JPEG should be used with care due to its
	lossy nature (if in doubt, use PDF instead).

	Added PDF filter factories.
	Added PDF color filter.
	Added "culler" to sanitize filter.
	Added flags to control embedding fonts in output.
	New device methods for structured tags.
	Increased maximum allowed image size.
	Add magic flag to temporarily hide annotations when editing them.

	Support RD in Square and Circle annotations.
	Support dashed borders in annotations.
	Support cloudy borders in annotations.
	Improved layers in PDF files.
	Fix performance issue with large PDF files and outlines.

	Updated multi-threading examples.

	Moved WASM project into separate repository.

	Added Java and "mutool run" bindings for many more functions.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Apr 29 08:17:53 2023 UTC (2 years ago) by wiz
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
mupdf: reduce local patches

In particular, mostly libtoolization and installed libraries.
Only user, zathura-pdf-mupdf, still builds fine.

Bump PKGREVISION.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Jan 3 15:48:38 2023 UTC (2 years, 4 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -4 lines
mupdf: update to 1.21.1.

List of changes in MuPDF 1.21.1 (Source only release for PyMuPDF)

	Miscellaneous bug fixes, including:
		Garbage collection problem causing file bloat on clean.
		Don't assume sorted objects in pdf_objcmp.
		Don't layout empty documents.
		Type 3 font char bboxes.

List of changes in MuPDF 1.21.0

	Added MOBI input format support.
	Added Story API for creating PDF documents from formatted text.
	Added API to create, edit, and delete links.

	Support custom images for Stamp annotations.
	Support interior color on Polygon annotations.
	Support line endings on PolyLine annotations.

	Improved SVG output.

	C++/Python/C# binding:
		Changes to naming of wrapper functions and classes.
		Added limited support for callbacks into Python, using SWIG Directors.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Sep 28 20:16:37 2022 UTC (2 years, 7 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +4 -4 lines
mupdf: Update to 1.20.3

Changes:
1.20.[123] are bugfix releases, no changelog (in CHANGES) available.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Thu Sep 1 13:56:53 2022 UTC (2 years, 8 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -5 lines
mupdf: Use mujs from pkgsrc. Delete no-longer-needed patches.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Jul 24 10:13:38 2022 UTC (2 years, 9 months ago) by leot
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -2 lines
mupdf: Avoid bash dependency

Should hopefully fix the build.

Problem reported by <wiz>, thanks!

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Jul 23 15:09:43 2022 UTC (2 years, 9 months ago) by leot
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +7 -8 lines
mupdf: Update to 1.20.0

Changes:
1.20.0
------
Experimental C# bindings.
Cross compilation should no longer need a host compiler.
Major additions to JNI bindings.

New API to edit outline
New API to resolve and create links
New API to toggle individual layers in PDF
   Layer panel in mupdf-gl
   Layer option in mutool draw
New API to add a Javascript console
   Console panel in mupdf-gl

Text search API extended to be able to distinguish between separate
search hits.

Command line tool improvements:
   all: Negative page numbers to index from the last page
   mutool draw: Add option to render document without text
   mutool draw and convert: Support DPI option in text and HTML output

New hybrid HTML output format using "scripts/pdftohtml" script:
   Graphics in a background image
   Text on top

Improved WASM viewer demo
   Support high DPI screens
   Progressive loading

Update to zlib 1.2.12 for security fix.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Apr 30 13:05:24 2022 UTC (3 years ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -4 lines
Update to 1.19.1

Upstream changes:
List of changes in MuPDF 1.19.1

        Updated zlib to 1.2.12 due to CVE-2018-25032.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Oct 26 11:12:10 2021 UTC (3 years, 6 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2 lines
print: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Oct 23 15:22:07 2021 UTC (3 years, 6 months ago) by leot
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +10 -10 lines
mupdf: Update to 1.19.0

Changes:
1.19.0
------
 * Removed support for Luratech JBIG2 and JPEG2000 decoders.
 * Added 'extract' library for more output options:
     Added DOCX output format
     Added ODT output format
 * Notable new features:
     Journal for undo and redo
     Snapshot for auto-save and restore (for backgrounding mobile apps)
     Reflow document wrapper
     Rollover appearance for annotations and widgets
     Customize appearance of signed digital signatures
     Progress and cancel callbacks to OCR functions
     Create signature form fields
 * Minor new features:
     Support CJK fonts in pdfwrite output
     Support JBIG2 images in pdfwrite output
     Support opacity for all markup annotation types
     High-DPI aware UI in mupdf-gl
     mutool extract -a option to embed SMasks as alpha channel
 * API changes:
     Removed pdf_widget type alias (was always same as pdf_annot)
     Updated annotation 'dirty' logic
     Fix typo in function and type names: designated name -> distinguished name
     More functions available to 'mutool run'
     More functions available to Java library
 * New unicode scripts and fonts for EPUB:
     Dogra, Elymaic, Gondi, Hanifi Rohingya, Masaram Gondi,
     Medefaidrin, Nushu, Nyiakeng Puachue Hmong, Old Sogdian,
     Sogdian, Soyombo, Wancho, Yezidi, and Zanabazar Square.
 * C++ and Python bindings:
     C++ and Python bindings now work on Windows.
     Python bindings are available as pre-built binaries on pypi.org.
     Added demo PDF viewer using the Python MuPDF bindings and PyQt.
     Better access to data in generated wrapper classes.
     Improved handling of out-parameters in generated Python.
     Text representation of POD types via C++ operator<< and Python str().
     Fixed ref-counting bug in iterators.
     Updates for new MuPDF functions.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Oct 7 14:48:59 2021 UTC (3 years, 7 months ago) by nia
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +1 -2 lines
print: Remove SHA1 hashes for distfiles

Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue May 25 07:59:43 2021 UTC (3 years, 11 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -1 lines
mupdf: apply fix for CVE-2021-3407, bump PKGREVISION

Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Oct 8 22:50:16 2020 UTC (4 years, 7 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +8 -8 lines
mupdf: Update to 1.18.0

Changes:
1.18.0
------
mutool draw: bbox output format.
mutool draw: structured text extraction in JSON format.
mutool run: StructuredText.walk()
mutool run: PDFPage.process() and PDFAnnotation.process()

mupdf-gl: Added IBM Common User Access shortcuts for copy & paste.
mupdf-gl: Improved redaction UI.

java: Example desktop Java viewer.

wasm: WebAssembly viewer that runs in a browser.

api: Dehyphenation option in structured text extraction, to improve
     searching for words that are hyphenated across lines.
api: pdf_new_date, pdf_to_date, pdf_dict_put_date and pdf_dict_get_date.
api: Added choice of image redaction algorithms: none, full, partial.
api: Optional use of Tesseract to use OCR to extract text.

svg: Many small parsing fixes.
svg: Parse inline CSS style attributes.
svg: Text elements (simple text layout only).

html: Added HTML5 parser.

pdf: High security redaction -- save redacted PDF as flattened bitmap,
     guaranteed to not leak any sensitive redacted information.

Experimental C++ bindings.
Experimental Python bindings.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu May 7 20:42:56 2020 UTC (5 years ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +11 -12 lines
mupdf: Update to 1.17.0

pkgsrc changes:
 - Remove patches/patch-platform_x11_pdfapp.c, no longer needed

Changes:
1.17.0
------
api: Improved accessors for markup/ink/polygon annotation data.
api: Chapter based API for faster EPUB loading.
api: Add more documentation to header files.
api: Improved digital signature signing and verification.
api: Validate changes in a signed PDF file.

build: Moved windows build to VS2019 solution.

pdf: Redaction now works on images and links as well as text.
pdf: Greek, Cyrillic, Chinese, Japanese, and Korean scripts in forms and annotations.
pdf: File attachment annotations.
pdf: Use CCITT Fax compression for 1-bit images when creating PDF files.

epub: More forgiving XHTML parsing.
epub: Accelerator files to cache chapter data for faster EPUB loading.
epub: Optimized memory use.

mutool run: Edit Markup, Ink, and Polygon annotation data.
mutool run: Fill out form fields.
viewer: Ask for confirmation before closing a PDF with unsaved changes.
viewer: Embed and extract file attachment annotations.

library: Miscellaneous bugfixes.
library: Fixes to store operation.

thirdparty: Updated Harfbuzz to 2.6.4.
thirdparty: Updated jbig2dec to 0.18.
thirdparty: Updated MuJS to 1.0.7.
thirdparty: Updated OpenJPEG to 2.3.1.
thirdparty: Updated cURL to 7.66.0 (windows only).

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Dec 12 14:35:55 2019 UTC (5 years, 5 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -1 lines
mupdf: Fix pressing ` ' (space) on second to last page

When ` ' (space) was pressed on second to last page it did not advanced to the
next page as it should.

PKGREVISION++

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Sep 23 12:17:04 2019 UTC (5 years, 7 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
mupdf: pkgsrc now uses freeglut - update patches.

Don't force traditional glut so the extensions are enabled properly.

Helps the opengl build.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Aug 4 09:38:17 2019 UTC (5 years, 9 months ago) by leot
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +5 -5 lines
mupdf: Update to 1.16.1

Changes:
1.16.1
------
 - Misc minor bug fixes (released to fix a build issue on Android)

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Aug 3 14:47:41 2019 UTC (5 years, 9 months ago) by leot
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +8 -9 lines
mupdf: Update to 1.16.0

pkgsrc changes:
 - (re)add curl option to build mupdf with curl support (disabled by default).
   Unlike previous versions that supported curl now mupdf with curl support is
   installed as a separate binary as `mupdf-curl' as done by upstream.

Changes:
1.16.0
------
api: Major overhaul of color management architecture.
api: Improved functions to verify/sign PDF documents.
api: Number tree accessor function pdf_lookup_number.
api: Parse and handle more options for PWG output.
api: Removed obsolete gproof document type.
api: User callbacks for warning and error messages.

epub: Changed default page size to A5.
epub: Draw embedded SVG documents in EPUB/XHTML.
epub: New Noto fonts covering more unicode scripts.
epub: Support small-caps font-variant.
pdf: Add Redact annotation type and function to apply redactions.
pdf: Add/remove/change encryption and password when saving PDF files.
pdf: Improvements to text handling in PDF filter processor.
pdf: MP and DP operators now call begin/end_layer device methods.
pdf: New and improved progressive loading.
svg: Draw external images in SVG documents.

mutool show: Add 'form' selector to list PDF form fields.
mutool sign: Sign PDF documents from the command line.
mutool sign: Verify signatures in PDF documents from the command line.
viewer: Option to save a script of user actions for replay with mutool run.
viewer: Runtime toggle for ICC and spot rendering.
viewer: Tooltip when hovering over a link in mupdf-gl.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Jul 6 11:27:48 2019 UTC (5 years, 10 months ago) by leot
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -1 lines
mupdf: Backport patches to address CVE-2019-13290

Bump PKGREVISION

Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri May 17 05:45:10 2019 UTC (6 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
mupdf: restore LDFLAGS chunk of patch

Lost in last update; fixes RELRO builds.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon May 13 11:03:58 2019 UTC (6 years ago) by leot
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -4 lines
mupdf: Minor fix/cleanups/patch hunks readd accidentally lost in 1.15.0 update

Fixes:
- Use `HAVE_GLUT ?= yes' instead of `HAVE_GLUT := yes' in patch-ab:
  in that way possible `MAKE_ENV+= HAVE_GLUT=no' in options.mk is honored
  (in 1.15.0 update this could lead to building and installing mupdf-gl
  and failing due PLIST mismatch despite `opengl' option was not
  set.)

Cleanups/patch hunks readds/improvements:
 - Avoid to remove non existent thirdparty/curl directory no longer exists,
   do not remove it in post-extract
 - Clarify why pkgsrc lcms2 could not be used
 - Remove curl leftover in buildlink3.mk
 - Update patch-Makethird, patch-ab, patch-ac comments to reflect reality
 - Populate SYS_GLUT_{CFLAGS,LIBS} via `pkg-config'

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun May 12 12:27:02 2019 UTC (6 years ago) by ryoon
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +8 -8 lines
Update to 1.15.0

* Update lcms2 comment
* Remove removed www/curl option

Changelog:
List of changes in MuPDF 1.15.0

General improvements:
	* WebAssembly build target and examples.
	* Improved forms API in both C and Java bindings.
	* Improved forms JavaScript support.
	* Create appearance streams for more form field types.
	* Fixed many bugs in ICC color management.
	* Fixed many memory leaks in error cleanup.
	* Fixed bugs in pdfwrite output.
	* Improved text extraction from LaTeX documents with math symbols.
	* Improved trace device formatting.
	* Support CBZ and CBT files larger than 2Gb.
	* Show table of contents for FB2 and XHTML documents.
	* Show embedded raster images in SVG and XHTML documents.
	* Show FB2 cover page.
	* Add option to save PDF files without encryption.
	* Add inhibit-spaces option to stext device to turn off missing space detection.
	* Simplified fz_try/fz_always/fz_catch macros.

mupdf-gl improvements:
	* Automatically open annotation editor when selecting an annotation.
	* Full page color tinting option in mupdf-gl.
	* Show/hide table of contents sections.
	* Trigger a reload with sighup.
	* Toggle spot color mode with 'e'.

mutool improvements:
	mutool show $PDF outline -- show outline with open/closed state indicator.
	mutool show $PDF js -- show document level javascript.
	mutool clean -A -- create appearance streams when missing.
	mutool clean -AA -- recreate all appearance streams.
	mutool run docs/examples/portfolio.js -- extract embedded files from PDF document.
	mutool run docs/examples/pdf-dejpx.js -- decompress JPEG2000 images in PDF document.
	mutool run docs/examples/fix-s22pdf.js -- fix fonts in documents generated by S22PDF.

Significant API changes:
	* New and improved forms API.
	* Renamed -DNO_ICC to -DFZ_ENABLE_ICC=0
	* Removed fz_annot superclass. Use pdf_annot and pdf_widget directly instead.
	* Annotations and Widgets now have separate enumerators.
	* Added optional separations argument to pixmap rendering utility functions.

Various cleanups:
	Per-function documentation comments moved to the source file.
	Hopefully they will stay up to date more often than when they
	were hidden away in the header file.

	Removed unused internal testing tools: mjsgen and jstest.

	Removed TGA output support. Use one of the more common and useful PAM,
	PNM, PNG, or TIFF formats instead.

	Removed support for PDF portfolios. This work-in-progress feature was
	never completed, and only worked for a small subset of files.

	Removed support for progressive loading. This rarely used feature added
	a lot of complexity and was an unending source of bugs and strange
	behaviour. Removing this feature has allowed us to clean up and
	simplify large amounts of code, and fix dozens of bugs in one fell
	swoop.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Oct 9 12:34:16 2018 UTC (6 years, 7 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -5 lines
Upstream replaced tarball. Set DIST_SUBDIR for new one

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Oct 4 19:02:33 2018 UTC (6 years, 7 months ago) by leot
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +12 -12 lines
mupdf: Update print/mupdf to 1.14.0

pkgsrc changes:
 - Pass USE_SYSTEM_LIBS=yes via MAKE_ENV in order to honor system (pkgsrc)
   packages {C,LD}FLAGS
 - Rewrite the logic to disable lcms2 in patch-ab and inject -DNO_ICC
   directly via CFLAGS

Changes:
MuPDF 1.14.0
------------
* New features:
    * Added "Source Han Serif" CJK fallback font.
    * Added more scripts to the Noto fallback fonts.
    * Multi-page PNM support.
    * "mutool show" now supports a path syntax for selecting objects to show.

* Build system simplifications:
    * Auto-generated CMap, ICC, and JS source files are checked in to git.
    * Embedded CMap resources are now generated by a python script.
    * Embedded font resources are linked directly if using GNU ld or windows.
    * Namegen tool replaced by use of C macros.
    * Simplified Makefile.

* Annotation editing:
    * New annotation editing mode in mupdf-gl.
    * Can create, edit, and delete most annotation types.
    * Can create appearance streams for most annotation types.
    * Can create appearance streams for Tx form fields.
    * Can create appearance streams for Ch form fields.

* Form filling in mupdf-gl:
    * Can click buttons, checkboxes, and radioboxes.
    * Can fill out text fields using dialog box.
    * Can select choice options using dialog box.
    * Can verify and sign digital signatures.

* Improved UI for mupdf-gl:
    * Password dialog.
    * Error dialog.
    * Open/save file dialog.
    * Snap selection to words or lines by holding control or control+shift.
    * Save and restore current location, bookmarks, and navigation history.

* Bug fixes:
    * Improved CJK character fallback handling in EPUB.

* API changes:
    * Pass rectangle and matrix structs by value.
    * Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
    * Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
    * Added helper functions: pdf_dict_get_int, etc.
    * Removed 'doc' argument in pdf_new_int, etc.
    * Quads instead of rects when highlighting and searching text.
    * mutool run: Pass arguments to script in scriptArgs global.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun May 6 13:19:10 2018 UTC (7 years ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +10 -9 lines
mupdf: Update print/mupdf to 1.13.0

pkgsrc changes:
 - Directly override VERSION in files/mupdf.pc in the post-build phase
   (to avoid an extra manual step for every mupdf update)
 - Get rid of OPJ_STATIC patch hunk in patches/patch-source_fitz_load-jpx.c (it
   is no more needed, because the `-DOPJ_STATIC' is now passed in Makefile-s
   when the bundled openjpeg is used).
 - Pass HAVE_LIBCRYPTO=no to avoid requiring openssl>=1.1.0.

Changes:
1.13.0
------
* This is primarily a bugfix release.
* New "mutool sign" tool for showing and verifying digital signatures.
* Chinese, Japanese, Korean, Cyrillic, and Greek font support in mutool create.
* Improvements to annotation editing API.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Dec 18 15:06:33 2017 UTC (7 years, 4 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +11 -16 lines
mupdf: Update print/mupdf to 1.12.0

pkgsrc changes:
 - Add support for the `opengl' option via graphics/glut and remove the `glfw'
   option to follow upstream changes. Adjust options.mk and buildlink3.mk
   accordingly.
 - Add patches/patch-platform_gl_gl-app.h to not force freeglut GLUT
   implementation to every non-APPLE platforms (glut also works!) and adjust the
   glut.h include.
 - Add a commented out lcms2 bl3 inclusion entry, lcms2>=2.9 is needed (due
   "lcms2art.h" et al. inclusion, so disable it for now)
 - Explain the OPJ_STATIC comment in patches/patch-source_fitz_load-jpx.c
   a bit more in depth... ...this will hopefully save some time to
   debug opj_* undefined symbols when trying to link libmupdf and
   accidently omitting the patches/patch-source_fitz_load-jpx.c
   hunk (for extra debugging stories fun, if OPJ_STATIC is defined
   some opj_* symbols are defined while others are not defined,
   making the debugging of that problem more naughty!).
 - Inject HAVE_{CURL,GLUT} variables via MAKE_ENV in options.mk to avoid
   depending on www/curl and graphics/glut (yes, that's a bit kludgy
   but unfortunately mupdf doesn't have a configure and so there
   isn't a more sensible way to do it).  This is needed to avoid
   building mupdf-gl for native X.org where the glut.pc pkg-config
   file is available at build time.  Also adjust patches/patch-ab
   accordingly.
 - Remove patches/patch-CVE*, they are no longer needed (all applied in 1.12.0)
 - Bump BUILDLINK_API_DEPENDS.mupdf to 1.12.0 (there were several API changes
   from 1.11 to 1.12.0) and remove the now redundant and no longer needed
   BUILDLINK_ABI_DEPENDS.mupdf.

Changes:
List of changes in MuPDF 1.12.0

* Color management:
   * LCMS2 library for color management.
   * CMYK rendering with overprint simulation.
   * Spot color rendering.
   * Transparency rendering fixes.

* Structured text output improvements:
   * Reworked structured text API.
   * Faster text searching.
   * Highlight and copy text by selecting lines instead of by area.
   * New semantic XHTML output format.
   * New layout preserving HTML output format.

* Features and improvements:
   * Improved non-AA rendering with new scan converter.
   * Improved LARGEFILE support.
   * Improved TIFF support.
   * Improved documentation.
   * PCLm output.
   * PSD output.
   * New "mutool trace" tool.
   * New "mutool sign" tool (work in progress).
   * Text redaction (work in progress).

* Lots of bug fixes.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Oct 25 11:00:03 2017 UTC (7 years, 6 months ago) by leot
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -1 lines
mupdf: backport patches to fix several possible security issues

Backport patches from upstream to address CVE-2017-14685, CVE-2017-14686,
CVE-2017-14687, CVE-2017-15369 and CVE-2017-15587.

These will not be needed for the next mupdf stable release.

Bump PKGREVISION.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Oct 19 20:32:07 2017 UTC (7 years, 6 months ago) by leot
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
mupdf: Fix possible segfaults when calling opj_free()

With graphics/openjpeg (at least 2.2.0 and 2.3.0) mupdf can crashes when
calling opj_free().
Adapt a patch from OpenBSD ports
textproc/mupdf/patch-source_fitz_load-jpx_c,v 1.5 that fixes this issue.

Bump PKGREVISION

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Jul 16 08:29:53 2017 UTC (7 years, 10 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
Do not possibly (re)initialize LDFLAGS and pass it also to AR_CMD.
This fixes RELRO build.

Bump PKGREVISION

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Jun 17 19:45:28 2017 UTC (7 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
Fix the problem with hexdump and LLVM properly. Use .incbin on NetBSD
instead of forcing 8M+ element character array literals through the
compiler.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun May 28 12:42:21 2017 UTC (7 years, 11 months ago) by rumko
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -1 lines
print/mupdf: fix build on fbsd

scripts/hexdump.c: do not output HAVE_INCBIN for fbsd
See https://bugs.ghostscript.com/show_bug.cgi?id=696828

Ok@ leot

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri May 19 18:00:38 2017 UTC (7 years, 11 months ago) by fhajny
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
Remove left-behind Linux libs, fixes at least Darwin.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Apr 12 13:03:08 2017 UTC (8 years, 1 month ago) by leot
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +10 -14 lines
Update print/mupdf to 1.11

Changes:
List of changes in MuPDF 1.11
-----------------------------
* This is primarily a bug fix release.
* Split Android and iOS viewers into separate projects:
   - mupdf-viewer-ios.git has the iOS viewer.
   - mupdf-viewer-android-old.git has the Android viewer.
   - mupdf-viewer-android-nui.git has a new advanced Android viewer.
   - mupdf-viewer-android-mini.git has a new minimalist Android viewer.
* PDF portfolio support with command line tool "mutool portfolio".
* Add callbacks to load fallback fonts from the system.
* Use system fonts in Android to reduce install size.
* Flag to disable publisher styles in EPUB layout.
* Improved SVG output.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Feb 11 09:39:05 2017 UTC (8 years, 3 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -1 lines
Backport security fixes for upstream bugs 697514 and 697515 (CVE-2017-5896) to

PKGREVISON++

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Jan 30 14:06:05 2017 UTC (8 years, 3 months ago) by leot
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -1 lines
Backport fixes to mupdf-1.10a from upstream for CVE-2017-562[78]

PKGREVISION++

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Dec 9 08:19:31 2016 UTC (8 years, 5 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -5 lines
Update print/mupdf to mupdf-1.10a

pkgsrc changes:
 - Include more bl3 in buildlink3.mk to reflect current reality
 - Bump BUILDLINK_A[BP]I_DEPENDS.mupdf to 1.10a (packages that depends on
   mupdf seems to not run without being rebuilded despite a bug fix release)

Changes:
MuPDF 1.10a (2016-11-28)
------------------------
Version 1.10a is a bug fix release.

If you downloaded the windows release for 1.10 you should also
upgrade, since the zip archive accidentally included the RC2 binaries
instead of the final version.

A bug with mutool and saving PDF files using the 'ascii' option
has been fixed.

The iOS build issues have been fixed.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Nov 28 14:40:42 2016 UTC (8 years, 5 months ago) by leot
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +8 -10 lines
Update print/mupdf to mupdf-1.10

pkgsrc changes:
 * Update DESCR and COMMENT to better reflect current status of MuPDF
 * Delete security patches addressing CVE-2016-6265 and CVE-2016-6525,
   fixed upstream.
 * Bump BUILDLINK_A[BP]I_DEPENDS.mupdf (no longer compatible with 1.9 API)

Changes:
List of changes in MuPDF 1.10

* Headline changes:
  * FictionBook (FB2) e-book support.
  * Simple SVG parser (a small subset of SVG only).
  * mutool convert: a new document conversion tool and interface.
  * Multi-threaded rendering in mudraw.
  * Luratech decoders for JBIG2 and JPEG2000 (commercial releases only).
  * Optional JPEG-XR support (not included by default for security reasons).
  * Updated base 14 fonts from URW.
  * New CJK font with language specific variants.
  * Hyperlink support in EPUB.

* Reduced memory use:
  * New tool muraster: example printer driver with limited RAM usage and automatic banding.
  * Alpha channel is now optional in pixmaps.
  * More aggressive purging of cached objects.
  * Partial image decoding for lower memory use when banding.

* Reduced code size when building with a subset of features:
  * Reduced default set of built-in CMap tables to the minimum required.
  * FZ_ENABLE_PDF, _XPS, _JS, to disable features at compile time.
  * Function level linking.

* Interface changes and cleanups:
  * Dropped pdf object generation numbers from public interfaces.
  * Simplified PDF page, xobject, and annotation internals.
  * Closing and freeing devices and writers are now separate steps.
  * Improved PDF annotation editing interface (still a work in progress).
  * Document writer interface.
  * Banded image writer interface.

* Mobile viewers:
  * New JNI interfaces to match capabilities of 'mutool run' javascript.
  * New android and desktop java examples using new JNI interface.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Aug 3 08:50:17 2016 UTC (8 years, 9 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -1 lines
Fix possible heap corruption (via upstream bug 696954).

Bump PKGREVISION

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Jul 22 15:42:38 2016 UTC (8 years, 9 months ago) by leot
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -1 lines
Add a patch to fix CVE-2016-6265 use after free bug (from upstream)

Bump PKGREVISION

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Jul 15 12:32:33 2016 UTC (8 years, 10 months ago) by leot
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
Fix linking with openjpeg-2.1.1

Restrict OPJ_STATIC definition to Windows (as the comment suggests).
This avoid linking errors with openjpeg-2.1.1.

Bump PKGREVISION

Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Apr 27 12:34:58 2016 UTC (9 years ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +9 -8 lines
Update print/mupdf to 1.9a.

pkgsrc changes:
 o Update MASTER_SITES (archive/ subdirectory contains all the distfiles,
   latest stable version and also older ones)
 o Bump BUILDLINK_A[BP]I_DEPENDS.mupdf to 1.9a due to several API and ABI
   changes

Changes:
MuPDF 1.9a (2016-04-26)
-----------------------
Version 1.9a is a bug fix release. If you run into issues with selecting or
searching for text with ligatures, you should upgrade from 1.9.

MuPDF 1.9 (2016-04-18)
-----------------------
The 1.9 release is here!

Headline changes:

  * New command line tools: create and run.
  * New low-level Java interface for desktop and android.
  * Bidirectional layout for Arabic and Hebrew scripts.
  * Shaping complex scripts for EPUB text layout.
  * Noto fallback fonts for EPUB layout.

mutool create:

  * Create new PDF files from scratch.
  * Read an annotated content stream in a text file and write a PDF file,
    automatically embedding font and image resources.

mutool run:

  * Run javascript scripts with MuPDF bindings.
  * The interface is similar to the new Java interface.

mutool draw:

  * Optional multi-threaded operation (Windows and pthreads).
  * Optional low memory mode (primarily for testing).

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Feb 4 11:50:24 2016 UTC (9 years, 3 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +6 -6 lines
Add glfw option to mupdf (disabled by default).

Bump PKGREVISION++.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Nov 12 21:11:31 2015 UTC (9 years, 6 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
Fix various installation and build issues.

o Add a lost hunk of patches/patch-ac in order to build and install "mupdf-x11"
  simply as "mupdf" (like previous mupdf releases)
o Threat glfw like any other thirdparty library (and avoid to accidently build
  "mupdf-gl")

Thanks to Thomas Klausner and Yorick Hardy for noticing that.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Nov 11 17:08:25 2015 UTC (9 years, 6 months ago) by leot
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +6 -6 lines
Update print/mupdf to 1.8.

pkgsrc changes:
 * Bump BUILDLINK_API_DEPENDS (spotted and tested via the only print/mupdf
   consumer wip/zathura-mupdf)
 * OpenGL-based desktop viewer is still not enabled by default neither upstream
   nor in pkgsrc

Changes:
List of changes in MuPDF 1.8
* Headline changes:
	* New OpenGL-based barebones desktop viewer.
	* New URW fonts with greek and cyrillic.
	* 64-bit file support.
	* Ghostscript proofing mode (source only; not in shipped binaries).
* EPUB improvements:
	* User style sheets.
	* GIF images (also for CBZ).
	* Table of contents.
	* CJK text.
	* Page margins.
	* Many bug fixes.
* Bug fixes:
	* Updated FreeType to version 2.6.1.
	* Various font substitution bug fixes.
	* Fix setjmp/longjmp behaviour which could cause optimizing compilers to misbehave.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Nov 4 01:01:36 2015 UTC (9 years, 6 months ago) by agc
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -1 lines
Add SHA512 digests for distfiles for print category

Problems found locating distfiles:
	Package acroread7: missing distfile AdobeReader_enu-7.0.9-1.i386.tar.gz
	Package acroread8: missing distfile AdobeReader_enu-8.1.7-1.sparc.tar.gz
	Package cups-filters: missing distfile cups-filters-1.1.0.tar.xz
	Package dvidvi: missing distfile dvidvi-1.0.tar.gz
	Package lgrind: missing distfile lgrind.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed May 27 21:52:19 2015 UTC (9 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -4 lines
Update to 1.7a provided by Leonardo Taccari in PR 49918.

MuPDF 1.7a (2015-05-07)
-----------------------
The 1.7a version is a bugfix release. Bug fixes:
* Fixed bug that allocated too much memory when packing paths.
* Fixed EPUB font scaling bug.
* Fixed EPUB file type handling in viewers.
* Improved tolerance for broken and unsupported CSS.

New features:
* Added -z option to mutool clean.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Apr 17 07:18:21 2015 UTC (10 years, 1 month ago) by wiz
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -5 lines
Update print/mupdf to 1.7, provided by Leonardo Taccari in PR 49843.

Changes:
MuPDF 1.7 (2015-04-16)

   The 1.7 release is here!

MuPDF 1.7 RC1 (2015-04-08)

   The 1.7 release is almost here!

   Headline changes:
     * New 'Indie dev' licensing options - contact sales@artifex.com
       for more details.
     * New HTML layout engine, and (DRM-free) EPUB viewer.
     * Reduced memory usage - displaylists and internal PDF representation
       take much less memory, reducing total memory use on some files by
       over 60%.

   Important API changes:
     * Bound contexts have been removed; we now pass fz_contexts
       explicitly.
     * Reference counting of paths and text structures.

   Features:
     * Add mutool pages option.
     * Tweaked rendering to prevent feature dropout in common cases.
     * Viewer tweaks
          + Better mouse wheel handling
          + Shift-space support
          + Mouse button control of presentation mode
          + Failed reloads do not close document

   Internal changes:
     * PDF filter revamp - simpler interface.
     * Devices use derived structures rather than user pointer.
     * Sparse PDF xrefs held in more compact form.
     * New gsview viewer split out to its own repository.

   Bug fixes
     * Improved handling of broken files.
     * Fix BBoxes of Type 3 fonts.
     * Updated fonts (including greek and cyrillic).
     * Various memory leaks and crashes.
     * And many more.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Oct 5 15:19:18 2014 UTC (10 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4 lines
Update to 1.6:

List of changes in MuPDF 1.6

* Features:
	* Color detection device (mudraw -T).
	* Sepia mode full-page color tinting in X11 and win32 viewer (keybinding: shift-C).
	* Re-implement printf and strtod due to portability issue with locales and number formatting.
	* Add 'gsview' project: a Windows Modern UI viewer.
	* Improve XML parser interface.
* Bug fixes:
	* CBZ page ordering
	* ZIP64 support
	* iOS and Android bug fixes
	* Miscellaneous minor fixes

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Jun 15 19:15:51 2014 UTC (10 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
Cleanup, from Leonardo Taccari.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jun 15 14:14:18 2014 UTC (10 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +7 -7 lines
Update to 1.5:
This is a bugfix release: dozens of bugs have been found and
exterminated!

A typo resulting in a potential stack overflow that could corrupt
files when saving edits to a PDF has been fixed. Another bug which
caused a significant slowdown has also been fixed.

We strongly recommend that you upgrade â especially if you are
using version 1.4.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun May 18 08:12:22 2014 UTC (11 years ago) by wiz
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -2 lines
Fix build with openjpeg-2.1.
Bump PKGREVISION.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Apr 21 16:14:40 2014 UTC (11 years ago) by wiz
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +8 -12 lines
Update to 1.4, provided by Leonardo Taccari in PR 48759.

List of changes on master since MuPDF 1.3

* Headline changes:
	* CMYK rendering (mudraw PWG and PAM formats)
	* TIFF viewer (with multi-page support).
	* Added MuJS Javascript interpreter.
		* MuJS is the default, V8 and JavaScriptCore are compile time options.
		* Javascript support has to be explicitly enabled with pdf_enable_js.
		* All viewers now have JavaScript enabled in the default builds.
* Viewers:
	* X11: Horizontal scroll wheel support.
	* X11: Status bar display with warnings.
	* Android: Digital signatures.
	* iOS: Links, form filling, annotation editing, and javascript.
	* iOS: Reflow mode.
	* WinRT: Printing.
	* WinRT: Improved zooming behaviour.
* Tools:
	* mudraw: Banded rendering with -B /band-height/.
	* mudraw: Select output format with -F /format/.
	* mudraw: Write to stdout if you use '-' as the output file name.
	* mudraw: Add TGA output format.
	* mudraw: Improved SVG output.
	* mutool show: Write output to file instead of stdout with -o /filename/.
	* mutool clean: Clean content streams with -s option.
* Annotations:
	* Improved font handling.
	* Form fields.
	* Free text.
	* Sticky notes.
* Optimizations:
	* glyph cache: Partial eviction.
	* glyph cache: Run-length compressed glyphs.
	* Smarter handling of subpixel metrics in text rendering.
	* Optimized blitting functions.
	* Optimized gradient mesh drawing.
* API changes and additions:
	* fz_stream API reworked: replace "read" function with "next".
	* "Rebind" functions to associate context bound objects with another context:
		fz_output, fz_stream, fz_device and fz_document.
	* Introduce "document handlers" to detect and open different file types.
		* Must now call fz_register_document_handlers() to register the defaults.
		* May register your own handlers as well to work with fz_open_document.
	* Hook to load system fonts: fz_install_load_system_font_funcs.
	* PDF xref cache flushing functions (mark/clear/clear-to-mark).
	* Add our own "printf" set of functions to format strings and write to fz_output:
		* Format %f as short as possible while preserving precision.
		* Has %C for formatting a unicode character as UTF-8.
		* Has %M to format fz_matrix.
		* Has %R to format fz_rect.
		* Has %q and %( to format strings with escaped characters.
	* PDF process interface: allow PDF interpreter to do more than just draw!
		* Content stream state cleaning filter.
		* Content stream rewriting filter.
	* PDF digital signatures.
	* Stroke states may now be stored on the stack.
	* Improved fz_path internals.
	* Gradient mesh drawing interface has been improved.
	* Save files with incremental updates.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Feb 20 23:15:27 2014 UTC (11 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
Add a missing DESTDIR. From Leonardo Taccari <iamleot@gmail.com>
on pkgsrc-bulk.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Feb 14 17:49:41 2014 UTC (11 years, 3 months ago) by drochner
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -1 lines
add patch from upstream to fix buffer overflow in xps_parse_color()
bump PKGREV

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jan 9 14:25:23 2014 UTC (11 years, 4 months ago) by mef
Branches: MAIN
Update print/mupdf to 1.3 (via pkgsrc-wip by Leonardo Taccari, thanks)

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>