fpdf2 is a mature and actively maintained PDF creation library for Python.
Compared with other PDF libraries, fpdf2 is fast, versatile, easy to
learn and to extend. It is also entirely written in Python and has very
few dependencies: Pillow, defusedxml, & fontTools. It includes support for:
- Unicode (UTF-8) TrueType font subset embedding
- Internal / external links
- Embedding images, including transparency and alpha channel
- Arbitrary path drawing and basic SVG import
- Embedding barcodes, charts & graphs, emojis, symbols & dingbats
- Tables and also cell / multi-cell / plaintext writing, with automatic
page breaks, line break and text justification
- Choice of measurement unit, page format & margins. Optional page
header and footer
- Basic conversion from HTML to PDF
- A templating system to render PDFs in batches
- Images & links alternative descriptions, for accessibility
- Table of contents & document outline
- Document encryption & document signing
- Annotations, including text highlights, and file attachments
- Presentation mode with control over page display duration & transitions
- Optional basic Markdown-like styling: **bold**, __italics__
- Can render mathematical equations & charts
Although there are newer versions, this is the newest version that will work
with our in-tree editors/neovim.
Diff from Laurent Cheylus. I added/adjusted some comments to better reflect the
situation WRT versions and the tree-sitter-cli program.
```
The Tree-sitter CLI allows you to develop, test, and use Tree-sitter grammars
from the command line.
```
Initial port from MAINTAINER, Laurent Cheylus with a couple of fixes from
myself.
OK sthen@, thanks!
Major update from 3.31.8 to 4.1.2.
CMake 4.0 introduces a breaking change: compatibility with versions older than
3.5 has been removed. Projects calling cmake_minimum_required() or
cmake_policy() with versions < 3.5 now error out.
To maintain compatibility with existing ports during the transition, the cmake
module now provides MODCMAKE_POLICY_VERSION_OVERRIDE (idea from sthen@)
support:
- MODCMAKE_POLICY_VERSION_OVERRIDE ?= No
- MODCMAKE_POLICY_VERSION_OVERRIDE_VER ?= 3.5
When MODCMAKE_POLICY_VERSION_OVERRIDE is set to "yes", CMake is instructed to
accept policy versions down to the specified minimum (default 3.5) via
-DCMAKE_POLICY_VERSION_MINIMUM. This allows older ports to build while
acknowledging they may use deprecated features.
https://cmake.org/cmake/help/latest/release/4.0.htmlhttps://cmake.org/cmake/help/latest/release/4.1.html
OK sthen@