From 52978f94d28a8f5f731e4c394b225f1a2927d3a6 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Mon, 7 Dec 2015 21:17:33 +0100 Subject: [PATCH] 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) --- lib/configure.py | 1 + 1 file changed, 1 insertion(+) 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]) -- 2.39.5