Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 361587

Summary: www-misc/wkhtmltopdf (new ebuild) - Simple shell utility to convert html to pdf using webkit and qt4
Product: Gentoo Linux Reporter: Boris <boris-gentoobugzilla>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED FIXED    
Severity: enhancement CC: bug
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://code.google.com/p/wkhtmltopdf/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: wkhtmltopdf-0.10.0_rc2.ebuild

Description Boris 2011-04-01 11:31:29 UTC
Description as copied from upstream website:

-----
Simple shell utility to convert html to pdf using the webkit rendering engine, and qt.

Introduction
Searching the web, I have found several command line tools that allow you to convert a HTML-document to a PDF-document, however they all seem to use their own, and rather incomplete rendering engine, resulting in poor quality. Recently QT 4.4 was released with a WebKit widget (WebKit is the engine of Apples Safari, which is a fork of the KDE KHtml), and making a good tool became very easy.

Features
* Convert web pages into PDF documents using webkit 
* Adding headers and footers (static version only) 
* TOC generation (static version only) 
* Batch mode conversions 
* (Linux) No longer requires an XServer to be running (however the X11 client libs must be installed)
-----

Reproducible: Always
Comment 1 Boris 2011-04-01 11:32:34 UTC
Created attachment 268115 [details]
wkhtmltopdf-0.10.0_rc2.ebuild

My ebuild, testet on amd64.
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-03-02 16:13:09 UTC
This is already in the tree, in media-gfx.