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

Attachment: wkhtmltopdf-port-0.12.2.4p0.tar.gz
Description: application/gzip

Reply via email to