From: Ben Harris Date: Wed, 27 Nov 2024 13:43:42 +0000 (+0000) Subject: Set -dNOSAFER when running .bdf.ps programs X-Git-Tag: bedstead-3.251~82 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=03b881a394a5a407c4f162bae188578858a061a2;p=bedstead.git Set -dNOSAFER when running .bdf.ps programs 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. --- diff --git a/Makefile b/Makefile index d12182f..6408b23 100644 --- 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 $@ $<