[cairo] Regression in stroker

Adrian Johnson ajohnson at redneon.com
Tue Mar 11 03:57:55 PDT 2008

Adrian Johnson wrote:
> The attached PDF when viewed with the latest git poppler and cairo has a
> round cap missing and one of the round joins has been clipped.
> According to git bisect the regression was introduced by the cairo commit:
>   afbd82671fe5ebebe5d58bef3d372312be1c5aeb
>   "Optimize stroker by hoisting some calculations out of loops"

Attached is a test case that demonstrates the bug. All non horizontal
lines are missing the round caps. One of the round joins has been flattened.

The bug appears to be triggered by the call to cairo_set_matrix() that
flips the y axis. Removing that call will cause the test to render

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 1304 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080311/bd397c3b/attachment.c 

More information about the cairo mailing list