PDF/EPS Save as

Post questions on how to use or achieve an effect in Inkscape.
KaKiLa
Posts: 5
Joined: Fri Apr 01, 2011 8:30 pm

PDF/EPS Save as

Postby KaKiLa » Tue Apr 05, 2011 10:49 pm

Hi all,

I am trying to export a PDF 1.4 in Inkscape 0.48. Some programs can open it but some other can, in particular Acrobat reader says
"Error : There was a problem reading this document (109)."

Is there a way to avoid this (I really do not care but my colleagues use Acrobat reader to see the PDF files I send them).

I tried producing EPS, but if there are too many lines some of them are missing. This is a known bug https://bugs.launchpad.net/inkscape/+bug/694553.

Thanks for your help

User avatar
BobSongs
Posts: 324
Joined: Fri Sep 14, 2007 2:18 pm
Location: Montreal, Canada

Re: PDF/EPS Save as

Postby BobSongs » Mon Jun 06, 2011 2:19 pm

Would you kindly provide us with a bit of information, namely:

  • The version of Inkscape you're using.
  • The steps you take to export your document to PDF

It would be of great help if you could detail for us the settings you choose when exporting to PDF.

Thank you.

KaKiLa
Posts: 5
Joined: Fri Apr 01, 2011 8:30 pm

Re: PDF/EPS Save as

Postby KaKiLa » Mon Jun 06, 2011 4:27 pm

Sure,
Thanks for answering

OS: Ubuntu 10.10
Inkscape 0.48 r9654
Adobe Reader 9.4.2 02/11/2011

Use the SVG that I am attaching.
Save a Copy...
ANY options you use for the PDF produces the same error. I am using
PDF 1.4.
Convert text to paths.
Rasterize filter effects at 200 dpi.
Export area is page.
Adobe will give an error when loading the file. Document Viewer 2.32.0 that uses poppler/cairo (0.14.3) reads the file without problems

Then Erase the feather path (the black path to the right of the plot)
Do the same as before
Adobe reads the file without problem

It may be a problem of Adobe, but the EPS behavior reported in the bug I mentioned earlier seems related, as well as the introduction of cairo for the exporting.

JPi
Attachments
test01.svg.zip
Test for the EPS/PDF bug
(27.91 KiB) Downloaded 181 times

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: PDF/EPS Save as

Postby ~suv » Mon Jun 06, 2011 6:03 pm

Code: Select all

     <radialGradient … id="radialGradient992"><stop
         style="stop-opacity:1;stop-color:#7f8084"
         offset="0"
         id="stop994" /><stop
         style="stop-opacity:1;stop-color:#33343c"
         offset="1"
         id="stop996" />
     </radialGradient>
Most likely a known bug in cairo 1.10.0 with radial, fully opaque gradients.
(fixed in cairo 1.10.2, e.g. in Ubuntu Natty).

See Bug #681512 in Inkscape: “Opaque radial gradients cause PDFs to fail to open in Adobe Reader

User avatar
BobSongs
Posts: 324
Joined: Fri Sep 14, 2007 2:18 pm
Location: Montreal, Canada

Re: PDF/EPS Save as

Postby BobSongs » Tue Jun 07, 2011 3:01 am

Hats off to you, ~suv, you hit the nail on the head!

I believe we have our answer. An upgrade, KaKiLa, to Natty Narwhal, 11.04 should fix this minor bug.

KaKiLa
Posts: 5
Joined: Fri Apr 01, 2011 8:30 pm

Re: PDF/EPS Save as

Postby KaKiLa » Tue Jun 07, 2011 3:16 am

Hi,
Thanks a lot for pinning this down.
However, forcing the user to upgrade the OS doesn't sound like a solution (I do not like Unity at all!!!)
What about an upgrade to cairo 1.10.2?

Is there a PPA I could add form Natty to Maverick or something like that?

Thanks again

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: PDF/EPS Save as

Postby ~suv » Tue Jun 07, 2011 3:37 am

KaKiLa wrote:However, forcing the user to upgrade the OS doesn't sound like a solution (I do not like Unity at all!!!)
What about an upgrade to cairo 1.10.2?

No one forces you - just that Inkscape doesn't have a say what versions of an independent library are installed with the various linux distros (be it Ubuntu / cairo or others).
Maybe ask in a Ubuntu support forum how to get a newer cairo version?

KaKiLa
Posts: 5
Joined: Fri Apr 01, 2011 8:30 pm

Re: PDF/EPS Save as

Postby KaKiLa » Tue Jun 07, 2011 3:46 am

Thanks, I am on it!
:D


Return to “Help with using Inkscape”