pkgsrc/print/dvipdfmx/patches/patch-ad
markd 0c31f4594a dvipdfmx: update to 20211117 - texlive 2022 version
Support for PSTricks without requiring -dNOSAFER, except for transparency.
The -r option to set bitmap font resolution works again.
2022-04-17 10:36:43 +00:00

15 lines
1 KiB
Text

$NetBSD: patch-ad,v 1.7 2022/04/17 10:36:43 markd Exp $
use explicit path
--- data/dvipdfmx.cfg.orig 2021-11-20 23:01:11.000000000 +0000
+++ data/dvipdfmx.cfg
@@ -149,7 +149,7 @@ P 0x003C
%% kpsewhich -progname=dvipdfmx -format=othertext dvipdfmx.cfg
%% and control which one is found by setting DVIPDFMXINPUTS.
%%
-D "rungs -q -dSAFER -dNOPAUSE -dBATCH -dEPSCrop -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dAutoRotatePages=/None -sOutputFile='%o' '%i' -c quit"
+D "@RUNGS@ -q -dSAFER -dNOPAUSE -dBATCH -dEPSCrop -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dAutoRotatePages=/None -sOutputFile='%o' '%i' -c quit"
%% If you change the above rungs invocation, also change dvipdfmx-unsafe.cfg!
% other random ps converters people have experimented with.