From 02c988c17e5aa62aa76bd2f883258fc2815b03d8 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Wed, 27 Nov 2024 13:43:42 +0000 Subject: [PATCH] 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $@ $< -- 2.30.2