Regression: PDF files created with Inkscape are crashing Xelatex
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cairo (Debian) |
New
|
Unknown
|
|||
cairo (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After upgrading from Ubuntu 12.04 to Ubuntu 12.10 the PDF files created by Inkscape are causing Xelatex to crash. This happens when a figure includes gradients. The compilation process exits with the message:
** ERROR ** pdf_link_obj(): passed invalid object
As discussed in this thread, the error seems to appear for PDF file with broken references:
http://
Such files seem to be fixed by running "pdftk". The version number of inkscape in 12.04 and 12.10 didn't change though, the libpoppler and cairo libraries did, so the error might be located there...
Steps to reproduce:
Create a figure with a gradient in Inkscape and save it as PDF. Include this PDF in a latex document and try to compile it with xelatex.
Changed in cairo (Debian): | |
status: | Unknown → New |
affects: | libcairo (Ubuntu) → cairo (Ubuntu) |
Ok.. I copied libcairo.so.2 (version 1.10.2) from an ubuntu 12.04 machine along with the required libpoppler.so.19 and libpoppler- glib.so. 8.
When Inkscape uses the old cairo version, the exported PDF files work flawlessly with Xelatex.