Update inkscape command
This commit is contained in:
parent
1089c3072c
commit
8cc0fbd242
1 changed files with 3 additions and 2 deletions
5
vendor/registrasion/registrasion/views.py
vendored
5
vendor/registrasion/registrasion/views.py
vendored
|
|
@ -1202,8 +1202,9 @@ def _convert_img(img, outformat="png", dpi=300, width=None):
|
||||||
# Inkscape results in nicer pdf render, embedding fonts etc where possible
|
# Inkscape results in nicer pdf render, embedding fonts etc where possible
|
||||||
conversion_cmdline = [
|
conversion_cmdline = [
|
||||||
'inkscape',
|
'inkscape',
|
||||||
'-f', '/dev/stdin',
|
'--pipe',
|
||||||
'-A', '/dev/stdout',
|
'--export-type=pdf',
|
||||||
|
'--export-filename=-',
|
||||||
'-d', str(dpi)
|
'-d', str(dpi)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue