[Webkit-unassigned] [Bug 93740] New: gtk_widget_draw of a WebKitWebView in a Cairo PDF surface is not longer in vector format

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 10 13:32:38 PDT 2012


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 vector format
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: emmanuel.rodriguez at gmail.com


Created an attachment (id=157801)
 --> (https://bugs.webkit.org/attachment.cgi?id=157801&action=review)
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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list