zoom bug

Bug #1362727 reported by Andreas Pernlund
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

I'm experiencing a problem when I zoom in the canvas. In some cases, appears a thin white line of pixels (or what ever color the background is) between two objects eg two squares even though I have centered them and put them edge to edge.

Kind regards from Sweden

Andreas

Revision history for this message
Andreas Pernlund (andreas-pernlund) wrote :
Revision history for this message
su_v (suv-lp) wrote :

Please always provide information about OS/platform and Inkscape version (see Inkscape menu 'Help > About Inkscape') when filing bug reports.

A screenshot or exported PNG image without the actual SVG file used to produce the rasterized images does not provide information which would allow to further investigate the reported issue - although based on the bug description, the issue reported here (bug #1362727) matches a well-known antialiasing issue of adjacent object boundaries already tracked in
- Bug #170356 (sf1003049) “Provide per-object antialiasing control (SVG 1.1 shape-rendering property)”
  <https://bugs.launchpad.net/inkscape/+bug/170356>
and several duplicate reports.

Could you please attach the original SVG file used to produce "bitmap.png" (and details about the export settings in case the PNG was generated with 'File > Export Bitmap')?

Changed in inkscape:
status: New → Incomplete
Revision history for this message
Andreas Pernlund (andreas-pernlund) wrote :

Yes of course I´m sorry

I am currently using Windows 7 Home Premium 64-bit and the 0.48.5 version of Inkscape.

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

Thanks for the feedback - the reported issue is due to the mentioned antialiasing effect at object boundaries against transparent background: this happens during rendering whenever an object's boundary doesn't fall on a pixelgrid line (on export the pixelgrid of the rasterized bitmap, depends on resolution; in the document window depending on the position of the objects and zoom level).

For horizontal and vertical edges, this can be minimized by aligning such edges to the pixelgrid of the drawing (see 'View > Display > Grid') and exporting at the native resolution of 90dpi (or viewing at 100% zoom level on-canvas). For diagonal or curved adjacent object boundaries, there is no such workaround - visible gaps can be avoided or minimized by slightly overlapping the shapes (e.g. by adding a stroke of the same color), if the drawing content allows for such slight "imprecision", or by stacking a unioned copy of the adjacent shapes underneath, with a fill color which is closer to the colors of the individual shapes than the usual background.

Linking as duplicate to bug #170356.

Changed in inkscape:
status: Incomplete → New
Revision history for this message
Andreas Pernlund (andreas-pernlund) wrote :

I see. Thanks for the answer. So there are no solution how to fix this problem permanently?

Do all programs have the same problem Illustrator and Photoshop for example?

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.