UNCONFIRMED 93740
gtk_widget_draw of a WebKitWebView in a Cairo PDF surface is not longer in vector format
https://bugs.webkit.org/show_bug.cgi?id=93740
Summary gtk_widget_draw of a WebKitWebView in a Cairo PDF surface is not longer in ve...
Emmanuel Rodriguez
Reported 2012-08-10 13:33:06 PDT
Created attachment 157801 [details] Sample program showing the problem With WebKitGtk version 1.6 I'm able to save a webpage as a vectorial PDF through Cairo properly. With the release 1.8 and the testing 1.9 this is no longer possible. A PDF can be generated through Cairo but the contents are a huge bitmap. Text elements can no longer be selected in the output file. Also zooming in the PDF document is no longer smooth. Something changed between the release 1.6 and 1.8 and cairo surfaces no longer work as expected. See the attached test case. Compile with: cc -std=c99 -o screenshot screenshot.c `pkg-config --cflags --libs webkitgtk-3.0 cairo-pdf` Run it with: ./screenshot http://webkitgtk.org/ Open the PDF a.pdf and look at the result.
Attachments
Sample program showing the problem (2.30 KB, text/x-csrc)
2012-08-10 13:33 PDT, Emmanuel Rodriguez
no flags
Note You need to log in before you can comment on or make changes to this bug.