texlive[61067] trunk: fontools (16nov21)

commits+karl at tug.org commits+karl at tug.org
Tue Nov 16 22:21:57 CET 2021


Revision: 61067
          http://tug.org/svn/texlive?view=revision&revision=61067
Author:   karl
Date:     2021-11-16 22:21:57 +0100 (Tue, 16 Nov 2021)
Log Message:
-----------
fontools (16nov21)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/fontools/afm2afm
    trunk/Build/source/texk/texlive/linked_scripts/fontools/autoinst
    trunk/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx
    trunk/Master/texmf-dist/doc/man/man1/afm2afm.1
    trunk/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf
    trunk/Master/texmf-dist/doc/man/man1/autoinst.1
    trunk/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf
    trunk/Master/texmf-dist/doc/man/man1/ot2kpx.1
    trunk/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf
    trunk/Master/texmf-dist/doc/support/fontools/splitttc
    trunk/Master/texmf-dist/scripts/fontools/afm2afm
    trunk/Master/texmf-dist/scripts/fontools/autoinst
    trunk/Master/texmf-dist/scripts/fontools/ot2kpx

Modified: trunk/Build/source/texk/texlive/linked_scripts/fontools/afm2afm
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/fontools/afm2afm	2021-11-16 21:21:29 UTC (rev 61066)
+++ trunk/Build/source/texk/texlive/linked_scripts/fontools/afm2afm	2021-11-16 21:21:57 UTC (rev 61067)
@@ -37,7 +37,7 @@
 use Getopt::Long;
 use Pod::Usage;
 
-my $VERSION = "20210721";
+my $VERSION = "20211115";
 
 parse_commandline();
 
@@ -421,7 +421,7 @@
 
 =head1 VERSION
 
-This document describes B<afm2afm> version 20210721.
+This document describes B<afm2afm> version 20211115.
 
 
 =head1 RECENT CHANGES

Modified: trunk/Build/source/texk/texlive/linked_scripts/fontools/autoinst
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/fontools/autoinst	2021-11-16 21:21:29 UTC (rev 61066)
+++ trunk/Build/source/texk/texlive/linked_scripts/fontools/autoinst	2021-11-16 21:21:57 UTC (rev 61067)
@@ -41,7 +41,7 @@
 use Pod::Usage ();
 use POSIX ();
 
-my $VERSION = '20210721';
+my $VERSION = '20211115';
 
 my ($d, $m, $y) = (localtime time)[3 .. 5];
 my $TODAY = sprintf "%04d/%02d/%02d", $y + 1900, $m + 1, $d;
@@ -646,15 +646,13 @@
         $data->{subfamily} =~ s/\A (?: ST | T | SD | D)//xms;
     }
 
-    # remove Adobe's SmallText size, to avoid mistaking it for Text weight
-    for my $fieldname (qw(family subfamily fullname)) {
-        $data->{$fieldname} =~ s/(?: SmallText | SmText )\z//xmsi;
-    }
-
     # Sometimes the relevant info is in Fullname, sometimes in Subfamily;
     # so we need to test against both
     my $fullinfo = lc "$data->{subfamily} | $data->{fullname}";
 
+    # remove Adobe's SmallText size, to avoid mistaking it for Text weight
+    $fullinfo =~ s/(?: SmallText | SmText )\z//xmsi;
+
     # We need to be careful when parsing the font info; in particular
     # we must parse strings like 'UltraCondensed' as 'Regular' weight
     # and 'UltraCondensed' width, not as 'Ultra' weight and 'Condensed' width.
@@ -3669,6 +3667,18 @@
 of all generated Type1 fonts; see L</COMMAND-LINE OPTIONS> below.
 
 
+=head2 Sorry, LIGTABLE too long for me to handle
+
+The LIGTABLE in TeX's F<tfm> files, which contains a font's ligatures
+and kerning pairs, is limited to about 32,500 entries (2^15 - 256).
+If the number of ligatures plus kerns in a font is higher than that limit,
+I<pltotf> and I<vptovf> will complain loudly and ignore the excess entries.
+This happens at least with Adobe's Source Serif 4 and Minion 3.
+The best way to handle this situation is to use B<autoinst>'s C<-extra> option
+to raise F<otftotfm>'s value for the C<--min-kern> parameter, which causes it
+to ignore small kerning pairs: C<-extra='--min-kern=5.0'>.
+
+
 =head2 A note for MiKTeX users
 
 Automatically installing the fonts into a suitable TEXMF tree
@@ -4029,7 +4039,7 @@
 
 =head1 VERSION
 
-This document describes B<autoinst> version 20210721.
+This document describes B<autoinst> version 20211115.
 
 
 =head1 RECENT CHANGES
@@ -4038,6 +4048,10 @@
 
 =over 12
 
+=item I<2021-11-15>
+
+Bugfix: font info parsing now works for Adobe Source Serif 4.
+
 =item I<2021-07-21>
 
 Bugfixes:

Modified: trunk/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx	2021-11-16 21:21:29 UTC (rev 61066)
+++ trunk/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx	2021-11-16 21:21:57 UTC (rev 61067)
@@ -38,7 +38,7 @@
 use List::Util @List::Util::EXPORT_OK;
 use Pod::Usage;
 
-my $VERSION = "20210721";
+my $VERSION = "20211115";
 
 our ($NUM_GLYPHS, $UNITS_PER_EM, %kern);
 
@@ -858,7 +858,7 @@
 
 =head1 VERSION
 
-This document describes B<ot2kpx> version 20210721.
+This document describes B<ot2kpx> version 20211115.
 
 
 =head1 RECENT CHANGES

Modified: trunk/Master/texmf-dist/doc/man/man1/afm2afm.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/afm2afm.1	2021-11-16 21:21:29 UTC (rev 61066)
+++ trunk/Master/texmf-dist/doc/man/man1/afm2afm.1	2021-11-16 21:21:57 UTC (rev 61067)
@@ -133,7 +133,7 @@
 .\" ========================================================================
 .\"
 .IX Title "AFM2AFM 1"
-.TH AFM2AFM 1 "2021-07-21" "fontools" "Marc Penninga"
+.TH AFM2AFM 1 "2021-11-15" "fontools" "Marc Penninga"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -223,7 +223,7 @@
 See the \s-1GNU\s0 General Public License for more details.
 .SH "VERSION"
 .IX Header "VERSION"
-This document describes \fBafm2afm\fR version 20210721.
+This document describes \fBafm2afm\fR version 20211115.
 .SH "RECENT CHANGES"
 .IX Header "RECENT CHANGES"
 (See the source code for the rest of the story.)

Modified: trunk/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/man/man1/autoinst.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/autoinst.1	2021-11-16 21:21:29 UTC (rev 61066)
+++ trunk/Master/texmf-dist/doc/man/man1/autoinst.1	2021-11-16 21:21:57 UTC (rev 61067)
@@ -133,7 +133,7 @@
 .\" ========================================================================
 .\"
 .IX Title "AUTOINST 1"
-.TH AUTOINST 1 "2021-07-21" "fontools" "Marc Penninga"
+.TH AUTOINST 1 "2021-11-15" "fontools" "Marc Penninga"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -485,6 +485,16 @@
 a user-defined suffix to the names
 (both the filename and the internal font name)
 of all generated Type1 fonts; see \*(L"COMMAND-LINE \s-1OPTIONS\*(R"\s0 below.
+.SS "Sorry, \s-1LIGTABLE\s0 too long for me to handle"
+.IX Subsection "Sorry, LIGTABLE too long for me to handle"
+The \s-1LIGTABLE\s0 in TeX's \fItfm\fR files, which contains a font's ligatures
+and kerning pairs, is limited to about 32,500 entries (2^15 \- 256).
+If the number of ligatures plus kerns in a font is higher than that limit,
+\&\fIpltotf\fR and \fIvptovf\fR will complain loudly and ignore the excess entries.
+This happens at least with Adobe's Source Serif 4 and Minion 3.
+The best way to handle this situation is to use \fBautoinst\fR's \f(CW\*(C`\-extra\*(C'\fR option
+to raise \fIotftotfm\fR's value for the \f(CW\*(C`\-\-min\-kern\*(C'\fR parameter, which causes it
+to ignore small kerning pairs: \f(CW\*(C`\-extra=\*(Aq\-\-min\-kern=5.0\*(Aq\*(C'\fR.
 .SS "A note for MiKTeX users"
 .IX Subsection "A note for MiKTeX users"
 Automatically installing the fonts into a suitable \s-1TEXMF\s0 tree
@@ -787,10 +797,13 @@
 \&\s-1GNU\s0 General Public License for more details.
 .SH "VERSION"
 .IX Header "VERSION"
-This document describes \fBautoinst\fR version 20210721.
+This document describes \fBautoinst\fR version 20211115.
 .SH "RECENT CHANGES"
 .IX Header "RECENT CHANGES"
 (See the source for the full story, all the way back to 2005.)
+.IP "\fI2021\-11\-15\fR" 12
+.IX Item "2021-11-15"
+Bugfix: font info parsing now works for Adobe Source Serif 4.
 .IP "\fI2021\-07\-21\fR" 12
 .IX Item "2021-07-21"
 Bugfixes:

Modified: trunk/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/man/man1/ot2kpx.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/ot2kpx.1	2021-11-16 21:21:29 UTC (rev 61066)
+++ trunk/Master/texmf-dist/doc/man/man1/ot2kpx.1	2021-11-16 21:21:57 UTC (rev 61067)
@@ -133,7 +133,7 @@
 .\" ========================================================================
 .\"
 .IX Title "OT2KPX 1"
-.TH OT2KPX 1 "2021-07-21" "fontools" "Marc Penninga"
+.TH OT2KPX 1 "2021-11-15" "fontools" "Marc Penninga"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -228,7 +228,7 @@
 See the \s-1GNU\s0 General Public License for more details.
 .SH "VERSION"
 .IX Header "VERSION"
-This document describes \fBot2kpx\fR version 20210721.
+This document describes \fBot2kpx\fR version 20211115.
 .SH "RECENT CHANGES"
 .IX Header "RECENT CHANGES"
 (See the source code for the rest of the story.)

Modified: trunk/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/fontools/splitttc
===================================================================
--- trunk/Master/texmf-dist/doc/support/fontools/splitttc	2021-11-16 21:21:29 UTC (rev 61066)
+++ trunk/Master/texmf-dist/doc/support/fontools/splitttc	2021-11-16 21:21:57 UTC (rev 61067)
@@ -38,7 +38,7 @@
 use Getopt::Long;
 use Pod::Usage;
 
-my $VERSION = "20210721";
+my $VERSION = "20211115";
 
 parse_commandline();
 
@@ -303,7 +303,7 @@
 
 =head1 VERSION
 
-This document describes B<splitttc> version 20210721.
+This document describes B<splitttc> version 20211115.
 
 
 =head1 RECENT CHANGES

Modified: trunk/Master/texmf-dist/scripts/fontools/afm2afm
===================================================================
--- trunk/Master/texmf-dist/scripts/fontools/afm2afm	2021-11-16 21:21:29 UTC (rev 61066)
+++ trunk/Master/texmf-dist/scripts/fontools/afm2afm	2021-11-16 21:21:57 UTC (rev 61067)
@@ -37,7 +37,7 @@
 use Getopt::Long;
 use Pod::Usage;
 
-my $VERSION = "20210721";
+my $VERSION = "20211115";
 
 parse_commandline();
 
@@ -421,7 +421,7 @@
 
 =head1 VERSION
 
-This document describes B<afm2afm> version 20210721.
+This document describes B<afm2afm> version 20211115.
 
 
 =head1 RECENT CHANGES

Modified: trunk/Master/texmf-dist/scripts/fontools/autoinst
===================================================================
--- trunk/Master/texmf-dist/scripts/fontools/autoinst	2021-11-16 21:21:29 UTC (rev 61066)
+++ trunk/Master/texmf-dist/scripts/fontools/autoinst	2021-11-16 21:21:57 UTC (rev 61067)
@@ -41,7 +41,7 @@
 use Pod::Usage ();
 use POSIX ();
 
-my $VERSION = '20210721';
+my $VERSION = '20211115';
 
 my ($d, $m, $y) = (localtime time)[3 .. 5];
 my $TODAY = sprintf "%04d/%02d/%02d", $y + 1900, $m + 1, $d;
@@ -646,15 +646,13 @@
         $data->{subfamily} =~ s/\A (?: ST | T | SD | D)//xms;
     }
 
-    # remove Adobe's SmallText size, to avoid mistaking it for Text weight
-    for my $fieldname (qw(family subfamily fullname)) {
-        $data->{$fieldname} =~ s/(?: SmallText | SmText )\z//xmsi;
-    }
-
     # Sometimes the relevant info is in Fullname, sometimes in Subfamily;
     # so we need to test against both
     my $fullinfo = lc "$data->{subfamily} | $data->{fullname}";
 
+    # remove Adobe's SmallText size, to avoid mistaking it for Text weight
+    $fullinfo =~ s/(?: SmallText | SmText )\z//xmsi;
+
     # We need to be careful when parsing the font info; in particular
     # we must parse strings like 'UltraCondensed' as 'Regular' weight
     # and 'UltraCondensed' width, not as 'Ultra' weight and 'Condensed' width.
@@ -3669,6 +3667,18 @@
 of all generated Type1 fonts; see L</COMMAND-LINE OPTIONS> below.
 
 
+=head2 Sorry, LIGTABLE too long for me to handle
+
+The LIGTABLE in TeX's F<tfm> files, which contains a font's ligatures
+and kerning pairs, is limited to about 32,500 entries (2^15 - 256).
+If the number of ligatures plus kerns in a font is higher than that limit,
+I<pltotf> and I<vptovf> will complain loudly and ignore the excess entries.
+This happens at least with Adobe's Source Serif 4 and Minion 3.
+The best way to handle this situation is to use B<autoinst>'s C<-extra> option
+to raise F<otftotfm>'s value for the C<--min-kern> parameter, which causes it
+to ignore small kerning pairs: C<-extra='--min-kern=5.0'>.
+
+
 =head2 A note for MiKTeX users
 
 Automatically installing the fonts into a suitable TEXMF tree
@@ -4029,7 +4039,7 @@
 
 =head1 VERSION
 
-This document describes B<autoinst> version 20210721.
+This document describes B<autoinst> version 20211115.
 
 
 =head1 RECENT CHANGES
@@ -4038,6 +4048,10 @@
 
 =over 12
 
+=item I<2021-11-15>
+
+Bugfix: font info parsing now works for Adobe Source Serif 4.
+
 =item I<2021-07-21>
 
 Bugfixes:

Modified: trunk/Master/texmf-dist/scripts/fontools/ot2kpx
===================================================================
--- trunk/Master/texmf-dist/scripts/fontools/ot2kpx	2021-11-16 21:21:29 UTC (rev 61066)
+++ trunk/Master/texmf-dist/scripts/fontools/ot2kpx	2021-11-16 21:21:57 UTC (rev 61067)
@@ -38,7 +38,7 @@
 use List::Util @List::Util::EXPORT_OK;
 use Pod::Usage;
 
-my $VERSION = "20210721";
+my $VERSION = "20211115";
 
 our ($NUM_GLYPHS, $UNITS_PER_EM, %kern);
 
@@ -858,7 +858,7 @@
 
 =head1 VERSION
 
-This document describes B<ot2kpx> version 20210721.
+This document describes B<ot2kpx> version 20211115.
 
 
 =head1 RECENT CHANGES



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