On 10/23/15 22:27, Frank Groeneveld wrote:
This is my first attempt at writing a port.

wkthmltopdf is a program that uses Webkit to convert an HTML file to a
PDF or image file.  More information can be found on their website:
http://wkhtmltopdf.org

I use it in a number of Ruby on Rails applications with the wickedpdf
gem to generate PDF invoices for example.

Note that upstream advises to build it using their patched QT in order
to support the following options:

  * Printing more then one HTML document into a PDF file.
  * Running without an X11 server.
  * Adding a document outline to the PDF file.
  * Adding headers and footers to the PDF file.
  * Generating a table of contents.
  * Adding links in the generated PDF file.
  * Printing using the screen media-type.
  * Disabling the smart shrink feature of webkit.

My port doesn't use their patched QT as I find it quite ugly. However,
some of these options are pretty handy on servers, especially running
without an X11 server.

What are your thoughts and comments on this port?

Frank

Ping?

It's quite a simple port which only takes a few minutes to build on my machine. You can then test it by running something like:
wkhtmltopdf http://www.openbsd.org/ openbsd.pdf

Frank

Reply via email to