]> git.lyx.org Git - features.git/commitdiff
Explain why rsvg_convert is in front of inkscape
authorGeorg Baum <baum@lyx.org>
Mon, 7 Dec 2015 20:17:33 +0000 (21:17 +0100)
committerGeorg Baum <baum@lyx.org>
Mon, 7 Dec 2015 20:17:33 +0000 (21:17 +0100)
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

index 16c98443bac2c06ddb4f4c764abe065da0f13d43..3b88041d3c96713c2c29fa1f1624e6c38fb0d72c 100644 (file)
@@ -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])