wkhtmltopdf and wkhtmltoimage are powerful utilities to convert HTML to PDF
or an image file using a patched static build of Qt and the webkit rendering
engine.
A webpage can be downloaded directly from the web and rendered into a PDF
document or an image file (multiple formats are supported).
Features of the static version:
* Convert web pages into PDF documents (or images) using webkit
* Adding headers and footers
* TOC generation
* Batch mode conversions
* XServer is not required (however the X11 client libs must be installed)
For proper functionality you may need to install the following port(s):
x11-fonts/webfonts
converters/wkhtmltopdf: fix build on armv7
Import an old QT4 patch to fix the build.
Obtained from: b0d780b0342270fef8bd26b4ae301d18467f5d04
MFH: 2023Q4
(cherry picked from commit 6e1435185574836bea45bf9dab35b81b64fc158f)