texlive[51888] trunk: cjk-gs-integrate (16aug19)

commits+karl at tug.org commits+karl at tug.org
Fri Aug 16 22:37:34 CEST 2019


Revision: 51888
          http://tug.org/svn/texlive?view=revision&revision=51888
Author:   karl
Date:     2019-08-16 22:37:33 +0200 (Fri, 16 Aug 2019)
Log Message:
-----------
cjk-gs-integrate (16aug19)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/cjk-gs-integrate/cjk-gs-integrate.pl
    trunk/Master/texmf-dist/doc/fonts/cjk-gs-integrate/ChangeLog
    trunk/Master/texmf-dist/doc/fonts/cjk-gs-integrate/README.md
    trunk/Master/texmf-dist/fonts/misc/cjk-gs-integrate/cjkgs-bizud.dat
    trunk/Master/texmf-dist/scripts/cjk-gs-integrate/cjk-gs-integrate.pl

Modified: trunk/Build/source/texk/texlive/linked_scripts/cjk-gs-integrate/cjk-gs-integrate.pl
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/cjk-gs-integrate/cjk-gs-integrate.pl	2019-08-16 20:37:07 UTC (rev 51887)
+++ trunk/Build/source/texk/texlive/linked_scripts/cjk-gs-integrate/cjk-gs-integrate.pl	2019-08-16 20:37:33 UTC (rev 51888)
@@ -39,7 +39,7 @@
 use strict;
 
 (my $prg = basename($0)) =~ s/\.pl$//;
-my $version = '20190303.0';
+my $version = '20190816.0';
 
 if (win32()) {
   # conversion between internal (utf-8) and console (cp932):
@@ -348,6 +348,12 @@
   exit(0);
 }
 
+# check for the existence of kpsewhich, otherwise we cannot do anything
+if (system("kpsewhich --version >$nul 2>&1 <$nul" ) != 0) {
+  print_error("We need `kpsewhich' being installed! Exiting.\n");
+  exit(1);
+}
+
 if ($opt_debug >= 2) {
   require Data::Dumper;
   $Data::Dumper::Indent = 1;
@@ -676,15 +682,15 @@
     if $opt_texmflink;
   for my $k (sort keys %fontdb) {
     if ($fontdb{$k}{'available'} && $fontdb{$k}{'type'} eq 'TTF') {
-      generate_font_snippet($fontdest,
-        $k, $fontdb{$k}{'class'}, $fontdb{$k}{'target'});
+    # generate_font_snippet($fontdest,
+    #   $k, $fontdb{$k}{'class'}, $fontdb{$k}{'target'});
       $outp .= generate_cidfmap_entry($k, $fontdb{$k}{'class'}, $fontdb{$k}{'ttfname'}, -1);
       link_font($fontdb{$k}{'target'}, $cidfsubst, $fontdb{$k}{'ttfname'});
       link_font($fontdb{$k}{'target'}, "$opt_texmflink/$ttf_pathpart", $fontdb{$k}{'ttfname'})
         if $opt_texmflink;
     } elsif ($fontdb{$k}{'available'} && $fontdb{$k}{'type'} eq 'TTC') {
-      generate_font_snippet($fontdest,
-        $k, $fontdb{$k}{'class'}, $fontdb{$k}{'target'});
+    # generate_font_snippet($fontdest,
+    #   $k, $fontdb{$k}{'class'}, $fontdb{$k}{'target'});
       $outp .= generate_cidfmap_entry($k, $fontdb{$k}{'class'}, $fontdb{$k}{'ttcname'}, $fontdb{$k}{'subfont'});
       link_font($fontdb{$k}{'target'}, $cidfsubst, $fontdb{$k}{'ttcname'});
       link_font($fontdb{$k}{'target'}, "$opt_texmflink/$ttf_pathpart", $fontdb{$k}{'ttcname'})
@@ -1439,6 +1445,7 @@
             $bname = $b;
             last;
           }
+          $actualpsname =~ s/[\r\n]+\z//; # perl's chomp() on git-bash cannot strip CR of CRLF ??
           if ($actualpsname ne $k) {
             print_debug("... PSName returned by otfinfo ($actualpsname) is\n");
             print_debug("different from our database ($k), discarding!\n");
@@ -2030,6 +2037,9 @@
 them available to an installed Ghostscript. In the simplest case with
 sufficient privileges, a run without arguments should effect in a
 complete setup of Ghostscript.
+Search is done using the kpathsea library, in particular `kpsewhich`
+program. To run this script, you will need some TeX distribution in
+your system.
 ";
 
 my $operation = "

Modified: trunk/Master/texmf-dist/doc/fonts/cjk-gs-integrate/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/cjk-gs-integrate/ChangeLog	2019-08-16 20:37:07 UTC (rev 51887)
+++ trunk/Master/texmf-dist/doc/fonts/cjk-gs-integrate/ChangeLog	2019-08-16 20:37:33 UTC (rev 51888)
@@ -1,10 +1,38 @@
+2019-08-16  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
+
+	* Release 20190816.0 (HEAD -> master) [089a440]
+
+2019-08-16  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
+
+	* gs-9.27 doesn't like snippets for TTF/TTC it seems gs-9.25 and gs-9.26 does not require snippets for TTF/TTC so it will be safe enough (origin/master, origin/HEAD) [22bc208]
+
+2019-05-22  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
+
+	* mention requirement of kpsewhich in help message [fd6f3d2]
+
+2019-05-19  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
+
+	* make sure CR is stripped [2120e9f]
+
+2019-05-19  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
+
+	* \/dev\/null -> $nul (origin/check-kpse) [1145435]
+
+2019-05-19  Norbert Preining  <norbert at preining.info>
+
+	* test for kpsewhich (Issue: #33) [68ae7ce]
+
+2019-04-06  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
+
+	* Add info for latest BIZ-UD fonts [ce8d802]
+
 2019-03-03  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
 
-	* Release 20190303.0 (HEAD -> master) [131b0f4]
+	* Release 20190303.0 (tag: 20190303.0) [131b0f4]
 
 2019-03-03  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
 
-	* copyright year (origin/master, origin/HEAD) [0732219]
+	* copyright year [0732219]
 
 2019-03-03  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
 
@@ -140,7 +168,7 @@
 
 2018-02-15  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
 
-	* don't discard when otfinfo exits with non-zero (origin/otfinfo-rewrite, otfinfo-rewrite) [9e630e3]
+	* don't discard when otfinfo exits with non-zero [9e630e3]
 
 2018-02-15  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
 
@@ -496,7 +524,7 @@
 
 2017-06-20  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
 
-	* NTFS symlink on win32 has file size = 0, we can distinguish it (origin/cleanup) [ab9b543]
+	* NTFS symlink on win32 has file size = 0, we can distinguish it [ab9b543]
 
 2017-06-20  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
 
@@ -588,7 +616,7 @@
 
 2017-05-05  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
 
-	* fix a mistake, adjust help message for search path (origin/win32-support, aminophen/win32-support) [8fd2c88]
+	* fix a mistake, adjust help message for search path (aminophen/win32-support) [8fd2c88]
 
 2017-05-02  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
 

Modified: trunk/Master/texmf-dist/doc/fonts/cjk-gs-integrate/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/cjk-gs-integrate/README.md	2019-08-16 20:37:07 UTC (rev 51887)
+++ trunk/Master/texmf-dist/doc/fonts/cjk-gs-integrate/README.md	2019-08-16 20:37:33 UTC (rev 51888)
@@ -5,6 +5,9 @@
 them available to an installed Ghostscript. In the simplest case with
 sufficient privileges, a run without arguments should effect in a
 complete setup of Ghostscript.
+Search is done using the kpathsea library, in particular `kpsewhich`
+program. To run this script, you will need some TeX distribution in
+your system.
 
 Usage
 -----

Modified: trunk/Master/texmf-dist/fonts/misc/cjk-gs-integrate/cjkgs-bizud.dat
===================================================================
--- trunk/Master/texmf-dist/fonts/misc/cjk-gs-integrate/cjkgs-bizud.dat	2019-08-16 20:37:07 UTC (rev 51887)
+++ trunk/Master/texmf-dist/fonts/misc/cjk-gs-integrate/cjkgs-bizud.dat	2019-08-16 20:37:33 UTC (rev 51888)
@@ -4,8 +4,36 @@
 
 # Note:
 #   BIZ-UD*.ttc (3 files)
-# are available from https://bizplus.morisawa.co.jp for Win/Mac.
+# are bundled with Windows 10 (October 2018 Update).
+# Also available from https://bizplus.morisawa.co.jp for Win/Mac.
 
+Name: BIZ-UDGothic-Bold
+Class: Japan
+TTCname: BIZ-UDGothicB.ttc(0)
+
+Name: BIZ-UDPGothic-Bold
+Class: Japan
+TTCname: BIZ-UDGothicB.ttc(1)
+
+Name: BIZ-UDGothic
+Class: Japan
+TTCname: BIZ-UDGothicR.ttc(0)
+
+Name: BIZ-UDPGothic
+Class: Japan
+TTCname: BIZ-UDGothicR.ttc(1)
+
+Name: BIZ-UDMincho-Medium
+Class: Japan
+TTCname: BIZ-UDMinchoM.ttc(0)
+
+Name: BIZ-UDPMincho-Medium
+Class: Japan
+TTCname: BIZ-UDMinchoM.ttc(1)
+
+# Version 2018-10-23 or earlier (before official October 2018 Update)
+# had different filename and PSName
+
 Name: BIZ-UDGothic-B
 Class: Japan
 TTCname: BIZ-UDGothic-B.ttc(0)

Modified: trunk/Master/texmf-dist/scripts/cjk-gs-integrate/cjk-gs-integrate.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/cjk-gs-integrate/cjk-gs-integrate.pl	2019-08-16 20:37:07 UTC (rev 51887)
+++ trunk/Master/texmf-dist/scripts/cjk-gs-integrate/cjk-gs-integrate.pl	2019-08-16 20:37:33 UTC (rev 51888)
@@ -39,7 +39,7 @@
 use strict;
 
 (my $prg = basename($0)) =~ s/\.pl$//;
-my $version = '20190303.0';
+my $version = '20190816.0';
 
 if (win32()) {
   # conversion between internal (utf-8) and console (cp932):
@@ -348,6 +348,12 @@
   exit(0);
 }
 
+# check for the existence of kpsewhich, otherwise we cannot do anything
+if (system("kpsewhich --version >$nul 2>&1 <$nul" ) != 0) {
+  print_error("We need `kpsewhich' being installed! Exiting.\n");
+  exit(1);
+}
+
 if ($opt_debug >= 2) {
   require Data::Dumper;
   $Data::Dumper::Indent = 1;
@@ -676,15 +682,15 @@
     if $opt_texmflink;
   for my $k (sort keys %fontdb) {
     if ($fontdb{$k}{'available'} && $fontdb{$k}{'type'} eq 'TTF') {
-      generate_font_snippet($fontdest,
-        $k, $fontdb{$k}{'class'}, $fontdb{$k}{'target'});
+    # generate_font_snippet($fontdest,
+    #   $k, $fontdb{$k}{'class'}, $fontdb{$k}{'target'});
       $outp .= generate_cidfmap_entry($k, $fontdb{$k}{'class'}, $fontdb{$k}{'ttfname'}, -1);
       link_font($fontdb{$k}{'target'}, $cidfsubst, $fontdb{$k}{'ttfname'});
       link_font($fontdb{$k}{'target'}, "$opt_texmflink/$ttf_pathpart", $fontdb{$k}{'ttfname'})
         if $opt_texmflink;
     } elsif ($fontdb{$k}{'available'} && $fontdb{$k}{'type'} eq 'TTC') {
-      generate_font_snippet($fontdest,
-        $k, $fontdb{$k}{'class'}, $fontdb{$k}{'target'});
+    # generate_font_snippet($fontdest,
+    #   $k, $fontdb{$k}{'class'}, $fontdb{$k}{'target'});
       $outp .= generate_cidfmap_entry($k, $fontdb{$k}{'class'}, $fontdb{$k}{'ttcname'}, $fontdb{$k}{'subfont'});
       link_font($fontdb{$k}{'target'}, $cidfsubst, $fontdb{$k}{'ttcname'});
       link_font($fontdb{$k}{'target'}, "$opt_texmflink/$ttf_pathpart", $fontdb{$k}{'ttcname'})
@@ -1439,6 +1445,7 @@
             $bname = $b;
             last;
           }
+          $actualpsname =~ s/[\r\n]+\z//; # perl's chomp() on git-bash cannot strip CR of CRLF ??
           if ($actualpsname ne $k) {
             print_debug("... PSName returned by otfinfo ($actualpsname) is\n");
             print_debug("different from our database ($k), discarding!\n");
@@ -2030,6 +2037,9 @@
 them available to an installed Ghostscript. In the simplest case with
 sufficient privileges, a run without arguments should effect in a
 complete setup of Ghostscript.
+Search is done using the kpathsea library, in particular `kpsewhich`
+program. To run this script, you will need some TeX distribution in
+your system.
 ";
 
 my $operation = "



More information about the tex-live-commits mailing list