pattern fills do not export to ps or eps

Bug #166563 reported by Bug Importer on 2005-05-26
4
Affects Status Importance Assigned to Milestone
Inkscape
Low
Unassigned

Bug Description

When I create a patten (say a series of dots, short lines
etc, using Edit > Objects to Pattern) and fill a shape
(say a rectangle) with the pattern, it all appears OK on
the Inkscape screen when in svg format.

However, after exporting to ps or eps, the pattern fill
does not appear in ghostscript/ghostview and does not
print when sent to a post-script printer.

There seems to be a problem exporting pattern fills to
postscript files.

Am using Inkscape version 0.41 on Win XP 2002 with
service pack 2.

Bug Importer (bug-importer) wrote :

I filed the original report using my PC. When I tried to export
to eps shapes filled with a pattern using Inkscape on my mac
at home (OSX 10.3.9), there was still no pattern fills in the
eps files, so the problem appears not to be platform specific.

Hans Deragon (deragon) wrote :

Anybody has a workaround for this problem, like suggesting
another application that can read svg and send to a printer
and still keep the proper size? Bitmap printing does not
keep the size.

Hans Deragon (deragon) wrote :

The problem is more generalized. I tried a gradiant
instead, to replace the pattern fill, and still it would not
print. It seams that if the stroke is not full, it would
not export properly in ps.

Bug Importer (bug-importer) wrote :

any news if this will be fixed in near future? I understand
that postscript can't handle transparency and gradients, but
clipping a pattern to a path should be doable, or?

Mwtoews-users (mwtoews-users) wrote :

This exact problem is observed with version 0.44 on OS X.

Bug Importer (bug-importer) wrote :

Same problem still exists on 0.44 Win XP.

Schubert-users (schubert-users) wrote :

Hello,
same bug here. Debian Etch, Inkscape 0.44.1, built Sep 25 2006.
I cannot find any code related to the pattened and cropped
image in the eps-source. PNG export works.
Converting on commandline and GUI reproduces same bug.
Thank you for your help.

Ciao,
    Mario

Is this still an issue?

Changed in inkscape:
status: New → Incomplete
Jouke (digigram) wrote :

Confirmed in 0.45 on ubuntu gutsy - this is an issue. Interesting enough patterns don't show up in firefox either. Is there some code shared that causes this bug?

Jouke

Jouke (digigram) wrote :

I was wrong - firefox 2 just doesn't support patterns.

Firefox 3 does however - so a work around is:
1) open file in firefox 3
2) Print the file to postscript printer (using print to file)
3) Use ps2eps to convert the postscript to an eps file

2 remarks:
- I noticed that the pattern in the eps is converted to a bitmap pattern in the process - so it is less sharp (rest of my svg looked fine)
- I noticed that to fit the graph on a page I needed to change the viewbox size. This may be related to the first remark?

I don't think Firefox has pattern support at this time.

Hah, that'll teach me to reply to a bug email without checking for newer ones first. :)

ScislaC (scislac) wrote :

Still present in SVN rev 19754. There is pseudo-progress however when using the Cairo PS save. It doesn't properly handle things (at least with a scaled and rotated pattern), but something does show up inside the circle in the PS file now.

Changed in inkscape:
status: Incomplete → Confirmed

fixed in svn

Changed in inkscape:
status: Confirmed → Fix Released
HotHello (popperoga) wrote :

To create a PS or PDF file with patterns, open the SVG file with firefox and then print the page as a pdf or ps file. The resulting image won't have any bounding box, but at least it will be vectorial. I did not try if transparency and blur is supported, I let you discover it ;)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers