Bug 50398

Summary: Misrendered lines showing in Inkscape's outline mode
Product: cairo Reporter: Josh Andler <scislac>
Component: svg backendAssignee: Emmanuel Pacaud <emmanuel.pacaud>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.12.2   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Josh Andler 2012-05-27 10:37:27 UTC
In Inkscape in the View menu you can change to an outline display mode. It uses a simplified rendering method (limited segment count to simplify more) to display paths.

In the bug report I'm linking to, the original reporter has attached an SVG file which demonstrates the issue. It seems like precision is now reduced as well unlike the expected results from the cairo 1.10 series.

Note: Hardware & OS represents my setup that I reproduced on.

https://bugs.launchpad.net/inkscape/+bug/996044
Comment 1 Chris Wilson 2012-05-27 10:42:28 UTC
Looks correct here with master, looking at the misrendering, I think it is this bug:

commit e41dffb329e4a6fcb4e75fb501843838a499c4c8
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon May 14 17:46:32 2012 +0100

    stroke: Don't drop clockwise==0 lines
    
    If the join indicates the pair of edges are parallel, we may be
    considering the final segment of the spline with a different tangent
    vector than the slope of the final edge and so lead to false dropping of
    an edge. This has the effect that the line segments between 'arc arc arc
    arc' (a rounded rectangle) are no longer horizontal or vertical. As path
    construction tries to eliminate joins between colinear segments, this
    optimisation should not be required anyway.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.