White background showing through juxtaposed shapes

Bug #173630 reported by Maarten
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
High
Unassigned

Bug Description

When printing a pdf in inventor (autodesk), pictures are rendered in a grid of blocks. In inkscape there are visible lines between the blocks. In gsview and adobe reader the blocks line up without visible white lines. I have an image showing the problem.

Tags: renderer
Revision history for this message
Maarten (m-menheere) wrote :
Revision history for this message
JiHO (jiho) wrote :

This is confirmed with latest SVN and has been there for a while. Maybe Cairo's renderer would be better?

Changed in inkscape:
status: New → Confirmed
Revision history for this message
JiHO (jiho) wrote :

This is particularly visible on traced images, in which many shapes are juxtaposed.

Revision history for this message
Ulferikson (ulferikson) wrote :

Adobe Reader overlaps close objects. We had a bug report on the PDF exporter due to the dark lines visible in Adobe with transparent objects. It seems Inkscape rounds-off in the other direction, showing background between adjacent objects.

The attached file shows 8 rectangles spaced 100px apart. The left four are 100px wide and high, the right ones are 99.9px wide and high. Export to Pdf and compare with the svg at different zoom levels (the lines come and go as you zoom).

Revision history for this message
Maarten (m-menheere) wrote :

Yes, I get some darker lines with that as well. This is my file. If you save my file using cairo pdf and reopen, the grandient tiles start to get really messy.

nightrow (jb-benoit)
Changed in inkscape:
importance: Undecided → High
Revision history for this message
su_v (suv-lp) wrote :

Duplicate of bug #170356 “Suppress antialiasing artefact at the object boundary”?

Revision history for this message
ScislaC (scislac) wrote :

Just for the sake of mentioning it. Firefox renders it similarly to Inkscape. Whereas Chrome closes the gaps. I was hoping it could be alleviated by setting image-rendering:optimizeSpeed on the image tiles. When set, the effect is reduced but the gaps are still visible.

Revision history for this message
su_v (suv-lp) wrote :

1) AFAIU the originally reported issue about rendering gaps on-canvas of imported PDF files which have tiled/sliced bitmap images has three contributing aspects (note: the image rendering modes are only relevant for Inkscape >= 0.91:
* Image rendering mode in PDF (is Interpolation flag set or not?)
* Image rendering mode in SVG (does SVG attribute 'image-rendering' (Inkscape >= 0.91) match the rendering mode as defined in the PDF?) (fixed in r14171)
* Anti-aliasing artifacts in Inkscape's renderer of adjacent edges of objects if not aligned to the pixel grid of the output device (bug #170356)

Current trunk >= r14171 respects the Interpolation flag of the bitmap images in the PDF, and the "blocky" rendering mode prevents partial transparency along the edges of the embedded bitmaps. Turning off antialiasing in 'Document Properties' (new setting in >=0.91 implemented to address bug #170356) makes the remaining "gaps" disappear.

See also another (more recent) test case here:
http://www.inkscapeforum.com/viewtopic.php?t=19133&p=72996#p72996

2) The antialiasing artifacts in the Ladybug example from comment #3 are already tracked in bug #170356.

Revision history for this message
Ricky Larsson (rickylarsson) wrote :
Revision history for this message
Jonathan Hofinger (jhofinger) wrote :

Hi, this issue is being tracked in https://gitlab.com/inkscape/inkscape/-/issues/928.

Please feel free to file new bugs about the issues you're seeing at http://inkscape.org/report.

Closed by: https://gitlab.com/jhofinger

Changed in inkscape:
status: Confirmed → Invalid
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.