Htmltopdf Library Testers C++

(github.com)

1 points | by timh1970 13 hours ago ago

1 comments

  • timh1970 13 hours ago ago

    A lightweight C++ HTML-to-PDF library using WebKit2GTK and managed Xvfb – needs testers.

    I have written a library intended to replace wkhtml2pdf that has a built in cli and an api that includes a utility to write html in c++ easily without messing around with closing tags and string literals (which is useful for variable data).

    I have used it internally for a while and it works well, but no doubt there will be issues in the wild.

    There are a few examples of how to use it in the repo and an experimental branch where we are developing the handling of anchors.

    Includes guided page templates and is packaged for Debian and Arch distros. Probably best not to build from source but if you want to do so then have a look at the PKGBUILD for guidance.