Saving screenshots to vectorized PDF's using Gtk3, Cairo & Webkit stopped working on F17 beta

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Hi all,


I'm trying to grab some vectorized screenshots of web-pages using Gtk3, Webkit & Cairo, but I cant get it to behave on Fedora 17 beta.

Got it working on two F16 machines, but it fails on both the F17 machines I've tried.

I get my PDF files, but their just PNG images wrapped in PDF and not vectorized.


As far as I can tell PDF is support is compiled into Cairo, and "CAIRO_HAS_PDF_SURFACE" == 1 [1]

This simple Cairo example works as well:
"PDF file" - http://zetcode.com/tutorials/cairographicstutorial/cairobackends/


Unfortunately I don't know enough about this to create a really small example, but potyl's screenshot.c is pretty small:
https://github.com/potyl/Webkit/blob/master/screenshot.c


I'm expecting something like this to produce "real" PDF's:


git clone "https://github.com/potyl/Webkit.git";
cd Webkit
make screenshot
Xvfb ":99" -screen 0 200x200x24 &
DISPLAY=":99" ./screenshot "http://www.google.com";



Seems like Gtk3 was upgrade between f16 & 17, could it affect this?

Any ideas?


Thanks,
øs


[1] - http://www.cairographics.org/manual/cairo-PDF-Surfaces.html




--
Øyvind Skaar

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux