texlive[58639] Master/tlpkg/tlpostcode/dvipdfmx.pl: dvipdfmx

commits+preining at tug.org commits+preining at tug.org
Tue Mar 23 00:10:16 CET 2021


Revision: 58639
          http://tug.org/svn/texlive?view=revision&revision=58639
Author:   preining
Date:     2021-03-23 00:10:16 +0100 (Tue, 23 Mar 2021)
Log Message:
-----------
dvipdfmx postcode: fix up texmf-config version

Modified Paths:
--------------
    trunk/Master/tlpkg/tlpostcode/dvipdfmx.pl

Modified: trunk/Master/tlpkg/tlpostcode/dvipdfmx.pl
===================================================================
--- trunk/Master/tlpkg/tlpostcode/dvipdfmx.pl	2021-03-22 23:10:06 UTC (rev 58638)
+++ trunk/Master/tlpkg/tlpostcode/dvipdfmx.pl	2021-03-22 23:10:16 UTC (rev 58639)
@@ -42,15 +42,10 @@
     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 @@
     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;



More information about the tex-live-commits mailing list.