I am trying to export (save copy as) to PDF, and the filter effects on a particular piece of SVG from openclipart render poorly.
http://www.openclipart.org/detail/35389
The rings circling the globe and the four flare-effect points with circular gradients are greatly enlarged on PDF export, washing out most of the globe effect behind a white gradient.
Is this an inherent limitation of the current state of PDF export?
The graphic is proportionally scaled larger than its original size, e.g. 3" diameter on printed output. It looks exactly right as SVG, but are the gradients getting scaled incorrectly on PDF output?
I did try the option to rasterize filter effects, but that did not change the rendered output much. It may well have rasterized, but the gradients were still the same over-size.
I am using Inkscape bzr trunk on Gentoo Linux ~amd64.
Thanks.
On 13/11/10 01:58, Jeff Kowalczyk wrote:
I am trying to export (save copy as) to PDF, and the filter effects on a particular piece of SVG from openclipart render poorly.
http://www.openclipart.org/detail/35389
The rings circling the globe and the four flare-effect points with circular gradients are greatly enlarged on PDF export, washing out most of the globe effect behind a white gradient.
Is this an inherent limitation of the current state of PDF export?
The graphic is proportionally scaled larger than its original size, e.g. 3" diameter on printed output. It looks exactly right as SVG, but are the gradients getting scaled incorrectly on PDF output?
I did try the option to rasterize filter effects, but that did not change the rendered output much. It may well have rasterized, but the gradients were still the same over-size.
I am using Inkscape bzr trunk on Gentoo Linux ~amd64.
Attaching a screenshot displaying the SVG and PDF... looks ok to me. Export tested with - Inkscape 0.48+devel r9890 on OS X 10.5.8, (cairo 1.10); - default PDF export settings (rasterize filter effects with 90dpi); - default PDF viewer on OS X: Preview.app.
Which PDF viewer did you use to compare the rendering of the SVG and PDF file? Can you attach a screenshot and the PDF file itself?
~suv
~suv <suv-sf@...125...> writes:
Attaching a screenshot displaying the SVG and PDF... looks ok to me. Export tested with
- Inkscape 0.48+devel r9890 on OS X 10.5.8, (cairo 1.10);
- default PDF export settings (rasterize filter effects with 90dpi);
- default PDF viewer on OS X: Preview.app.
Which PDF viewer did you use to compare the rendering of the SVG and PDF file? Can you attach a screenshot and the PDF file itself?
suv,
It seems your Mac OS X PDF viewer is handling Inkscape PDF output better than does evince-2.30.3 (poppler 0.14.5) on Gentoo Linux ~amd64, or Adobe Acrobat Reader 9.4 on Windows.
Attached (edit: URL, can't attach*) is a screenshot of the described problem on my Linux PC, with evince-2.30.2
On Adobe Acrobat Reader 9.4 Windows 32-bit, the same PDF file produces the error: There was an error processing a page. There was a problem reading this document (109). Nothing gets rendered after dismissing the error dialog.
Thanks, Jeff
* I use gmane to read inkscape-users, no upload feature, and my list subscription has not been processed yet.
On 14/11/10 16:45, Jeff Kowalczyk wrote:
~suv <suv-sf@...125...> writes:
Attaching a screenshot displaying the SVG and PDF... looks ok to me. Export tested with
- Inkscape 0.48+devel r9890 on OS X 10.5.8, (cairo 1.10);
- default PDF export settings (rasterize filter effects with 90dpi);
- default PDF viewer on OS X: Preview.app.
Which PDF viewer did you use to compare the rendering of the SVG and PDF file? Can you attach a screenshot and the PDF file itself?
It seems your Mac OS X PDF viewer is handling Inkscape PDF output better than does evince-2.30.3 (poppler 0.14.5) on Gentoo Linux ~amd64, or Adobe Acrobat Reader 9.4 on Windows.
Attached (edit: URL, can't attach*) is a screenshot of the described problem on my Linux PC, with evince-2.30.2
Could be a poppler related issue (combined with a slightly broken (?) PDF exported by Inkscape): the preview, when opening the exported PDF in Inkscape, looks exactly the same as your screenshot from evince, but after import, the image on-canvas in Inskcape is almost identical in appearance as the original SVG (though I can see minor differences depending on the cairo version used when exporting from Inkscape; exported with Cairo 1.10 has better results when imported in Inkscape again). These tests using Inkscape as PDF viewer are to be taken with caution though (IMHO), as round-trip editing a PDF in Inkscape can produce unexpected results with minor errors. Unfortunately I do not have the skills to investigate or verify the PDF file itself (exported by Inkscape using cairo 1.8.10 or 1.10).
On 13/11/10 01:58, Jeff Kowalczyk wrote:
(…) but the gradients were still the same over-size.
There seems to be a bug in cairo 1.10 with regard to gradients (see https://bugs.launchpad.net/inkscape/+bug/672686), possibly related?
~suv
participants (2)
-
Jeff Kowalczyk
-
~suv