[webkit-gtk] Saving a cairo PDF surface doesn't store text in vectorial format

Tomeu Vizoso tomeu at tomeuvizoso.net
Sun May 13 23:55:37 PDT 2012


On Thu, May 10, 2012 at 4:31 PM, Emmanuel Rodriguez
<emmanuel.rodriguez at gmail.com> wrote:
> On Thu, May 10, 2012 at 6:30 AM, Emmanuel Rodriguez
> <emmanuel.rodriguez at gmail.com> wrote:
>> Hi,
>>
>> I don't know if the problem is with webkitgtk, gtk3 or cairo or some
>> other library. Since compiling webkitgtk takes so much time I'm asking
>> for help.
>
> I managed to compile webkitgtk 1.8.1, 1.9.2 and 1.6.3. From these 3
> builds only 1.6.3 is able to do proper PDFs through cairo.
>
> Version 1.6.3 is also the one that allows my program to detect
> properly when the page is "done" through the property 'load-status'.
>
> Could it be that I'm not using Webkit properly?
> Is it possible to use cairo to render PDFs with webkitgtk >= 1.8.0?

Wonder if it has anything to do with accelerated compositing. You may
want to try disabling that and see if it makes any difference.

Regards,

Tomeu

> What's the best way to detect when webkit has finished rendering the
> page (assuming that there's no javascript that will be triggered)?
>
> Emmanuel Rodriguez
> _______________________________________________
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk


More information about the webkit-gtk mailing list