Artifex Software is pleased to announce the release of MuPDF & PyMuPDF 1.21.0
MuPDF Stories are a powerful yet easy way to generate PDFs with formatted and styled content. Developers can programatically create reports and other content from databases and different sources with only a few lines of code.Introducing MuPDF ‘Stories’
We are pleased to announce the release of MuPDF 1.21.0 and PyMuPDF 1.21.0. With these new releases, we've introduced an exciting new layout feature called 'Stories'.
The concept of a 'Story' has its roots in traditional newspaper layouts, in which news articles are laid out into columns. MuPDF uses a story to represent a flow of text with styling information. Stories are a powerful yet easy way to generate PDFs with formatted and styled content. Developers can programatically create reports and other content from databases and different sources with only a few lines of code. Based on HTML, Stories have a short learning curve for most developers and provide a lot of flexibility.
For detailed information on 'Stories' and how to create them, see chapter 16 in MuPDF Explored. For pointers on how to use Stories in PyMuPDF, click through to our blog post, PyMuPDF’s New ‘Story’ Feature Provides Advanced PDF Layout Styling.
MuPDF & PyMuPDF 1.21.0
We are pleased to announce the release of MuPDF and PyMuPDF 1.21.0. There are important changes in these releases, so please read on to see what's new. Notable new features include:
- We've added Story API for creating PDF documents from formatted text.
- MuPDF now supports the MOBI input format.
- API was added to create, edit, and delete links.
- Custom images for Stamp annotations are now supported.
- Support added for interior color on Polygon annotations.
- Line endings on PolyLine annotations are now supported.
- We've improved SVG output.
- C++/Python/C# binding enhancements include:
- Changes to the naming of wrapper functions and classes.
- We've added limited support for callbacks into Python using SWIG Directors.
- PyMuPDF specific enhancements include:
- Wheels for Python-3.11 added.
- Added wheels for macOS-arm64.
- Memento build support added.
- The usual round of bug fixes, code hygiene, compatibility changes, and incremental improvements.
- And more!
Feedback and bugs can be reported to our development team by email or our MuPDF Discord or PyMuPDF Discord channel.
For over 25 years Artifex Software has provided premier document solutions to top-level global customers. As the developers of Ghostscript and MuPDF, our world-class rendering and conversion technologies help you build better, faster, more robust products. Develop superior print and document management solutions with Ghostscript’s customizable features, comprehensive conversion capabilities,…
Read more