diff options
Diffstat (limited to 'fitz')
-rw-r--r-- | fitz/dev_list.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fitz/dev_list.c b/fitz/dev_list.c index 69542677..6d3ab515 100644 --- a/fitz/dev_list.c +++ b/fitz/dev_list.c @@ -250,6 +250,7 @@ fz_list_stroke_path(fz_device *dev, fz_path *path, fz_stroke_state *stroke, fz_try(ctx) { fz_bound_path(dev->ctx, path, stroke, ctm, &node->rect); + fz_adjust_rect_for_stroke(&node->rect, stroke, ctm); node->item.path = fz_clone_path(dev->ctx, path); node->stroke = fz_keep_stroke_state(dev->ctx, stroke); } @@ -292,6 +293,7 @@ fz_list_clip_stroke_path(fz_device *dev, fz_path *path, const fz_rect *rect, fz_ fz_try(ctx) { fz_bound_path(dev->ctx, path, stroke, ctm, &node->rect); + fz_adjust_rect_for_stroke(&node->rect, stroke, ctm); if (rect) fz_intersect_rect(&node->rect, rect); node->item.path = fz_clone_path(dev->ctx, path); |