2 ms·
Over the years I've tried various HTML to PDF utilities and have yet to find one that works correctly. Previously I was using htmldoc, a project that was aband
by driverdan 15y ago
Over the years I've tried various HTML to PDF utilities and have yet to find one that works correctly.
Previously I was using htmldoc, a project that was abandoned years ago and doesn't work with CSS. It worked for what I was doing but without CSS it's very inflexible and hard to maintain.
I recently moved to wkhtmltopdf but it has plenty of its own issues. The biggest problem I've found is that it doesn't wrap text between pages correctly. If you have a multi-page document it's likely the last line of text on a page will be split over 2 pages. IMO this is a show stopping bug. It has been known for a while but it seems no one is working on it.
The OS X version is broken. It was creating 5MB+ PDFs that should be about 50k. The Linux version doesn't have this bug.