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

Emmanuel Rodriguez emmanuel.rodriguez at gmail.com
Mon May 28 01:58:13 PDT 2012


On Mon, May 14, 2012 at 8:55 AM, Tomeu Vizoso <tomeu at tomeuvizoso.net> wrote:
> 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.
>

Is it possible to disable it at runtime? I tried recompiling webkit
with --with-accelerated-compositing=cairo and
--with-accelerated-compositing=none and no success.

I really don't know what has changed in 1.8 so that all cairo contexts
are now rendered as a bitmap image.

Emmanuel Rodriguez


More information about the webkit-gtk mailing list