summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fedora_business_cards/export.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fedora_business_cards/export.py b/fedora_business_cards/export.py
index 1adf7ba..5e4c23e 100644
--- a/fedora_business_cards/export.py
+++ b/fedora_business_cards/export.py
@@ -42,7 +42,7 @@ def svg_to_pdf_png(xmlstring, filename, format='png', dpi=300):
dpi = DPI to export PNG with (default: 300)
"""
stdin = xmlstring.encode('utf-8')
- command = ['inkscape', '-d', str(dpi), '-e', filename, '/dev/stdin']
+ command = ['inkscape', '-C -z -d', str(dpi), '-e', filename, '/dev/stdin']
if format == 'png':
sp = subprocess.Popen(' '.join(command), shell=True,
stdin=subprocess.PIPE, stdout=subprocess.PIPE,)