summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-11-16 21:21:57 +0000
committerKarl Berry <karl@freefriends.org>2021-11-16 21:21:57 +0000
commit68cd91e258bbceb4ba56fdfa085d3ee996e6dfb6 (patch)
tree87776d221b42d8c7ee6befb7eef9bc2ddccfe1b8 /Master
parent855e0c7dd1ed1c6b94656bce79b760399313887d (diff)
fontools (16nov21)
git-svn-id: svn://tug.org/texlive/trunk@61067 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/man/man1/afm2afm.14
-rw-r--r--Master/texmf-dist/doc/man/man1/afm2afm.man1.pdfbin28812 -> 28756 bytes
-rw-r--r--Master/texmf-dist/doc/man/man1/autoinst.117
-rw-r--r--Master/texmf-dist/doc/man/man1/autoinst.man1.pdfbin72620 -> 73662 bytes
-rw-r--r--Master/texmf-dist/doc/man/man1/ot2kpx.14
-rw-r--r--Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdfbin28728 -> 28670 bytes
-rwxr-xr-xMaster/texmf-dist/doc/support/fontools/splitttc4
-rwxr-xr-xMaster/texmf-dist/scripts/fontools/afm2afm4
-rwxr-xr-xMaster/texmf-dist/scripts/fontools/autoinst28
-rwxr-xr-xMaster/texmf-dist/scripts/fontools/ot2kpx4
10 files changed, 46 insertions, 19 deletions
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
index 6f21d47cbde..47e284d37ab 100644
--- a/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf
+++ b/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf
Binary files differ
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
index 1f9d7b0cac8..4bb9b0c5b24 100644
--- a/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf
+++ b/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf
Binary files differ
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
index fbb2f20971c..c538de80a5c 100644
--- a/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf
+++ b/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf
Binary files differ
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