* 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
* 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.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
- Add build dependencies:
* liblcms2-devel
* Mesa-libGL-devel
* freeglut-devel
* pkgconfig(openssl)
* pkgconfig(xi)
* pkgconfig(xrandr)
- Change COPYING to %licnese instead of %doc
- Update mupdf-no-strip.patch
- Add patches from Fedora project:
* mupdf-CVE-2018-16647.patch
* mupdf-CVE-2018-16648.patch
* mupdf-CVE-2018-18662.patch
* 0001-Fix-699840-Use-saved-sig_widget-pointer-to-sign-sign.patch
* 0001-Write-placeholder-appearance-streams-for-digital-sig.patch
* 0001-fix-build-on-big-endian.patch
- Update to version 1.14:
* 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.
OBS-URL: https://build.opensuse.org/request/show/684259
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=81
- Update to version 1.13:
- 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.
- Dropped patches, which are included upstream now:
- CVE-2018-6192.patch
- CVE-2018-5686.patch
- CVE-2018-6187.patch
- CVE-2018-1000051.patch
- CVE-2017-17858.patch
- CVE-2018-6544.patch
- fix-openjpeg-flags.patch
OBS-URL: https://build.opensuse.org/request/show/599908
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=77
- Update to version 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.
- Strip "-source" from tarball name
- Switch to xz release (13mb smaller)
- rebase fix-openjpeg-flags.patch
- drop reproducible.patch
* fixed upstream in 081d4c72430e3077a05499c783d9fbe24361b368
OBS-URL: https://build.opensuse.org/request/show/564163
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=60
- Update to version 1.11
* This is primarily a bug fix release.
* 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.
- Refreshed fix-openjpeg-flags.patch and reproducible.patch
- Dropped CVE-2017-5896.patch, bsc1023760.patch,
CVE-2016-10221.patch, CVE-2016-8728.patch, CVE-2017-7976.patch,
CVE-2016-10132.patch, CVE-2016-10133.patch,
CVE-2016-10141.patch, CVE-2017-5627.patch
and CVE-2017-5628.patch (merged or adapted upstream)
OBS-URL: https://build.opensuse.org/request/show/540435
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=58
* 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.
* Updated base 14 fonts from URW.
* New CJK font with language specific variants.
* Hyperlink support in EPUB.
* Alpha channel is now optional in pixmaps.
* More aggressive purging of cached objects.
* Partial image decoding for lower memory use when banding.
* 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.
* 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.
- Drop CVE-2016-6265.patch and mupdf-fix-openjpeg2.patch,
both are fixed upstream.
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=41
* 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).
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=34
* New URW fonts with greek and cyrillic.
* 64-bit file support.
* Updated FreeType to version 2.6.1.
* Various font substitution bug fixes.
* Fix setjmp/longjmp behaviour which could cause optimizing
compilers to misbehave.
* EPUB improvements: User style sheets, GIF images, Table of Contents,
CJK text, Page margins and many bug fixes.
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=28