summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-appearance.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf/pdf-appearance.c')
-rw-r--r--source/pdf/pdf-appearance.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/pdf/pdf-appearance.c b/source/pdf/pdf-appearance.c
index 21cf5ae2..c5c16ba6 100644
--- a/source/pdf/pdf-appearance.c
+++ b/source/pdf/pdf-appearance.c
@@ -1604,6 +1604,8 @@ void pdf_update_ink_appearance(pdf_document *doc, pdf_annot *annot)
path = fz_new_path(ctx);
stroke = fz_new_stroke_state(ctx);
stroke->linewidth = width;
+ stroke->start_cap = stroke->end_cap = FZ_LINECAP_ROUND;
+ stroke->linejoin = FZ_LINEJOIN_ROUND;
for (i = 0; i < n; i ++)
{