From 7a951f1b31dc09f20705a6a1c068b068289a00d4 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sun, 27 Sep 2020 01:37:25 +0200 Subject: [PATCH] fix pdf dashed line syntax --- plakativ.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plakativ.py b/plakativ.py index 2137864..4f5bfac 100755 --- a/plakativ.py +++ b/plakativ.py @@ -785,7 +785,7 @@ class Plakativ: page_height - mm_to_pt(self.layout["border_right"]), ) ) - shape.finish(width=0.2, color=(0.5, 0.5, 0.5), dashes="[5 6 1 6]") + shape.finish(width=0.2, color=(0.5, 0.5, 0.5), dashes="[5 6 1 6] 0") if numbers: if portrait: shape.insertTextbox( @@ -846,7 +846,7 @@ class Plakativ: ), ) ) - shape.finish(width=0.2, color=(0.5, 0.5, 0.5), dashes="[1 1]") + shape.finish(width=0.2, color=(0.5, 0.5, 0.5), dashes="[1 1] 0") shape.commit() if hasattr(outfile, "write"):