mirror of https://github.com/CIRCL/PyCIRCLean
Force path to PDFA_def.ps
parent
84b004c8a9
commit
a678a1c9f7
|
@ -258,7 +258,7 @@ class KittenGroomer(KittenGroomerBase):
|
|||
# The magic comes from here: http://svn.ghostscript.com/ghostscript/trunk/gs/doc/Ps2pdf.htm#PDFA
|
||||
curdir = os.getcwd()
|
||||
os.chdir(self.ressources_path)
|
||||
gs_command = '{} -dPDFA -dBATCH -dNOPAUSE -dNOOUTERSAVE -sProcessColorModel=DeviceCMYK -sDEVICE=pdfwrite -sPDFACompatibilityPolicy=1 -sOutputFile={} PDFA_def.ps {}'.format(
|
||||
gs_command = '{} -dPDFA -dBATCH -dNOPAUSE -dNOOUTERSAVE -sProcessColorModel=DeviceCMYK -sDEVICE=pdfwrite -sPDFACompatibilityPolicy=1 -sOutputFile={} ./PDFA_def.ps {}'.format(
|
||||
GS, os.path.join(curdir, tmppath), os.path.join(curdir, self.cur_file.src_path))
|
||||
self._run_process(gs_command)
|
||||
os.chdir(curdir)
|
||||
|
|
Loading…
Reference in New Issue