Index: src/shape.cpp =================================================================== --- src/shape.cpp (revision 91121) +++ src/shape.cpp (working copy) @@ -1746,12 +1746,9 @@ void Path::GetSizeForBrush (cairo_t *cr, double *width, double *height) { - double x1, y1, x2, y2; - - cairo_stroke_extents (cr, &x1, &y1, &x2, &y2); - - *height = fabs (y2 - y1); - *width = fabs (x2 - x1); + ComputeBounds (); + *height = bounds.h; + *width = bounds.w; }