print/py-xhtml2pdf - The NetBSD Packages Collection

PDF generator using HTML and CSS

xhtml2pdf is a HTML to PDF converter using Python, the ReportLab Toolkit,
html5lib and PyPDF2. It supports HTML5 and CSS 2.1 (and some of CSS 3). It is
completely written in pure Python, so it is platform independent.

The main benefit of this tool is that a user with web skills like HTML and CSS
is able to generate PDF templates very quickly without learning new

Build dependencies


Runtime dependencies

print/py-PDF2 graphics/py-Pillow converters/py-arabic-reshaper converters/py-bidi textproc/py-html5lib print/py-reportlab lang/py-six devel/py-setuptools lang/python38 lang/python38

Binary packages


Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.