fix pdf dashed line syntax

main
parent b58392ec5a
commit 7a951f1b31
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

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

Loading…
Cancel
Save