On Sat 21 Sep 2019 at 17:39:20 +0200, Didier 'OdyX' Raboud wrote:

> Le samedi, 21 septembre 2019, 16.24:30 h CEST Brian Potkin a écrit :
> > > There's clearly a regression in ghostscript 9.28 that started segfaulting
> > > in the c2esp filter chain. But I can't manage to reproduce it outside of
> > > the "cups + c2esp + cups-filters (gstoraster) + ghostscript" environment.
> > > 
> > > Brian; Till: any idea?
> > 
> > No ideas from me really. I too get gstoraster stopping when attempting
> > to print /usr/share/cups/data/form_russian.pdf; but the same is true for
> > form_english.pdf.
> 
> Ah, sorry; I formulated my inquiry weakly. Let me try again:
> 
> Do you have a hint on how to reproduce the failing ghostscript call (or the 
> gstoraster call) directly, without using CUPS in the middle?


Would this do?

cat /usr/share/cups/data/form_russian.pdf | gs -dQUIET -dPARANOIDSAFER 
-dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm 
-sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -r600x600 
-dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dcupsBitsPerColor=8 
-dcupsColorOrder=0 -dcupsColorSpace=4 -scupsPageSizeName=A4 
-I/usr/share/cups/fonts -c '<</.HWMargins[3.000000 3.000000 3.000000 3.000000] 
/Margins[00]>>setpagedevice' -f -_ > out.ras

Regards,

Brian.

Reply via email to