FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

LinkBack Thread Tools
Old 05-18-2012, 01:36 PM
ōyvind Skaar
Default Saving screenshots to vectorized PDF's using Gtk3, Cairo & Webkit stopped working on F17 beta

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

As far as I can tell PDF is support is compiled into Cairo, and

This simple Cairo example works as well:
"PDF file" -

Unfortunately I don't know enough about this to create a really small
example, but potyl's screenshot.c is pretty small:


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?


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

ōyvind Skaar

users mailing list
To unsubscribe or change subscription options:
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Thread Tools

All times are GMT. The time now is 01:32 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org