1
0
Fork 0
forked from josch/plakativ

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 untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -785,7 +785,7 @@ class Plakativ:
page_height - mm_to_pt(self.layout["border_right"]), 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 numbers:
if portrait: if portrait:
shape.insertTextbox( 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() shape.commit()
if hasattr(outfile, "write"): if hasattr(outfile, "write"):