Bug 50398 - Misrendered lines showing in Inkscape's outline mode
Summary: Misrendered lines showing in Inkscape's outline mode
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: svg backend (show other bugs)
Version: 1.12.2
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Emmanuel Pacaud
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-27 10:37 UTC by Josh Andler
Modified: 2012-05-27 10:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.