2

When trying to save a copy to PDF (and also in print to file) the resulted file are broken. For example: if my pattern is small red dots, the pattern in the PDF are chunks of squares with small red dots.

I'm using Inkscape 0.91r on Ubuntu 14.04.

Any help would be very appreciated.

EDIT: Here is a visual example of the problem:

enter image description here

  • Fairly typically when you export to other formats then internal representations have to be flattened. In case of pattetns it would mean breaking ot into repeating objects. Even illustrator does this so i would say PDF does not support the concept of patterns in a way that could end up roudtripped back as pattetns. (If there are patterns in the spec i havent looked at them) – joojaa Sep 20 '15 at 9:16
  • I don't want to go into the internals, but i'm pretty sure Inkscape patterns can be converted to vector objects when converted to PDF. I don't mind it will be flattened in any way that the Inkscape team will find suitable, but currently it's just not usable. – Shai Efrati Sep 20 '15 at 9:25
7

So - it is a bug, here.

But, for the meantime i found a workaround:

Choose objects with patterns and use a filter on them. This way Inkscape will rasterize them when saving as a PDF:

Inkscape <code>save as PDF</code> window

Before and after comparison:

Patterns with and without filters saved as PDF

The only problem is that the resulted file is much larger than the one with the broken pattern (in my case it was one order of magnitude: a 1.8MB file became 12MB).

I hope that it will help anyone who faces the same issue.

| improve this answer | |
0

Found a little help, had a pattern with grouped objects and combined objects and only 1 of the combined object showed in the pdf. Then after combining all objects to 1 and using that for a pattern it all showed.

This is a little help for if you need basic one-colour background patterns in vector. You can change the background color itself with a simple separated color fill behind it.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.