forked from josch/plakativ
fix pdf dashed line syntax
This commit is contained in:
parent
b58392ec5a
commit
7a951f1b31
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue