summaryrefslogtreecommitdiff
path: root/tree/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'tree/path.c')
-rw-r--r--tree/path.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tree/path.c b/tree/path.c
index b623d25c..24b4dfc8 100644
--- a/tree/path.c
+++ b/tree/path.c
@@ -163,6 +163,9 @@ fz_endpath(fz_pathnode *path, fz_pathkind paint, fz_stroke *stroke, fz_dash *das
path->miterlimit = stroke->miterlimit;
}
+ if (path->linewidth < 0.01)
+ path->linewidth = 0.01;
+
return nil;
}