Hi Emmanuel,

that's extremely helpful! I will try this on linux!

Incidentally, we managed to resolve some of the issues that we had with
wkpdf by specifying specific styles, such as width/height/font-size. The
problems we were having were probably to do with the quartz rendering
framework rather than with wkpdf directly!

Thanks so much!
Bjoern



On 22 November 2013 12:39, Emmanuel Engelhart <[email protected]> wrote:

> Le 21/11/2013 21:54, Bjoern Hassler a écrit :
> > Yes, I have tried it, and got a very large, unpaginated image of it.
> >
> > Would you possibly be able to send me the url for the page your tried
> > (off list), as well as the output? (Perhaps plus the version of
> > phantomjs, OS, and the js script or a link to it?)
> >
> > That would be very helpful. I'll try to generate it for the same url,
> > and see how the output differs.
>
> I have tried myself on Ubuntu 13.10 with phantomjs package:
> $phantomjs /usr/share/doc/phantomjs/examples/rasterize.js
> 'http://en.wikipedia.org/' enwiki.pdf
>
> The output is available here:
> http://tmp.kiwix.org/enwiki.pdf
>
> Like you can see the text can be selected, so this is not a big image.
>
> But, at the same time, we have an OSX specific bug, which maybe explains
> your result:
> https://github.com/ariya/phantomjs/issues/10373
>
> Emmanuel
> --
> Kiwix - Wikipedia Offline & more
> * Web: http://www.kiwix.orghttp://tmp.kiwix.org/enwiki.pdf
> * 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

Reply via email to