Converting a CGPath to a string is done in an incorrect way. Quadratic curves (kCGPathElementAddQuadCurveToPoint) should result in two points, currently four points are printed. Cubic curves (kCGPathElementAddCurveToPoint) should result in three points, currently six points are printed.
Created attachment 3490 [details] patch + updated tests
Created attachment 3500 [details] updated diff The previous diff accidently included a patch for another bug as well.
Comment on attachment 3500 [details] updated diff Wow. Yeah, serious oversight on my part. This was causing problems with the layout tests too... Thanks for the nice fix.