summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2021-03-22 23:10:16 +0000
committerNorbert Preining <preining@logic.at>2021-03-22 23:10:16 +0000
commit27a265fae8d60241e88cc05fd84440291dac4bc7 (patch)
tree3af1b94b1dc5fae51150a34868e0e60bf61b71d8
parentf79a008e806003fec006b528ca26c45df41e4155 (diff)
dvipdfmx postcode: fix up texmf-config version
git-svn-id: svn://tug.org/texlive/trunk@58639 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/tlpkg/tlpostcode/dvipdfmx.pl13
1 files changed, 4 insertions, 9 deletions
diff --git a/Master/tlpkg/tlpostcode/dvipdfmx.pl b/Master/tlpkg/tlpostcode/dvipdfmx.pl
index 856e19645fb..7c52d9da94f 100644
--- a/Master/tlpkg/tlpostcode/dvipdfmx.pl
+++ b/Master/tlpkg/tlpostcode/dvipdfmx.pl
@@ -42,15 +42,10 @@ sub do_install {
my @outlines;
my $isold = 0;
for my $l (@lines) {
- if ($l =~ m/^f\s+cid-x\.map\s*$/) {
+ if ($l =~ m/^D.*-dDELAYSAFER/) {
$isold = 1;
- push @outlines, "%f cid-x.map\n\n";
- push @outlines, "% the following file is generated by updmap(-sys) from the
-% KanjiMap entries in the updmap.cfg file.
-f kanjix.map
-% minimal example for Chinese and Korean users
-% improvements please to tex-live\@tug.org
-f ckx.map\n";
+ push @outlines, "D \"rungs -q -dALLOWPSTRANSPARENCY -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 invocation, also change dvipdfmx-unsafe.cfg!\n\n";
} else {
push @outlines, "$l\n";
}
@@ -58,7 +53,7 @@ f ckx.map\n";
if ($isold) {
if (!open (FOO, ">$tmfsysconf/dvipdfmx/dvipdfmx.cfg")) {
fprintf STDERR "dvipdfmx.pl(postcode): Cannot write $tmfsysconf/dvipdfmx/dvipdfmx.cfg
- This config file contains an outdated map definition line.
+ This config file contains dangerous configuration of gs.
Please see $tmfmain/dvipdfmx/dvipdfmx.cfg for changes
";
return 0;