pattern fills do not export to ps or eps

Bug #166563 reported by Bug Importer
4
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
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.

Revision history for this message
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.

Revision history for this message
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.

Revision history for this message
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.

Revision history for this message
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?

Revision history for this message
Mwtoews-users (mwtoews-users) wrote :

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

Revision history for this message
Bug Importer (bug-importer) wrote :

Same problem still exists on 0.44 Win XP.

Revision history for this message
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

Revision history for this message
Peter Lewerin (vermeil-deactivatedaccount) wrote :

Is this still an issue?

Changed in inkscape:
status: New → Incomplete
Revision history for this message
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

Revision history for this message
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?

Revision history for this message
MenTaLguY (mental-deactivatedaccount) wrote : Re: [Bug 166563] Re: pattern fills do not export to ps or eps

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

Revision history for this message
MenTaLguY (mental-deactivatedaccount) wrote :

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

Revision history for this message
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
Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

fixed in svn

Changed in inkscape:
status: Confirmed → Fix Released
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.