>From the link in the comments of Emmanuel's link :
http://we-love-php.blogspot.com/2012/12/create-pdf-invoices-with-html5-and-phantomjs.html


On Tue, Nov 19, 2013 at 6:34 PM, Bjoern Hassler <[email protected]> wrote:

> Hi Emmanuel,
>
> thanks - I don't think that will work for us. Because it creates a
> raster image, the resulting pdf files are huge, and text is not
> selectable.
>
> Is it possible to use phantomjs to produce non-raster pdf?
>
> I've so far tried wkhtmltopdf, but the rending wasn't great, and
> wkpdf, which produced very nice pdf, but unfortunately some lines are
> horizontally cut across two pages. This may be to do with webkit on my
> OS X install (10.7), but I couldn't test on 10.9 because wkpdf doesn't
> work with Ruby 2.0. Does anybody have any thoughts on this? (I realise
> this is perhaps a little off topic, but I guess html5->pdf needs to be
> solved for mediawiki as well.)
>
> Any other thoughts?
> Bjoern
>
> On 19 November 2013 18:15, Emmanuel Engelhart <[email protected]> wrote:
> > Le 19/11/2013 19:13, Bjoern Hassler a écrit :
> >> I'd like to ask a follow-up question to this. What do you guys use for
> >> converting html to pdf (on the command line)? Let's say once Parsoid
> >> has generated html5, how do you get it into pdf? I've used (and
> >> struggled) a bit with wkpdf and enscript to generate page numbers - is
> >> that the best solution around?
> >
> > phantomjs PDF rasteriser
> > https://coderwall.com/p/5vmo1g
> >
> > --
> > Kiwix - Wikipedia Offline & more
> > * Web: http://www.kiwix.org
> > * Twitter: https://twitter.com/KiwixOffline
> > * more: http://www.kiwix.org/wiki/Communication
> >
> > _______________________________________________
> > Offline-l mailing list
> > [email protected]
> > https://lists.wikimedia.org/mailman/listinfo/offline-l
>
> _______________________________________________
> Offline-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/offline-l
>
_______________________________________________
Offline-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/offline-l

Reply via email to