Update inkscape command

This commit is contained in:
Joel Addison 2025-01-19 15:38:02 +10:30
parent 1089c3072c
commit 8cc0fbd242

View file

@ -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)
] ]