- Update to 1.23.9:
* Fix text moving after redaction.
* Add use-cid-for-unknown-unicode option to stext device.
* Move previously private APIs into public headers so they can be used in python bindings.
* Add version numbers to shared library installation targets on Linux/OpenBSD.
* Avoid setuptools problems for python bindings in python 3.12.
* Fix makefile so python bindings build with tesseract.
OBS-URL: https://build.opensuse.org/request/show/1140771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=59
* Fix text moving after redaction.
* Add use-cid-for-unknown-unicode option to stext device.
* Move previously private APIs into public headers so they can be used in python bindings.
* Add version numbers to shared library installation targets on Linux/OpenBSD.
* Avoid setuptools problems for python bindings in python 3.12.
* Fix makefile so python bindings build with tesseract.
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=124
* Fix rendering issue concerning group alpha.
* Fix unexpected HTML table rectangles on subsequent pages.
* Fix text extraction of control characters from PDF.
* Fix bug concerning Stories having page-break-after set.
* Ignore broken structure trees instead of reporting an error.
* Various fixes for pymupdf.
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=122
- Update to 1.23.6:
* Add new text file document handler.
* Add interface for rearranging pages.
* Fix double free bug in html parser.
* Use CropBox as origin for fitz space in PDF documents so that page bounding box origin is at the top left.
* Fix parsing of cmap with surrogate characters.
* Fix bug in story handling resetting.
* Various smaller fixes for pymupdf.
OBS-URL: https://build.opensuse.org/request/show/1129309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=57
* Add new text file document handler.
* Add interface for rearranging pages.
* Fix double free bug in html parser.
* Use CropBox as origin for fitz space in PDF documents so that page bounding box origin is at the top left.
* Fix parsing of cmap with surrogate characters.
* Fix bug in story handling resetting.
* Various smaller fixes for pymupdf.
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=120
- Update to 1.22.1 (bsc#1216728, CVE-2023-31794):
* Update to zlib 1.2.12 for security fix
* Add 'extract' library for more output options: DOCX, ODT
* Experimental Python bindings.
* Toggle spot color mode with 'e'.
-mupdf-no-strip.patch: fix debuginfo generation
- Remove xorg-x11-devel from buildrequires
CVE-2017-17858 bsc#1077161
- mupdf is not a terminal app boo#1036637
- Add CVE-2016-6265.patch to fix a use-after-free bsc#990195
- Set to best anti-alias mode (8) by default.
+ Sepia mode full-page color tinting in X11 and win32 viewer
+ Improve XML parser interface.
+ Miscellaneous minor fixes
for those architectures
OBS-URL: https://build.opensuse.org/request/show/1123575
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=118
- Update to 1.23.4:
* 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.
OBS-URL: https://build.opensuse.org/request/show/1116823
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=116
- Update to 1.23.3:
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.
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 changes:
+ pdf_field_name renamed to pdf_load_field_name.
+ mutool run: Changed many methods to match Java and new WASM library.
OBS-URL: https://build.opensuse.org/request/show/1112444
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=114
- Update to 1.22.1:
* 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.
OBS-URL: https://build.opensuse.org/request/show/1086750
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=110
- update to 1.21.1:
* 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
* 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
OBS-URL: https://build.opensuse.org/request/show/1061907
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=104
- update to 1.20.3:
* return error, not success when unable to lock native device resource.
* Bug 705620: Start journal operation instead of pushing local xref.
* Ensure AndroidDrawDevice is destroyed, even upon exception.
* source/pdf/pdf-clean.c: fix segv from incorrect call to fz_drop_pixmap().
* Bug 705681: Enclose code in begin/end operation.
* Guard against SEGVs when calling archive functions with NULL archive.
OBS-URL: https://build.opensuse.org/request/show/997600
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=100
- update to 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
OBS-URL: https://build.opensuse.org/request/show/992108
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=98
- Update to version 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.
* html: Added HTML5 parser.
* 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).
* High security redaction -- save redacted PDF as flattened bitmap, guaranteed to not leak any sensitive redacted information.
* Experimental C++ bindings.
* Experimental Python bindings.
OBS-URL: https://build.opensuse.org/request/show/843892
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=93
- Update to version 1.16.1
* Changes in version 1.16.1:
* Bugfixes
* Changes in version 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.
* Changes in version 1.15.0:
* WebAssembly build target and examples.
* Improved forms API in both C and Java bindings.
* Improved forms JavaScript support.
OBS-URL: https://build.opensuse.org/request/show/724125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=39