[cairo] infinite loop when CAIRO_FIXED_FRAC_BITS is 8

Carl Worth cworth at cworth.org
Thu Feb 14 12:34:31 PST 2008


On Wed, 13 Feb 2008 20:20:50 -0800, Carl Worth wrote:
> Anyway, I think I'll have a fix soon.

Here's what I've got. This fixes the infinite loop, adds a spline to
the degenerate-pen test case, (which was triggering the infinite loop
before the fix here), and then switches from 16.16 to 24.8 fixed-point
format.

I'd appreciate any review of the change I made to
_cairo_slope_compare. This is a fairly core part of cairo's
computational geometric machinery so it's important to get the details
right.

-Carl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: infinite-loop-fix.patchset
Type: application/octet-stream
Size: 0 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080214/5c17560a/attachment.obj 


More information about the cairo mailing list