Comment 14 for bug 813886

I've pushed a fix to cairo git master. Here is a patch for 1.10.2.