On Tue, Sep 2, 2014 at 11:05 PM, Christoph H. Larsen
<
christoph...@gmail.com> wrote:
> Dear All,
> As improved .pdf prinitnghas been on the wishlist, and is still a bit of an
> issue, I revisted the current strategy to use
>
> wkhtmltopdf.
>
> .. which is pretty humongous by any stretch of imagination. How about this
> one:
http://www.weasyprint.org/?
> WeasyPrint stems from the same FLOSS community that created Radicale, that
> tiny, fast and secure CardDAV/CalDAV server, and, yes, it uses Python.
> While I am not at all any expert, I have the feeling that it may be at least
> casting an eye over this converter...
> Thoughts?
> Bests from Kampala,
> Chris
>
>
Hi Chris,
If I remember correctly, we did try weasyprint among many other
solutions (at least Anand and I did try it months before the final
decision) but I don't remember the reason why we rejected it.
wkhtmltopdf is a huge 35M blob with QT, etc in it but comes really
close to what we see on the browser.
If you find weasyprint better, you can submit a patch (maybe we can
configure the converter configurable).
https://github.com/frappe/frappe/blob/develop/frappe/utils/pdf.py has
pdf specific code.
Didn't know that weasyprint is from the radicale guys :)
Thanks,
--
Pratik
erpnext