fix pdf dashed line syntax

This commit is contained in:
Johannes 'josch' Schauer 2020-09-27 01:37:25 +02:00
parent b58392ec5a
commit 7a951f1b31
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -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"):