From: Georg Baum Date: Mon, 7 Dec 2015 20:17:33 +0000 (+0100) Subject: Explain why rsvg_convert is in front of inkscape X-Git-Tag: 2.2.0beta1~442 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=52978f94d28a8f5f731e4c394b225f1a2927d3a6;p=features.git Explain why rsvg_convert is in front of inkscape Otherwise it could easily happen that the order is changed, since rsvg_convert seems to be more picky about invalid files (see http://www.lyx.org/trac/ticket/9891) --- diff --git a/lib/configure.py b/lib/configure.py index 16c98443ba..3b88041d3c 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -1003,6 +1003,7 @@ def checkConverterEntries(): checkProg('an OpenDocument -> EPS converter', ['libreoffice -headless -nologo -convert-to eps $$i', 'unoconv -f eps --stdout $$i > $$o'], rc_entry = [ r'\converter odg eps2 "%%" ""']) # Only define a converter to pdf6 for graphics + # Prefer rsvg-convert over inkscape since it is faster (see http://www.lyx.org/trac/ticket/9891) checkProg('a SVG -> PDF converter', ['rsvg-convert -f pdf -o $$o $$i', inkscape_name + ' --file=$$i --export-area-drawing --without-gui --export-pdf=$$o'], rc_entry = [ r'\converter svg pdf6 "%%" ""'], path = ['', inkscape_path])