14 lines
646 B
Plaintext
14 lines
646 B
Plaintext
|
--- f_readeps.c
|
||
|
+++ f_readeps.c 2010-08-10 10:50:57.699132894 +0000
|
||
|
@@ -318,8 +318,8 @@ bitmap_from_gs(file, filetype, pic, urx,
|
||
|
gscom[0] = '\0';
|
||
|
}
|
||
|
sprintf(&gscom[strlen(gscom)],
|
||
|
- "%s -r72x72 -dSAFER -sDEVICE=%s -g%dx%d -sOutputFile=%s -q - > %s 2>&1",
|
||
|
- appres.ghostscript, driver, wid, ht, pixnam, errnam);
|
||
|
+ "%s -r72x72 -dNOSAFER -sDEVICE=%s -g%dx%d -sOutputFile=%s -c '<</PermitFileReading[(%s)]>> setuserparams .locksafe' -q - > %s 2>&1",
|
||
|
+ appres.ghostscript, driver, wid, ht, pixnam, psnam, errnam);
|
||
|
if (appres.DEBUG)
|
||
|
fprintf(stderr,"calling: %s\n",gscom);
|
||
|
if ((gsfile = popen(gscom, "w")) == 0) {
|