Bug 30896

Summary: Incorrect result of cairo_path_extents for single vertical line
Product: cairo Reporter: Martin Horák <horakm>
Component: image backendAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.10.0   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Martin Horák 2010-10-15 07:32:02 UTC
Sample:

cairo_new_path( cr );
cairo_new_sub_path( cr );
cairo_move_to( cr, 1.0, 1.0 );
cairo_line_to( cr, 1.0, 2.0 );

After these commands, cairo_path_extents returns empty rectangle

In version 1.8.10, the result was correct.
Comment 1 Andrea Canciani 2010-10-29 10:27:43 UTC
I just pushed patchset to master that (among a bunch of other glitches) enables the testing for this bug in the get-path-extents test and fixes it.

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.