Releases: pymupdf/PyMuPDF
Supporting CJK Font Text Insertion
Merge pull request #233 from JorjMcKie/master merge v1.14.3
Fixes #223 - Pathlib Support for Document class
Fixes #227
Also implemented several small performance improvements.
Supporting MuPDF v1.14.0
This version comes with major changes on the technical level and hardly visible to the user. Among those low-level changes are internal handling of geometry object (rectangle, points and friends) and name changes to standard PDF objects, like PDF_NAME_Rect
has been renamed to PDF_NAME(Rect)
.
But there are notable functionality enhancements as well:
- updating an encrypted PDF lets you optionally keep encryption
- MuPDF messages going to STDOUT and STDERR are now intercepted and will no longer appear
- several new annotation types are officially supported by MuPDF
- a new geometry object
Quad
supports rectangles that are no longer axis-aligned. This allows addressing location of "tilted" text (i.e. which is neither horizontal nor vertical)
As always, a number of issues has been fixed as well.
Improved E-Book Support
You can now re-layout documents and trace changed page numbers.
Introducing Python Memory Management
For Python version 3 builds, we are introducing Python memory management. This means that all memory (de-) allocation calls are passed to the Python memory manager - whether they are issued by PyMuPDF's inface C code or issued by the base library MuDPF.
This should lead to an improved memory usage profile, because Python has complete control over all memory used. On Windows, we have also seen performance improvements (about 2% and more) for important basic use cases like text extraction and pixmap creation.
We have also worked on the new "Recipes" chapter of the documentation and removed 2 bugs occurring on Python 2 platforms only.
Fixing #199 and #200
1.13.18 Bump version date
Documentation improvement
- New section "Collection of Recipes"
- various minor fixes
Fixes issue #193
- Fixes issue #193
- Adds method
Tools.fitz_config
for viewing the underlying MuPDF and PyMuPDF configuration - Adds support for changing annotation opacity
Fixes Issues #189 and #191
For fixing #189, we are supporting builtin CJK fonts now (CJK = China, Japan, Korea). This should lead to correctly generated pixmaps for documents using these languages. This change has consequences for our binary file size: it will now range between 8 and 10 MB, depending on the OS.
Issue #191 occurred when setting the contents of an annotation. Certain values had been incorrectly de-referenced in PyMuPDF's C-level.
Since the previous release, we are also generating wheels for Python 3.7 in OS Linux and Mac OS.
Supporting Annotation Line End Symbols
1.13.14 Bump version date