From: Günter Milde Date: Sat, 9 Jan 2016 14:51:25 +0000 (+0100) Subject: Swap preference of PDF->Postscript converters. X-Git-Tag: 2.2.0beta1~237 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9ff11a7935604b80c19e1d233fb7f91795787969;p=features.git Swap preference of PDF->Postscript converters. According to http://stefaanlippens.net/pdf2ps_vs_pdftops pdftops is better than pdf2ps (which transforms fonts into bitmaps which results in larger files, non scalability and longer conversion times). (tip by Georg Baum, http://permalink.gmane.org/gmane.editors.lyx.general/85973) --- diff --git a/lib/configure.py b/lib/configure.py index 3b88041d3c..0dcc4ce105 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -904,7 +904,7 @@ def checkConverterEntries(): checkProg('a PS to EPS converter', ['ps2eps -- < $$i > $$o'], rc_entry = [ r'\converter eps2 eps "%%" ""' ]) # - checkProg('a PDF to PS converter', ['pdf2ps $$i $$o', 'pdftops $$i $$o'], + checkProg('a PDF to PS converter', ['pdftops $$i $$o', 'pdf2ps $$i $$o'], rc_entry = [ r'\converter pdf ps "%%" ""' ]) # Only define a converter from pdf6 for graphics checkProg('a PDF to EPS converter', ['pdftops -eps -f 1 -l 1 $$i $$o'],