Comment 15 for bug 823274

Revision history for this message
su_v (suv-lp) wrote :

> Do you mind explaining me or pointing to some manual
> on how to update cairo? I couldn't find any instruction
> suitable for a Linux newbie :(

I didn't want to imply that you need to or should tinker in any way with the system libraries - I mentioned it because we suspect that the problem with these types of flipped images in PDF files depends on the cairo version originally used to create the PDF file (cairo < 1.10.x), not on the application itself which uses the cairo library (Inkscape, Firefox, etc.).

> I've printed to file, and this function is provided by the OS, isn't it?

I'm not sure about that - AFAIU Ubuntu 10.04 (LTS) has cairo 1.8.10 installed, not 1.7.4 (though 1.8.10 might trigger the same issue): <http://packages.ubuntu.com/lucid/libcairo2>

Summary: don't mess with Firefox packages and/or system libararies (specially if you are new to linux). The comments here are intended for Inkscape's bug triage (trying to narrow down the issue: what needs to be addressed in Inkscape, what will/has been addressed upstream).

> Should I also check this whole procedure in Windows?

Saving a PDF by printing to file from Firefox and round-trip editing it in Inkscape? Unlikely - AFAIK on Windows this depends on having a PDF printer driver installed (or does Windows 7 now include native PDF support?).

On Mac OS X, Firefox uses the system routines to print to PDF and those PDF files created with Apple's Quartz PDFContext are not affected by this issue (flipped embedded images (in pattern fills) when round-trip edited in Inkscape 0.48.2 or 0.48+devel).