? hull-fix.diff Index: src/cairo-hull.c =================================================================== RCS file: /cvs/cairo/cairo/src/cairo-hull.c,v retrieving revision 1.8 diff -p -u -r1.8 cairo-hull.c --- src/cairo-hull.c 22 Feb 2005 19:35:03 -0000 1.8 +++ src/cairo-hull.c 21 Aug 2005 18:04:51 -0000 @@ -97,7 +97,7 @@ _cairo_hull_vertex_compare (const void * (cairo_fixed_48_16_t) a->slope.dy * a->slope.dy); b_dist = ((cairo_fixed_48_16_t) b->slope.dx * b->slope.dx + (cairo_fixed_48_16_t) b->slope.dy * b->slope.dy); - if (a_dist < b_dist) { + if (a_dist < b_dist || (a_dist == b_dist && a < b)) { a->discard = 1; ret = -1; } else {