diff options
-rwxr-xr-x | Build/source/texk/texlive/linked_scripts/fontools/afm2afm | 4 | ||||
-rwxr-xr-x | Build/source/texk/texlive/linked_scripts/fontools/autoinst | 28 | ||||
-rwxr-xr-x | Build/source/texk/texlive/linked_scripts/fontools/ot2kpx | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/afm2afm.1 | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf | bin | 28812 -> 28756 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/autoinst.1 | 17 | ||||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/autoinst.man1.pdf | bin | 72620 -> 73662 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/ot2kpx.1 | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf | bin | 28728 -> 28670 bytes | |||
-rwxr-xr-x | Master/texmf-dist/doc/support/fontools/splitttc | 4 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/fontools/afm2afm | 4 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/fontools/autoinst | 28 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/fontools/ot2kpx | 4 |
13 files changed, 71 insertions, 30 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/fontools/afm2afm b/Build/source/texk/texlive/linked_scripts/fontools/afm2afm index 9a6319a9da8..61c2a6eee5a 100755 --- a/Build/source/texk/texlive/linked_scripts/fontools/afm2afm +++ b/Build/source/texk/texlive/linked_scripts/fontools/afm2afm @@ -37,7 +37,7 @@ use File::Basename; use Getopt::Long; use Pod::Usage; -my $VERSION = "20210721"; +my $VERSION = "20211115"; parse_commandline(); @@ -421,7 +421,7 @@ See the GNU General Public License for more details. =head1 VERSION -This document describes B<afm2afm> version 20210721. +This document describes B<afm2afm> version 20211115. =head1 RECENT CHANGES diff --git a/Build/source/texk/texlive/linked_scripts/fontools/autoinst b/Build/source/texk/texlive/linked_scripts/fontools/autoinst index 46e0a598cb6..6ea19fe5ffe 100755 --- a/Build/source/texk/texlive/linked_scripts/fontools/autoinst +++ b/Build/source/texk/texlive/linked_scripts/fontools/autoinst @@ -41,7 +41,7 @@ use Getopt::Long (); 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 @@ sub _parse_metadata { $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 @@ a user-defined suffix to the names 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 @@ GNU General Public License for more details. =head1 VERSION -This document describes B<autoinst> version 20210721. +This document describes B<autoinst> version 20211115. =head1 RECENT CHANGES @@ -4038,6 +4048,10 @@ This document describes B<autoinst> version 20210721. =over 12 +=item I<2021-11-15> + +Bugfix: font info parsing now works for Adobe Source Serif 4. + =item I<2021-07-21> Bugfixes: diff --git a/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx b/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx index a037fa76852..a336ee5a532 100755 --- a/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx +++ b/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx @@ -38,7 +38,7 @@ use Getopt::Long (); 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 @@ See the GNU General Public License for more details. =head1 VERSION -This document describes B<ot2kpx> version 20210721. +This document describes B<ot2kpx> version 20211115. =head1 RECENT CHANGES diff --git a/Master/texmf-dist/doc/man/man1/afm2afm.1 b/Master/texmf-dist/doc/man/man1/afm2afm.1 index e68a04d96c5..e6f48e7d3ce 100644 --- a/Master/texmf-dist/doc/man/man1/afm2afm.1 +++ b/Master/texmf-dist/doc/man/man1/afm2afm.1 @@ -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 @@ but \s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of 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.) diff --git a/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf b/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf Binary files differindex 6f21d47cbde..47e284d37ab 100644 --- a/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf +++ b/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf diff --git a/Master/texmf-dist/doc/man/man1/autoinst.1 b/Master/texmf-dist/doc/man/man1/autoinst.1 index 9d32cb33dea..7343234e9fb 100644 --- a/Master/texmf-dist/doc/man/man1/autoinst.1 +++ b/Master/texmf-dist/doc/man/man1/autoinst.1 @@ -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 \fI\-t1suffix\fR command-line option that appends 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 @@ but \s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of \&\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: diff --git a/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf b/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf Binary files differindex 1f9d7b0cac8..4bb9b0c5b24 100644 --- a/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf +++ b/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf diff --git a/Master/texmf-dist/doc/man/man1/ot2kpx.1 b/Master/texmf-dist/doc/man/man1/ot2kpx.1 index 7af96809c34..88d634fb650 100644 --- a/Master/texmf-dist/doc/man/man1/ot2kpx.1 +++ b/Master/texmf-dist/doc/man/man1/ot2kpx.1 @@ -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 @@ but \s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of 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.) diff --git a/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf b/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf Binary files differindex fbb2f20971c..c538de80a5c 100644 --- a/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf +++ b/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf diff --git a/Master/texmf-dist/doc/support/fontools/splitttc b/Master/texmf-dist/doc/support/fontools/splitttc index f0950a1256f..1f5349c77f9 100755 --- a/Master/texmf-dist/doc/support/fontools/splitttc +++ b/Master/texmf-dist/doc/support/fontools/splitttc @@ -38,7 +38,7 @@ use File::Basename; use Getopt::Long; use Pod::Usage; -my $VERSION = "20210721"; +my $VERSION = "20211115"; parse_commandline(); @@ -303,7 +303,7 @@ See the GNU General Public License for more details. =head1 VERSION -This document describes B<splitttc> version 20210721. +This document describes B<splitttc> version 20211115. =head1 RECENT CHANGES diff --git a/Master/texmf-dist/scripts/fontools/afm2afm b/Master/texmf-dist/scripts/fontools/afm2afm index 9a6319a9da8..61c2a6eee5a 100755 --- a/Master/texmf-dist/scripts/fontools/afm2afm +++ b/Master/texmf-dist/scripts/fontools/afm2afm @@ -37,7 +37,7 @@ use File::Basename; use Getopt::Long; use Pod::Usage; -my $VERSION = "20210721"; +my $VERSION = "20211115"; parse_commandline(); @@ -421,7 +421,7 @@ See the GNU General Public License for more details. =head1 VERSION -This document describes B<afm2afm> version 20210721. +This document describes B<afm2afm> version 20211115. =head1 RECENT CHANGES diff --git a/Master/texmf-dist/scripts/fontools/autoinst b/Master/texmf-dist/scripts/fontools/autoinst index 46e0a598cb6..6ea19fe5ffe 100755 --- a/Master/texmf-dist/scripts/fontools/autoinst +++ b/Master/texmf-dist/scripts/fontools/autoinst @@ -41,7 +41,7 @@ use Getopt::Long (); 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 @@ sub _parse_metadata { $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 @@ a user-defined suffix to the names 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 @@ GNU General Public License for more details. =head1 VERSION -This document describes B<autoinst> version 20210721. +This document describes B<autoinst> version 20211115. =head1 RECENT CHANGES @@ -4038,6 +4048,10 @@ This document describes B<autoinst> version 20210721. =over 12 +=item I<2021-11-15> + +Bugfix: font info parsing now works for Adobe Source Serif 4. + =item I<2021-07-21> Bugfixes: diff --git a/Master/texmf-dist/scripts/fontools/ot2kpx b/Master/texmf-dist/scripts/fontools/ot2kpx index a037fa76852..a336ee5a532 100755 --- a/Master/texmf-dist/scripts/fontools/ot2kpx +++ b/Master/texmf-dist/scripts/fontools/ot2kpx @@ -38,7 +38,7 @@ use Getopt::Long (); 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 @@ See the GNU General Public License for more details. =head1 VERSION -This document describes B<ot2kpx> version 20210721. +This document describes B<ot2kpx> version 20211115. =head1 RECENT CHANGES |