chiark / gitweb /
Set -dNOSAFER when running .bdf.ps programs
authorBen Harris <bjh21@bjh21.me.uk>
Wed, 27 Nov 2024 13:43:42 +0000 (13:43 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Wed, 27 Nov 2024 21:01:25 +0000 (21:01 +0000)
Ghostscript 10.03.1 and later disable the "makeimagedevice" operator
when running under -dSAFER.  Even --permit-devices='*' isn't enough to
get it back.  The release notes say that makeimagedevice has been
removed entirely, but that seems not to be correct.

Makefile

index d12182f5f7666d1475c97cbdc10a83c9a3c21ae7..6408b23a5871ed5218b3ff0e26d9fba0065a4ccd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -83,7 +83,7 @@ bedstead-bold-%.bdf.ps: bedstead
 # Dependency of all of OTFFILES could be narrowed to just the relevant
 # one.
 %.bdf: %.bdf.ps $(OTFFILES) Fontmap
-       gs -P -q -dSAFER --permit-file-write=$@ -dNODISPLAY -dBATCH -- $< $@
+       gs -P -q -dNOSAFER -dNODISPLAY -dBATCH -- $< $@
 
 %.otf: %.ttx
        ttx --no-recalc-timestamp -o $@ $<