OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-09

py3-fpdf2-2.8.7

PDF creation library for Python

Back to search · Project homepage

Description

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

Package information

Ports path
textproc/py-fpdf2
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
textproc, lang/python
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Runtime

Build

Test

Installing and updating packages · Package details as JSON