diff options
author | Norbert Preining <norbert@preining.info> | 2021-11-16 03:00:59 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-11-16 03:00:59 +0000 |
commit | f57760f92d28c76b8efac9994495070b37777bea (patch) | |
tree | 5879435266355c325e3c42399f94fcbc6cdab690 /fonts/utilities | |
parent | 1d7778a221f2dd8bd3945013798f8089b8dc1706 (diff) |
CTAN sync 202111160300
Diffstat (limited to 'fonts/utilities')
-rwxr-xr-x | fonts/utilities/fontools/bin/afm2afm | 4 | ||||
-rwxr-xr-x | fonts/utilities/fontools/bin/autoinst | 28 | ||||
-rwxr-xr-x | fonts/utilities/fontools/bin/ot2kpx | 4 | ||||
-rwxr-xr-x | fonts/utilities/fontools/bin/splitttc | 4 | ||||
-rw-r--r-- | fonts/utilities/fontools/doc/afm2afm.pdf | bin | 27053 -> 27000 bytes | |||
-rw-r--r-- | fonts/utilities/fontools/doc/autoinst.pdf | bin | 69866 -> 71038 bytes | |||
-rw-r--r-- | fonts/utilities/fontools/doc/ot2kpx.pdf | bin | 27426 -> 27361 bytes | |||
-rw-r--r-- | fonts/utilities/fontools/doc/splitttc.pdf | bin | 20571 -> 20644 bytes |
8 files changed, 27 insertions, 13 deletions
diff --git a/fonts/utilities/fontools/bin/afm2afm b/fonts/utilities/fontools/bin/afm2afm index 9a6319a9da..61c2a6eee5 100755 --- a/fonts/utilities/fontools/bin/afm2afm +++ b/fonts/utilities/fontools/bin/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/fonts/utilities/fontools/bin/autoinst b/fonts/utilities/fontools/bin/autoinst index 46e0a598cb..6ea19fe5ff 100755 --- a/fonts/utilities/fontools/bin/autoinst +++ b/fonts/utilities/fontools/bin/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/fonts/utilities/fontools/bin/ot2kpx b/fonts/utilities/fontools/bin/ot2kpx index a037fa7685..a336ee5a53 100755 --- a/fonts/utilities/fontools/bin/ot2kpx +++ b/fonts/utilities/fontools/bin/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/fonts/utilities/fontools/bin/splitttc b/fonts/utilities/fontools/bin/splitttc index f0950a1256..1f5349c77f 100755 --- a/fonts/utilities/fontools/bin/splitttc +++ b/fonts/utilities/fontools/bin/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/fonts/utilities/fontools/doc/afm2afm.pdf b/fonts/utilities/fontools/doc/afm2afm.pdf Binary files differindex 5729170dfd..eccd1aa124 100644 --- a/fonts/utilities/fontools/doc/afm2afm.pdf +++ b/fonts/utilities/fontools/doc/afm2afm.pdf diff --git a/fonts/utilities/fontools/doc/autoinst.pdf b/fonts/utilities/fontools/doc/autoinst.pdf Binary files differindex 003afb51d0..b29adbb373 100644 --- a/fonts/utilities/fontools/doc/autoinst.pdf +++ b/fonts/utilities/fontools/doc/autoinst.pdf diff --git a/fonts/utilities/fontools/doc/ot2kpx.pdf b/fonts/utilities/fontools/doc/ot2kpx.pdf Binary files differindex f2187ab324..b556e4e046 100644 --- a/fonts/utilities/fontools/doc/ot2kpx.pdf +++ b/fonts/utilities/fontools/doc/ot2kpx.pdf diff --git a/fonts/utilities/fontools/doc/splitttc.pdf b/fonts/utilities/fontools/doc/splitttc.pdf Binary files differindex 5c68b8c142..50f7b4e786 100644 --- a/fonts/utilities/fontools/doc/splitttc.pdf +++ b/fonts/utilities/fontools/doc/splitttc.pdf |