texlive[58747] trunk: fontools (5apr21)

commits+preining at tug.org commits+preining at tug.org
Mon Apr 5 03:27:54 CEST 2021


Revision: 58747
          http://tug.org/svn/texlive?view=revision&revision=58747
Author:   preining
Date:     2021-04-05 03:27:54 +0200 (Mon, 05 Apr 2021)
Log Message:
-----------
fontools (5apr21)

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/README
    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-04-05 01:25:20 UTC (rev 58746)
+++ trunk/Build/source/texk/texlive/linked_scripts/fontools/afm2afm	2021-04-05 01:27:54 UTC (rev 58747)
@@ -4,7 +4,7 @@
 
 ----------------------------------------------------------------------------
 
-    Copyright (C) 2005-2020 Marc Penninga.
+    Copyright (C) 2005-2021 Marc Penninga.
 
     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
@@ -37,7 +37,7 @@
 use Getopt::Long;
 use Pod::Usage;
 
-my $VERSION = "20201218";
+my $VERSION = "20210401";
 
 parse_commandline();
 
@@ -398,7 +398,7 @@
 
 =head1 COPYRIGHT
 
-Copyright (C) 2005-2020 Marc Penninga.
+Copyright (C) 2005-2021 Marc Penninga.
 
 
 =head1 LICENSE
@@ -421,7 +421,7 @@
 
 =head1 VERSION
 
-This document describes B<afm2afm> version 20201218.
+This document describes B<afm2afm> version 20210401.
 
 
 =head1 RECENT CHANGES

Modified: trunk/Build/source/texk/texlive/linked_scripts/fontools/autoinst
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/fontools/autoinst	2021-04-05 01:25:20 UTC (rev 58746)
+++ trunk/Build/source/texk/texlive/linked_scripts/fontools/autoinst	2021-04-05 01:27:54 UTC (rev 58747)
@@ -4,7 +4,7 @@
 
 ----------------------------------------------------------------------------
 
-    Copyright (C) 2005-2020 Marc Penninga.
+    Copyright (C) 2005-2021 Marc Penninga.
 
     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
@@ -34,6 +34,7 @@
 use warnings;
 
 use Cwd ();
+use File::Basename ();
 use File::Path ();
 use File::Spec ();
 use Getopt::Long ();
@@ -40,7 +41,7 @@
 use Pod::Usage ();
 use POSIX ();
 
-my $VERSION = '20201218';
+my $VERSION = '20210401';
 
 my ($d, $m, $y) = (localtime time)[3 .. 5];
 my $TODAY = sprintf "%04d/%02d/%02d", $y + 1900, $m + 1, $d;
@@ -641,15 +642,14 @@
     $data->{family}    =~ s/(\d)/$DIGITS[$1]/xmsge;
     $data->{family}    =~ s/[^A-Za-z]+//xmsg;
 
-    if ($data->{family} =~ m/\A DTL/xms) {
-        $data->{family}    =~ s/\A DTL//xms;
-        $data->{subfamily} =~ s/\A (?: ST | T)//xms;
+    if ($data->{family} =~ s/\A DTL//xms) {
+        $data->{subfamily} =~ s/\A (?: ST | T | SD | D)//xms;
     }
 
     # remove Adobe's SmallText size, to avoid mistaking it for Text weight
-    $data->{family}    =~ s/(?: SmallText | SmText )\z//xmsi;
-    $data->{subfamily} =~ s/(?: SmallText | SmText )\z//xmsi;
-    $data->{fullname}  =~ s/(?: SmallText | SmText )\z//xmsi;
+    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
@@ -2272,7 +2272,7 @@
 
     return join q( ), 'otftotfm',
                       '--automatic',
-                      "--encoding=$workitem->{enc_file}",
+                      "--encoding='$workitem->{enc_file}'",
                       $targetdirs,
                       '--no-updmap',
                       '--force',
@@ -2676,12 +2676,11 @@
 
     # All specified encodings should either be built-in,
     # or have an accompanying .enc file in the current directory.
-    $ARGV{encoding} =~ s/\s+//xmsg;
     my @encodings = split /,/, $ARGV{encoding};
     for my $enc (@encodings) {
         if ($enc !~ m/\A(OT1|T1|TS1|LY1|LGR|T2[ABC]|T3|TS3)\z/xmsi) {
             my $try = $enc;
-            $try .= '.enc' if $try !~ m/[.]enc\z/xms;
+            $try .= '.enc' if $try !~ m/[.]enc\z/xmsi;
             if (!-e $try) {
                 die "[ERROR]     No .enc file found for '$enc'";
             }
@@ -3052,9 +3051,11 @@
     # in the current directory, or to the name of one of our standard
     # encodings.  In the latter case, we add the 'fontools_' prefix.
     my $try = $workitem->{encoding};
-    $try .= '.enc' if $try !~ m/[.]enc\z/xms;
+    $try .= '.enc' if $try !~ m/[.]enc\z/xmsi;
     if (-e $try) {
         $workitem->{enc_file} = $try;
+        $workitem->{encoding}
+            = File::Basename::basename($try, '.enc', '.ENC');
     }
     else {
         ($workitem->{enc_file} = $workitem->{encoding})
@@ -3256,7 +3257,7 @@
 they need many, often long, command lines
 and don't generate the F<fd> and F<sty> files LaTeX needs.
 B<autoinst> simplifies the use of the I<TypeTools> for font installation
-by generating and executing all commands for I<otftotfm>
+by generating and executing all commands for I<otftotfm>,
 and by creating and installing all necessary F<fd> and F<sty> files.
 
 Given a family of font files (in F<otf> or F<ttf> format),
@@ -3298,7 +3299,7 @@
 
 =item I<nw>
 
-`Upright swash'
+"Upright swash"
 
 =back
 
@@ -3316,16 +3317,16 @@
 
 =item -
 
-Families with `Titling' characters;
-these `... replace the default glyphs
+Families with "Titling" characters;
+these "... replace the default glyphs
 with corresponding forms designed specifically for titling.
 These may be all-capital and/or larger on the body,
-and adjusted for viewing at larger sizes'
+and adjusted for viewing at larger sizes"
 (according to the OpenType Specification).
 
 =item -
 
-An ornament family, also in roman, italic and slanted shapes.
+An ornament family; also in roman, italic and slanted shapes.
 
 =back
 
@@ -3384,20 +3385,20 @@
 
 The individual fonts are named I<< <FontName>-<suffix>-<shape>-<enc> >>,
 where I<< <suffix> >> is the same as above (but in lowercase),
-I<< <shape> >> is either empty, `sc' or `swash',
+I<< <shape> >> is either empty, "sc" or "swash",
 and I<< <enc> >> is the encoding (also in lowercase).
-A typical name in this scheme would be `FiraSans-Light-osf-sc-ly1'.
+A typical name in this scheme would be I<FiraSans-Light-osf-sc-ly1>.
 
 
 =head2 Using the fonts in your LaTeX documents
 
 B<autoinst> generates a style file for using the fonts in LaTeX documents,
-named F<< <FontFamily>.sty >>. This style file also takes care of loading
-the F<fontenc> and F<textcomp> packages.
+named F<< <FontFamily>.sty >>. This style file also loads the F<fontenc>
+and F<textcomp> packages, if necessary.
 To use the fonts, add the command C<<< \usepackage{I<< <FontFamily> >>} >>>
 to the preamble of your document.
 
-This style file defines a number of options:
+This style file has a few options:
 
 =over 4
 
@@ -3413,7 +3414,7 @@
 =item C<lining>, C<oldstyle>, C<tabular>, C<proportional>
 
 Choose which figure style to use.
-The defaults are `oldstyle' and `proportional' (if available).
+The defaults are "oldstyle" and "proportional" (if available).
 
 =item C<<< scale=I<< <number> >> >>>, C<scale=MatchLowercase>
 
@@ -3421,18 +3422,18 @@
 E.g., to increase the size of the font by 5%, use
 C<<< \usepackage[scale=1.05]{I<< <FontFamily> >>} >>>.
 The special value C<MatchLowercase> may be used to scale the font
-so that its x-height matches that of the previously active font
-(which is usually Computer Modern, unless you have loaded another
-font package before this one).
+so that its x-height matches that of the current main font
+(which is usually Computer Modern Roman, unless you have loaded
+another font package before this one).
 The name C<scaled> may be used as a synonym for C<scale>.
 
 =item C<medium>, C<book>, C<text>, C<normal>, C<regular>
 
-Select the weight that LaTeX will use as the `regular' weight.
+Select the weight that LaTeX will use as the "regular" weight.
 
 =item C<heavy>, C<black>, C<extrabold>, C<demibold>, C<semibold>, C<bold>
 
-Select the weight that LaTeX will use as the `bold' weight.
+Select the weight that LaTeX will use as the "bold" weight.
 
 =back
 
@@ -3439,7 +3440,7 @@
 The last two groups of options will only work if
 you have the F<mweights> package installed.
 The default here is not to change LaTeX's default,
-i.e. use the `m' and `b' weights.
+i.e. use the "m" and "b" weights.
 
 The style file will also try to load the F<fontaxes> package
 (on CTAN), which gives easy access to various font shapes and styles.
@@ -3457,9 +3458,9 @@
     \inffigures     \textinferior   \textinf, \textin
 
 
-In addition, the C<\swshape> and C<\textsw> commands are redefined to place
-swash on F<fontaxes>' secondary shape axis (F<fontaxes> places it on the
-primary shape axis) to make them behave properly when nested, so that
+In addition, the existing C<\swshape> and C<\textsw> commands are redefined
+to place swash on F<fontaxes>' secondary shape axis (F<fontaxes> places it
+on the primary shape axis) to make them behave properly when nested, so that
 C<\swshape\upshape> will give upright swash.
 
 There are no commands for accessing the numerator and denominator
@@ -3467,8 +3468,8 @@
 e.g., C<\fontfigurestyle{numerator}\selectfont>.
 
 These commands are only generated for existing shapes and number styles;
-no commands are generated for shapes and styles that don't exist,
-or whose generation was turned off by the user.
+no commands are generated for shapes and styles that are missing from
+your fonts.
 Also these commands are built on top of F<fontaxes>, so if that package
 cannot be found, you're limited to using the lower-level commands from
 standard NFSS (C<\fontfamily>, C<\fontseries>, C<\fontshape> etc.).
@@ -3499,13 +3500,13 @@
 =item C<mathlining>, C<matholdstyle>
 
 Choose which figure style to use in maths.
-The default is `mathlining'.
+The default is "mathlining".
 
 =item C<mathcal>
 
 Use the swash characters from your fonts as the C<\mathcal> alphabet.
-(This option only exists if your fonts actually contain swash characters
-and a C<swsh> feature to access them).
+(This option will only exist if your fonts actually contain swash characters,
+plus a C<swsh> feature to access them).
 
 =item C<nomathgreek>
 
@@ -3513,7 +3514,7 @@
 
 =item C<<< math-style=I<< <style> >> >>>
 
-Choose the `math style' to use.
+Choose the "math style" to use.
 With C<math-style=ISO>, all latin and greek letters in math are italic;
 with C<math-style=TeX> (the default), uppercase greek is upright;
 with C<math-style=french>, all greek as well as uppercase latin is upright;
@@ -3521,7 +3522,7 @@
 
 =back
 
-Note that this `math' option only changes digits, latin and greek letters,
+Note that this C<math> option only affects digits, latin and greek letters,
 plus a few basic punctuation characters; all other mathematical symbols,
 operators, delimiters etc. are left as they were before.
 If you don't want to use TeX's default versions of those symbols,
@@ -3551,14 +3552,14 @@
 B<autoinst> parses the font's metadata to determine these parameters.
 When this fails (usually because the font family contains uncommon weights,
 widths or shapes),
-B<autoinst> ends up with different fonts having the I<same> values
+B<autoinst> ends up with multiple fonts having the same values
 for these font parameters; such fonts cannot be used in NFSS,
 since there's no way distinguish them.
 When B<autoinst> detects such a situation, it will print an error message
 and abort.
 If that happens, either rerun B<autoinst> on a smaller set of fonts,
-or add the missing widths, weights and shapes to the tables C<WIDTH>,
-C<WEIGHT> and C<SHAPE> in the source code.
+or add the missing widths, weights and shapes to the tables C<@WIDTH>,
+C<@WEIGHT> and C<%SHAPE> in the source code.
 Please also send a bug report (see L<AUTHOR> below).
 
 The mapping of shapes to NFSS codes is done using the following table:
@@ -3570,7 +3571,7 @@
     Oblique, Slant(ed), Incline(d)      sl
 
 (I<Exception:> Adobe Silentium Pro contains two Roman shapes;
-we map the first of these to `n', for the second one we (ab)use the `it' code
+we map the first of these to C<n>, for the second one we (ab)use the C<it> code
 as this family doesn't contain an Italic shape.)
 
 For weights and widths, B<autoinst> tries to the standard NFSS codes
@@ -3580,19 +3581,18 @@
 Of course, not all 81 combinations of these NFSS weights and widths will map
 to existing fonts;
 and conversely it may not be possible to assign every existing font
-a unique code in a sane way (especially for the weights, some font families
-offer more choices or finer granularity than NFSS's codes can handle;
-e.g., Fira Sans contains fifteen(!) different weights,
-including an additional `Medium' weight between Regular and Semibold).
-Therefore every font is also assigned a `series' name that is simply
-the concatenation of its weight and width
-(after expanding any abbreviations and converting to lowercase).
-A font with `Cond' width and `Ultra' weight will then be known
-as `ultrablackcondensed'.
+a unique code in a sane way (especially for the weights,
+some font families offer more variants than NFSS's codes can handle;
+e.g., Fira Sans contains fifteen different weights!).
+Therefore every font is also assigned a "series" name that is
+the concatenation of its weight and width,
+after expanding any abbreviations and converting to lowercase.
+A font of "Cond" width and "Ultra" weight will then be known
+as "ultrablackcondensed".
 
 The exact mapping between fonts and NFSS codes can be found
 in the generated F<fd> files and in the log file
-(pro tip: run B<autoinst> with the I<-dryrun> option
+(you may want to run B<autoinst> with the I<-dryrun> option
 to check the chosen mapping beforehand).
 The I<-nfssweight> and I<-nfsswidth> command-line options can be used
 to finetune the mapping between NFSS codes and fonts.
@@ -3605,7 +3605,7 @@
 =head2 Ornaments
 
 Ornament fonts are regular LY1-encoded fonts, with a number of
-`regular' characters replaced by ornament glyphs.
+"regular" characters replaced by ornament glyphs.
 The OpenType specification says that fonts should only put their
 ornaments in place of the lowercase ASCII letters, but some fonts
 put them in other positions (such as those of the digits) as well.
@@ -3634,8 +3634,9 @@
 do not allow distributing such converted versions under their original name.
 
 To meet these licensing requirements, B<autoinst> provides
-a C<-t1suffix> command-line option that appends
-a (user-defined) suffix to the names (both filename and internal font name)
+a I<-t1suffix> 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 OPTIONS> below.
 
 
@@ -3644,9 +3645,9 @@
 Automatically installing the fonts into a suitable TEXMF tree
 (as B<autoinst> tries to do by default) only works for TeX-installations
 that use the F<kpathsea> library; with TeX distributions that implement
-their own directory searching (such as MiKTeX), B<autoinst> will complain
+their own directory searching, such as MiKTeX, B<autoinst> will complain
 that it cannot find the F<kpsewhich> program and move all generated files
-into a subdirectory C<./autoinst_output/> of the current directory.
+into a subdirectory C<autoinst_output/> of the current directory.
 If you use such a TeX distribution, you should either move these files
 to their correct destinations by hand, or use the I<-target> option
 (see L</COMMAND-LINE OPTIONS> below) to manually specify a TEXMF tree.
@@ -3668,7 +3669,7 @@
 To remedy this, either run B<autoinst> as root (so that it can install
 everything into $TEXMFLOCAL) or manually run C<updmap -user> to tell
 TeX about the files in $TEXMFHOME.
-The latter option does, however, have some caveats;
+This latter option does, however, come with some caveats;
 see F<https://tug.org/texlive/scripts-sys-user.html>.
 
 
@@ -3696,7 +3697,7 @@
 =item B<-dryrun>
 
 Don't generate output; just parse input fonts and write
-a log file saying what B<autoinst> would have done.
+the results to the log file.
 
 =item B<-verbose>
 
@@ -3717,15 +3718,16 @@
 
 Generate the specified encoding(s) for the text fonts.
 Multiple encodings may be specified as a comma-separated list
-(without spaces!); the default choice of encodings is `OT1,LY1,T1'.
+(without spaces!); the default choice of encodings is C<OT1,LY1,T1>.
 
-For each specified encoding XYZ, B<autoinst> will first see if there is
-an encoding file F<XYZ.enc> in the current directory, and if found it will
-use that; otherwise it will use one of its built-in encoding files.
-Currently B<autoinst> comes with support for the OT1, T1/TS1, LY1, LGR,
+For each encoding argument, B<autoinst> will first check if it is
+the filename of an encoding file, and if found it will use that;
+otherwise the argument is assumed to be the name of one of
+the built-in encodings.
+Currently B<autoinst> comes with built-in support for the OT1, T1/TS1, LY1, LGR,
 T2A/B/C and T3/TS3 encodings.
 (These files are called F<fontools_ot1.enc> etc. to avoid name clashes
-with other packages; the `fontools_' prefix may be omitted.)
+with other packages; the F<fontools_> prefix may be omitted.)
 
 =item B<-ts1>/B<-nots1>
 
@@ -3771,17 +3773,17 @@
 Control the creation of fonts with superior characters.
 The default is B<-superiors>.
 
+=item B<-inferiors> [ = B<none> | B<auto> | B<subs> | B<sinf> | B<dnom> ]
+
 =item B<-noinferiors>
 
-=item B<-inferiors> [ = B<none> | B<auto> | B<subs> | B<sinf> | B<dnom> ]
-
 The OpenType standard defines several kinds of digits that might be used
-as inferiors or subscripts: `Subscripts' (OpenType feature `subs'),
-`Scientific Inferiors' ('sinf'), and `Denominators' ('dnom').
+as inferiors or subscripts: "Subscripts" (OpenType feature C<subs>),
+"Scientific Inferiors" (C<sinf>), and "Denominators" (C<dnom>).
 This option allows the user to determine which of these styles B<autoinst>
 should use for the inferior characters.
-Alternatively, the value `auto' tells B<autoinst> to use the first value
-in `sinf', `subs' or `dnom' that is supported by the font.
+Alternatively, the value "auto" tells B<autoinst> to use the first value
+in C<sinf>, C<subs> or C<dnom> that is supported by the font.
 Saying just B<-inferiors> is equivalent to B<-inferiors=auto>;
 otherwise the default is B<-noinferiors>.
 
@@ -3796,14 +3798,14 @@
 
 =item B<-ligatures>/B<-noligatures>
 
-Some fonts create glyphs for the standard f-ligatures (ff, fi, fl, ffi, ffl),
-but don't provide a `liga' feature to access these.
+Some fonts contain glyphs for the standard f-ligatures (ff, fi, fl, ffi, ffl),
+but don't provide a C<liga> feature to access these.
 This option tells B<autoinst> to add extra C<LIGKERN> rules to
 the generated fonts to enable the use of these ligatures.
 The default is B<-ligatures>, except for typewriter fonts.
 
 Specify B<-noligatures> to disable generation of ligatures even for fonts
-that do contain a `liga' feature.
+that do contain a C<liga> feature.
 
 =item B<-ornaments>/B<-noornaments>
 
@@ -3824,10 +3826,10 @@
 if you want typewriter text to be hyphenated, use the F<hyphenat> package.
 
 If none of these options is specified, B<autoinst> tries to guess:
-if the font's filename contains the string `mono'
-or if the field C<isFixedPitch> in the font's I<post> table is True,
+if the font's filename contains the string "mono"
+or if the field C<isFixedPitch> in the font's C<post> table is True,
 it will select B<-typewriter>;
-else if the filename contains `sans' it will select B<-sanserif>;
+else if the filename contains "sans" it will select B<-sanserif>;
 otherwise it will opt for B<-serif>.
 
 =item B<-math>
@@ -3853,11 +3855,11 @@
 Tell B<autoinst> to modify the font names of all generated Type1-fonts,
 by adding I<SUFFIX> to the family name.
 If you use this option without specifying a I<SUFFIX> value,
-B<autoinst> will use the value ``PS''.
+B<autoinst> will use the value "PS".
 The default behaviour when this option is not given
 is to not modify font names at all.
 
-See also L</OpenType fonts and licensing issues> above.
+See also L</OpenType fonts and licensing issues> in L<WARNINGS AND CAVEATS> above.
 
 =item B<-target>=I<DIRECTORY>
 
@@ -3868,7 +3870,7 @@
 If B<autoinst> cannot find such a user-writable directory
 (which shouldn't happen, since $TEXMFHOME is supposed to be user-writable)
 it will print a warning message and put all files into the subdirectory
-C<./autoinst_output/> of the current directory.
+C<autoinst_output/> of the current directory.
 It's then up to the user to move the generated files to a better location
 and update all relevant databases
 (usually by calling F<texhash> and F<updmap>).
@@ -3878,9 +3880,9 @@
 =item B<-typeface>=I<TYPEFACE>
 
 These options are equivalent to F<otftotfm>'s I< --vendor> and I< --typeface>
-options: they change the `vendor' and `typeface' parts of the names of the
+options: they change the "vendor" and "typeface" parts of the names of the
 subdirectories in the TEXMF tree where generated files will be stored.
-The default values are `lcdftools' and the font's FontFamily name.
+The default values are "lcdftools" and the font's FontFamily name.
 These options change I<only> directory names,
 not the names of any generated files.
 
@@ -3918,16 +3920,16 @@
 overriding the built-in tables.
 Each of these options may be given multiple times,
 to override more than one NFSS code.
-Example: to map the `ul' code to the `Thin' weight,
+Example: to map the C<ul> code to the "Thin" weight,
 use C<-nfssweight=ul=thin>.
-To inhibit the use of the `ul' code completely,
+To inhibit the use of the C<ul> code completely,
 use C<-nfssweight=ul=>.
 
-=item B<-extra>=I<extra>
+=item B<-extra>=I<extra options>
 
-Append I<extra> as extra options to the command lines for I<otftotfm>.
-To prevent I<extra> from accidentily being interpreted as options
-to B<autoinst>, it should be properly quoted.
+Pass I<extra options> to the commands for I<otftotfm>.
+To prevent I<extra options> from accidentily being interpreted as
+options to B<autoinst>, they should be properly quoted.
 
 =item B<-nofigurekern>
 
@@ -3937,7 +3939,8 @@
 This option adds extra I< --ligkern> options
 to the commands for I<otftotfm> to suppress such kerns.
 Note that this option leads to very long commands (it adds
-one hundred I< --ligkern> options), which may cause problems on some systems.
+one hundred I< --ligkern> options), which may cause problems on some systems;
+hence it is not active by default.
 
 =back
 
@@ -3974,7 +3977,7 @@
 
 =head1 COPYRIGHT
 
-Copyright (C) 2005-2020 Marc Penninga.
+Copyright (C) 2005-2021 Marc Penninga.
 
 
 =head1 LICENSE
@@ -3997,7 +4000,7 @@
 
 =head1 VERSION
 
-This document describes B<autoinst> version 20201218.
+This document describes B<autoinst> version 20210401.
 
 
 =head1 RECENT CHANGES
@@ -4006,6 +4009,12 @@
 
 =over 12
 
+=item I<2021-04-01>
+
+The I<-encoding> option now also accepts filenames of encoding files
+in directories other than the current directory.
+Directory names containing spaces do (or at least should) also work.
+
 =item I<2020-12-18>
 
 Fixed a problem with files not being found on Windows.
@@ -4020,7 +4029,7 @@
 to improve compatibility with the F<microtype> package.
 Made sure that F<pfb> fonts are always generated whenever
 the input fonts are in F<otf> format.
-Added the C<-t1suffix> command-line option,
+Added the I<-t1suffix> command-line option,
 to modify the font and file names of those generated Type1 fonts.
 
 =item I<2020-06-19>
@@ -4034,7 +4043,7 @@
 Added basic (and still somewhat experimental) math support.
 Implemented the C<scale=MatchLowercase> option value
 in the generated style files.
-`Wide' fonts are mapped to the `sx' NFSS code instead of `x',
+"Wide" fonts are mapped to the C<sx> NFSS code instead of C<x>,
 to cater for League Mono Variable's Wide and Extended widths.
 The generated style files now use C<\textsup> and C<\textinf>
 instead of the more cryptic C<\textsu> and C<\textin> to access
@@ -4147,13 +4156,13 @@
 =item I<2019-05-17>
 
 Changed the way the F<-ligatures> option works:
-F<-ligatures> enables f-ligatures (even without a `liga' feature),
-F<-noligatures> now disables f-ligatures (overriding a `liga' feature).
+F<-ligatures> enables f-ligatures (even without a C<liga> feature),
+F<-noligatures> now disables f-ligatures (overriding a C<liga> feature).
 
 =item I<2019-05-11>
 
 Separate small caps families are now also recognised when the family name
-ends with `SC' (previously B<autoinst> only looked for `SmallCaps').
+ends with "SC" (previously B<autoinst> only looked for "SmallCaps").
 
 =item I<2019-04-22>
 
@@ -4168,7 +4177,7 @@
 Added the <-mergesmallcaps> option, to handle cases where
 the small caps fonts are in separate font families.
 Titling shape is now treated as a separate family instead of a distinct shape;
-it is generated only for fonts with the `titl' feature.
+it is generated only for fonts with the C<titl> feature.
 Only add f-ligatures to fonts when explicitly asked to (I<-ligatures>).
 
 =item I<2019-04-11>
@@ -4190,7 +4199,7 @@
 put all generated files into a subdirectory C<./autoinst_output/>
 instead of all over the current working directory.
 
-Added `auto' value to the I<inferiors> option,
+Added "auto" value to the I<inferiors> option,
 to tell B<autoinst> to use whatever inferior characters are available.
 
 =item I<2019-03-14>
@@ -4198,9 +4207,9 @@
 Overhauled the mapping of fonts (more specifically of weights and widths;
 the mapping of shapes didn't change) to NFSS codes.
 Instead of inventing our own codes to deal with every possible weight
-and width out there, we now create `long' codes based on the names
+and width out there, we now create "long" codes based on the names
 in the font metadata.
-Then we add `ssub' rules to the F<fd> files to map the standard NFSS codes
+Then we add C<ssub> rules to the F<fd> files to map the standard NFSS codes
 to our fancy names (see the section B<NFSS codes>;
 based on discussions with Frank Mittelbach and Bob Tennent).
 
@@ -4214,26 +4223,26 @@
 
 =item I<2018-03-26>
 
-Added the `Text' weight and the I<-(no)mergewidths> option.
-Changed the NFSS codes for `Thin' and `Book' to `i' and `o', respectively.
+Added the "Text" weight and the I<-(no)mergewidths> option.
+Changed the NFSS codes for "Thin" and "Book" to C<i> and C<o>, respectively.
 Tried to improve the documentation.
 
 =item I<2018-01-09>
 
-Added the `sl' weight for font families (such as Fira Sans) that contain both
-`Book' and `Regular' weights (reported by Bob Tennent).
-Added the `Two', `Four', `Eight' and `Hair' weights (for Fira Sans).
+Added the C<sl> weight for font families (such as Fira Sans) that contain both
+"Book" and "Regular" weights (reported by Bob Tennent).
+Added the "Two", "Four", "Eight" and "Hair" weights (for Fira Sans).
 
 =item I<2017-06-16>
 
 Changed the I<-inferiors> option from a binary yes-or-no choice to allow
-the user to choose one of the `subs', `sinf' and `dnom' features.
+the user to choose one of the C<subs>, C<sinf> and C<dnom> features.
 B<autoinst> now always creates a log file.
 
 =item I<2017-03-21>
 
-Updated the F<fontools_ot1.enc> encoding file to include the `Lslash'
-and `lslash' glyphs (thanks to Bob Tennent).
+Updated the F<fontools_ot1.enc> encoding file to include the "Lslash"
+and "lslash" glyphs (thanks to Bob Tennent).
 
 =item I<2015-11-22>
 
@@ -4249,8 +4258,8 @@
 
 =item I<2014-01-21>
 
-`Oblique' or `slanted' fonts are now mapped to NFSS code `sl' instead
-of `it'; added `ssub' rules to the F<fd> files to substitute slanted fonts
+"Oblique" or "slanted" fonts are now mapped to NFSS code C<sl> instead
+of C<it>; added C<ssub> rules to the F<fd> files to substitute slanted fonts
 for italic ones if the latter are missing. Fixed a few bugs.
 
 =item I<2014-01-03>
@@ -4279,16 +4288,16 @@
 =item I<2013-02-06>
 
 Bugfix: the directory names for map and encoding files contained
-the `vendor' instead of the `typeface'.
+the "vendor" instead of the "typeface".
 
 =item I<2013-01-03>
 
-Added extra `ssub' rules to the F<fd> files that substitute `b' for `bx'.
+Added extra C<ssub> rules to the F<fd> files that substitute C<b> for C<bx>.
 Verbose mode now also prints all generated commands before they're executed.
 
 =item I<2012-10-25>
 
-Added extra `ssub' rules to the F<fd> files that substitute italic
+Added extra C<ssub> rules to the F<fd> files that substitute italic
 shapes for slanted ones.
 
 =item I<2012-09-25>
@@ -4301,7 +4310,7 @@
 
 =item I<2012-03-06>
 
-Implemented the `splitting the font family into multiple subfamilies'
+Implemented the "splitting the font family into multiple subfamilies"
 emergency strategy when font info parsing fails.
 Added recognition for a number of unusual widths, weights and shapes.
 
@@ -4309,8 +4318,8 @@
 
 Fixed a bug in the font parsing code,
 where possible widths, weights and shapes where tested in the wrong order;
-this led to `ExtraLight' fonts being recognised as `Light'.
-Added recognition for `Narrow' and `Wide' widths.
+this led to "ExtraLight" fonts being recognised as "Light".
+Added recognition for "Narrow" and "Wide" widths.
 Also added the I<-(no)figurekern> command-line option.
 
 =item I<2012-02-01>
@@ -4326,7 +4335,7 @@
 =item I<2011-06-15>
 
 Fixed the font info parsing code for some fonts that are
-too lazy to spell out `Italic' in full.
+too lazy to spell out "Italic" in full.
 
 =item I<2010-04-29>
 
@@ -4372,13 +4381,13 @@
 weight and width were mapped to the same series.
 Added a work-around for incorrect size info in some Kepler fonts.
 Fixed a small bug in the generated commands for otftotfm
-(sometimes, the `onum' feature was included twice).
+(sometimes, the C<onum> feature was included twice).
 Added encoding file for OT1 to the I<fontools> collection.
 
 =item I<2007-07-27>
 
 Two bugfixes: a closing brace was missing in the generated style file,
-and the NFSS series was formed as `width plus weight' instead of the reverse.
+and the NFSS series was formed as "width plus weight" instead of the reverse.
 
 =item I<2007-06-10>
 
@@ -4393,7 +4402,7 @@
 families (suggested by Steven E. Harris).
 Tweaked the font info parsing to work around a bug in the naming of
 some FontFont fonts, where every font is in a family of its own.
-Added the `scaled' option (including the loading of F<xkeyval>)
+Added the C<scaled> option (including the loading of F<xkeyval>)
 to the generated style file.
 Extended the output of the I<-verbose> option.
 
@@ -4414,7 +4423,7 @@
 
 =item I<2006-08-31>
 
-Made the generated style files try to include `fontaxes.sty';
+Made the generated style files try to include F<fontaxes.sty>;
 changed the names of the generated fonts and families
 (to make the previous change possible);
 added command-line options for most font styles and shapes;
@@ -4421,7 +4430,7 @@
 tweaked the filename parsing code for Cronos Pro and Gill Sans Pro;
 added runtime generation of encoding vectors for ornament fonts
 (because GaramondPremier's ornament names differ from other fonts);
-changed the NFSS-code for italic small caps and titling to `scit' and `tlit'
+changed the NFSS-code for italic small caps and titling to C<scit> and C<tlit>
 (to work with F<fontaxes>);
 and edited (and hopefully improved) the documentation.
 
@@ -4453,14 +4462,14 @@
 The generated commands weren't actually executed, only printed...
 Also added a small hack to cater for fonts
 (such as some recent versions of MinionPro)
-that contain swash characters but don't provide a `swsh' feature.
+that contain swash characters but don't provide a C<swsh> feature.
 
 =item I<2005-08-10>
 
-Dropped the `fontname' scheme in favor of a more verbose naming scheme,
+Dropped the "fontname" scheme in favor of a more verbose naming scheme,
 since many filenames were still more than eight characters long anyway.
 Added F<nfssext.sty>-like commands to the generated style file.
-Changed the default encoding to LY1 and added the `inferior' shape.
+Changed the default encoding to LY1 and added the "inferior" shape.
 
 =item I<2005-08-01>
 
@@ -4467,11 +4476,11 @@
 Rewrote (and hopefully improved) the user interface;
 changed the program to by default execute the generated F<otftotfm> command
 lines rather than writing them to a file;
-added automatic determination of the `fontname' code for the font family;
-changed the NFSS code for italic small caps to `si'; added titling shapes;
+added automatic determination of the "fontname" code for the font family;
+changed the NFSS code for italic small caps to C<si>; added titling shapes;
 changed the generated style
 file to include an interface for the ornaments and to load Lehman's NFSS
-extensions F<nfssext.sty> if this is installed; corrected the `fontname' codes
+extensions F<nfssext.sty> if this is installed; corrected the "fontname" codes
 for OT1, T1, LY1 and user-specific encodings; extended the output generated by
 the I<-verbose> option; and rewrote and extended the documentation.
 

Modified: trunk/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx	2021-04-05 01:25:20 UTC (rev 58746)
+++ trunk/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx	2021-04-05 01:27:54 UTC (rev 58747)
@@ -4,7 +4,7 @@
 
 ----------------------------------------------------------------------------
 
-    Copyright (C) 2005-2020 Marc Penninga.
+    Copyright (C) 2005-2021 Marc Penninga.
 
     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
@@ -38,7 +38,7 @@
 use List::Util @List::Util::EXPORT_OK;
 use Pod::Usage;
 
-my $VERSION = "20201218";
+my $VERSION = "20210401";
 
 our ($NUM_GLYPHS, $UNITS_PER_EM, %kern);
 
@@ -835,7 +835,7 @@
 
 =head1 COPYRIGHT
 
-Copyright (C) 2005-2020 Marc Penninga.
+Copyright (C) 2005-2021 Marc Penninga.
 
 
 =head1 LICENSE
@@ -858,7 +858,7 @@
 
 =head1 VERSION
 
-This document describes B<ot2kpx> version 20201218.
+This document describes B<ot2kpx> version 20210401.
 
 
 =head1 RECENT CHANGES

Modified: trunk/Master/texmf-dist/doc/man/man1/afm2afm.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/afm2afm.1	2021-04-05 01:25:20 UTC (rev 58746)
+++ trunk/Master/texmf-dist/doc/man/man1/afm2afm.1	2021-04-05 01:27:54 UTC (rev 58747)
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35)
+.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40)
 .\"
 .\" Standard preamble:
 .\" ========================================================================
@@ -133,7 +133,7 @@
 .\" ========================================================================
 .\"
 .IX Title "AFM2AFM 1"
-.TH AFM2AFM 1 "2020-12-18" "fontools" "Marc Penninga"
+.TH AFM2AFM 1 "2021-04-01" "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
@@ -206,7 +206,7 @@
 Marc Penninga <marcpenninga at gmail.com>
 .SH "COPYRIGHT"
 .IX Header "COPYRIGHT"
-Copyright (C) 2005\-2020 Marc Penninga.
+Copyright (C) 2005\-2021 Marc Penninga.
 .SH "LICENSE"
 .IX Header "LICENSE"
 This program is free software; you can redistribute it and/or modify
@@ -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 20201218.
+This document describes \fBafm2afm\fR version 20210401.
 .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-04-05 01:25:20 UTC (rev 58746)
+++ trunk/Master/texmf-dist/doc/man/man1/autoinst.1	2021-04-05 01:27:54 UTC (rev 58747)
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35)
+.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40)
 .\"
 .\" Standard preamble:
 .\" ========================================================================
@@ -133,7 +133,7 @@
 .\" ========================================================================
 .\"
 .IX Title "AUTOINST 1"
-.TH AUTOINST 1 "2020-12-18" "fontools" "Marc Penninga"
+.TH AUTOINST 1 "2021-04-01" "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
@@ -153,7 +153,7 @@
 they need many, often long, command lines
 and don't generate the \fIfd\fR and \fIsty\fR files LaTeX needs.
 \&\fBautoinst\fR simplifies the use of the \fITypeTools\fR for font installation
-by generating and executing all commands for \fIotftotfm\fR
+by generating and executing all commands for \fIotftotfm\fR,
 and by creating and installing all necessary \fIfd\fR and \fIsty\fR files.
 .PP
 Given a family of font files (in \fIotf\fR or \fIttf\fR format),
@@ -182,7 +182,7 @@
 Swash
 .IP "\fInw\fR" 8
 .IX Item "nw"
-`Upright swash'
+\&\*(L"Upright swash\*(R"
 .RE
 .RS 2
 .RE
@@ -196,14 +196,14 @@
 Families with superiors, inferiors, numerators and denominators,
 in roman, italic and slanted shapes.
 .IP "\-" 3
-Families with `Titling' characters;
-these `... replace the default glyphs
+Families with \*(L"Titling\*(R" characters;
+these \*(L"... replace the default glyphs
 with corresponding forms designed specifically for titling.
 These may be all-capital and/or larger on the body,
-and adjusted for viewing at larger sizes'
+and adjusted for viewing at larger sizes\*(R"
 (according to the OpenType Specification).
 .IP "\-" 3
-An ornament family, also in roman, italic and slanted shapes.
+An ornament family; also in roman, italic and slanted shapes.
 .RE
 .RS 2
 .RE
@@ -248,18 +248,18 @@
 .PP
 The individual fonts are named \fI<FontName>\-<suffix>\-<shape>\-<enc>\fR,
 where \fI<suffix>\fR is the same as above (but in lowercase),
-\&\fI<shape>\fR is either empty, `sc' or `swash',
+\&\fI<shape>\fR is either empty, \*(L"sc\*(R" or \*(L"swash\*(R",
 and \fI<enc>\fR is the encoding (also in lowercase).
-A typical name in this scheme would be `FiraSans\-Light\-osf\-sc\-ly1'.
+A typical name in this scheme would be \fIFiraSans\-Light\-osf\-sc\-ly1\fR.
 .SS "Using the fonts in your LaTeX documents"
 .IX Subsection "Using the fonts in your LaTeX documents"
 \&\fBautoinst\fR generates a style file for using the fonts in LaTeX documents,
-named \fI<FontFamily>.sty\fR. This style file also takes care of loading
-the \fIfontenc\fR and \fItextcomp\fR packages.
+named \fI<FontFamily>.sty\fR. This style file also loads the \fIfontenc\fR
+and \fItextcomp\fR packages, if necessary.
 To use the fonts, add the command \f(CW\*(C`\eusepackage{\f(CI<FontFamily>\f(CW}\*(C'\fR
 to the preamble of your document.
 .PP
-This style file defines a number of options:
+This style file has a few options:
 .ie n .IP """mainfont""" 4
 .el .IP "\f(CWmainfont\fR" 4
 .IX Item "mainfont"
@@ -273,7 +273,7 @@
 .el .IP "\f(CWlining\fR, \f(CWoldstyle\fR, \f(CWtabular\fR, \f(CWproportional\fR" 4
 .IX Item "lining, oldstyle, tabular, proportional"
 Choose which figure style to use.
-The defaults are `oldstyle' and `proportional' (if available).
+The defaults are \*(L"oldstyle\*(R" and \*(L"proportional\*(R" (if available).
 .ie n .IP """scale=\fI<number>\fP"", ""scale=MatchLowercase""" 4
 .el .IP "\f(CWscale=\f(CI<number>\f(CW\fR, \f(CWscale=MatchLowercase\fR" 4
 .IX Item "scale=<number>, scale=MatchLowercase"
@@ -281,23 +281,23 @@
 E.g., to increase the size of the font by 5%, use
 \&\f(CW\*(C`\eusepackage[scale=1.05]{\f(CI<FontFamily>\f(CW}\*(C'\fR.
 The special value \f(CW\*(C`MatchLowercase\*(C'\fR may be used to scale the font
-so that its x\-height matches that of the previously active font
-(which is usually Computer Modern, unless you have loaded another
-font package before this one).
+so that its x\-height matches that of the current main font
+(which is usually Computer Modern Roman, unless you have loaded
+another font package before this one).
 The name \f(CW\*(C`scaled\*(C'\fR may be used as a synonym for \f(CW\*(C`scale\*(C'\fR.
 .ie n .IP """medium"", ""book"", ""text"", ""normal"", ""regular""" 4
 .el .IP "\f(CWmedium\fR, \f(CWbook\fR, \f(CWtext\fR, \f(CWnormal\fR, \f(CWregular\fR" 4
 .IX Item "medium, book, text, normal, regular"
-Select the weight that LaTeX will use as the `regular' weight.
+Select the weight that LaTeX will use as the \*(L"regular\*(R" weight.
 .ie n .IP """heavy"", ""black"", ""extrabold"", ""demibold"", ""semibold"", ""bold""" 4
 .el .IP "\f(CWheavy\fR, \f(CWblack\fR, \f(CWextrabold\fR, \f(CWdemibold\fR, \f(CWsemibold\fR, \f(CWbold\fR" 4
 .IX Item "heavy, black, extrabold, demibold, semibold, bold"
-Select the weight that LaTeX will use as the `bold' weight.
+Select the weight that LaTeX will use as the \*(L"bold\*(R" weight.
 .PP
 The last two groups of options will only work if
 you have the \fImweights\fR package installed.
 The default here is not to change LaTeX's default,
-i.e. use the `m' and `b' weights.
+i.e. use the \*(L"m\*(R" and \*(L"b\*(R" weights.
 .PP
 The style file will also try to load the \fIfontaxes\fR package
 (on \s-1CTAN\s0), which gives easy access to various font shapes and styles.
@@ -315,9 +315,9 @@
 \&    \einffigures     \etextinferior   \etextinf, \etextin
 .Ve
 .PP
-In addition, the \f(CW\*(C`\eswshape\*(C'\fR and \f(CW\*(C`\etextsw\*(C'\fR commands are redefined to place
-swash on \fIfontaxes\fR' secondary shape axis (\fIfontaxes\fR places it on the
-primary shape axis) to make them behave properly when nested, so that
+In addition, the existing \f(CW\*(C`\eswshape\*(C'\fR and \f(CW\*(C`\etextsw\*(C'\fR commands are redefined
+to place swash on \fIfontaxes\fR' secondary shape axis (\fIfontaxes\fR places it
+on the primary shape axis) to make them behave properly when nested, so that
 \&\f(CW\*(C`\eswshape\eupshape\*(C'\fR will give upright swash.
 .PP
 There are no commands for accessing the numerator and denominator
@@ -325,8 +325,8 @@
 e.g., \f(CW\*(C`\efontfigurestyle{numerator}\eselectfont\*(C'\fR.
 .PP
 These commands are only generated for existing shapes and number styles;
-no commands are generated for shapes and styles that don't exist,
-or whose generation was turned off by the user.
+no commands are generated for shapes and styles that are missing from
+your fonts.
 Also these commands are built on top of \fIfontaxes\fR, so if that package
 cannot be found, you're limited to using the lower-level commands from
 standard \s-1NFSS\s0 (\f(CW\*(C`\efontfamily\*(C'\fR, \f(CW\*(C`\efontseries\*(C'\fR, \f(CW\*(C`\efontshape\*(C'\fR etc.).
@@ -353,13 +353,13 @@
 .el .IP "\f(CWmathlining\fR, \f(CWmatholdstyle\fR" 4
 .IX Item "mathlining, matholdstyle"
 Choose which figure style to use in maths.
-The default is `mathlining'.
+The default is \*(L"mathlining\*(R".
 .ie n .IP """mathcal""" 4
 .el .IP "\f(CWmathcal\fR" 4
 .IX Item "mathcal"
 Use the swash characters from your fonts as the \f(CW\*(C`\emathcal\*(C'\fR alphabet.
-(This option only exists if your fonts actually contain swash characters
-and a \f(CW\*(C`swsh\*(C'\fR feature to access them).
+(This option will only exist if your fonts actually contain swash characters,
+plus a \f(CW\*(C`swsh\*(C'\fR feature to access them).
 .ie n .IP """nomathgreek""" 4
 .el .IP "\f(CWnomathgreek\fR" 4
 .IX Item "nomathgreek"
@@ -367,13 +367,13 @@
 .ie n .IP """math\-style=\fI<style>\fP""" 4
 .el .IP "\f(CWmath\-style=\f(CI<style>\f(CW\fR" 4
 .IX Item "math-style=<style>"
-Choose the `math style' to use.
+Choose the \*(L"math style\*(R" to use.
 With \f(CW\*(C`math\-style=ISO\*(C'\fR, all latin and greek letters in math are italic;
 with \f(CW\*(C`math\-style=TeX\*(C'\fR (the default), uppercase greek is upright;
 with \f(CW\*(C`math\-style=french\*(C'\fR, all greek as well as uppercase latin is upright;
 and with \f(CW\*(C`math\-style=upright\*(C'\fR all letters are upright.
 .PP
-Note that this `math' option only changes digits, latin and greek letters,
+Note that this \f(CW\*(C`math\*(C'\fR option only affects digits, latin and greek letters,
 plus a few basic punctuation characters; all other mathematical symbols,
 operators, delimiters etc. are left as they were before.
 If you don't want to use TeX's default versions of those symbols,
@@ -401,14 +401,14 @@
 \&\fBautoinst\fR parses the font's metadata to determine these parameters.
 When this fails (usually because the font family contains uncommon weights,
 widths or shapes),
-\&\fBautoinst\fR ends up with different fonts having the \fIsame\fR values
+\&\fBautoinst\fR ends up with multiple fonts having the same values
 for these font parameters; such fonts cannot be used in \s-1NFSS,\s0
 since there's no way distinguish them.
 When \fBautoinst\fR detects such a situation, it will print an error message
 and abort.
 If that happens, either rerun \fBautoinst\fR on a smaller set of fonts,
-or add the missing widths, weights and shapes to the tables \f(CW\*(C`WIDTH\*(C'\fR,
-\&\f(CW\*(C`WEIGHT\*(C'\fR and \f(CW\*(C`SHAPE\*(C'\fR in the source code.
+or add the missing widths, weights and shapes to the tables \f(CW at WIDTH\fR,
+\&\f(CW at WEIGHT\fR and \f(CW%SHAPE\fR in the source code.
 Please also send a bug report (see \s-1AUTHOR\s0 below).
 .PP
 The mapping of shapes to \s-1NFSS\s0 codes is done using the following table:
@@ -422,7 +422,7 @@
 .Ve
 .PP
 (\fIException:\fR Adobe Silentium Pro contains two Roman shapes;
-we map the first of these to `n', for the second one we (ab)use the `it' code
+we map the first of these to \f(CW\*(C`n\*(C'\fR, for the second one we (ab)use the \f(CW\*(C`it\*(C'\fR code
 as this family doesn't contain an Italic shape.)
 .PP
 For weights and widths, \fBautoinst\fR tries to the standard \s-1NFSS\s0 codes
@@ -432,19 +432,18 @@
 Of course, not all 81 combinations of these \s-1NFSS\s0 weights and widths will map
 to existing fonts;
 and conversely it may not be possible to assign every existing font
-a unique code in a sane way (especially for the weights, some font families
-offer more choices or finer granularity than \s-1NFSS\s0's codes can handle;
-e.g., Fira Sans contains fifteen(!) different weights,
-including an additional `Medium' weight between Regular and Semibold).
-Therefore every font is also assigned a `series' name that is simply
-the concatenation of its weight and width
-(after expanding any abbreviations and converting to lowercase).
-A font with `Cond' width and `Ultra' weight will then be known
-as `ultrablackcondensed'.
+a unique code in a sane way (especially for the weights,
+some font families offer more variants than \s-1NFSS\s0's codes can handle;
+e.g., Fira Sans contains fifteen different weights!).
+Therefore every font is also assigned a \*(L"series\*(R" name that is
+the concatenation of its weight and width,
+after expanding any abbreviations and converting to lowercase.
+A font of \*(L"Cond\*(R" width and \*(L"Ultra\*(R" weight will then be known
+as \*(L"ultrablackcondensed\*(R".
 .PP
 The exact mapping between fonts and \s-1NFSS\s0 codes can be found
 in the generated \fIfd\fR files and in the log file
-(pro tip: run \fBautoinst\fR with the \fI\-dryrun\fR option
+(you may want to run \fBautoinst\fR with the \fI\-dryrun\fR option
 to check the chosen mapping beforehand).
 The \fI\-nfssweight\fR and \fI\-nfsswidth\fR command-line options can be used
 to finetune the mapping between \s-1NFSS\s0 codes and fonts.
@@ -455,7 +454,7 @@
 .SS "Ornaments"
 .IX Subsection "Ornaments"
 Ornament fonts are regular LY1\-encoded fonts, with a number of
-`regular' characters replaced by ornament glyphs.
+\&\*(L"regular\*(R" characters replaced by ornament glyphs.
 The OpenType specification says that fonts should only put their
 ornaments in place of the lowercase \s-1ASCII\s0 letters, but some fonts
 put them in other positions (such as those of the digits) as well.
@@ -482,8 +481,9 @@
 do not allow distributing such converted versions under their original name.
 .PP
 To meet these licensing requirements, \fBautoinst\fR provides
-a \f(CW\*(C`\-t1suffix\*(C'\fR command-line option that appends
-a (user-defined) suffix to the names (both filename and internal font name)
+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 "A note for MiKTeX users"
 .IX Subsection "A note for MiKTeX users"
@@ -490,9 +490,9 @@
 Automatically installing the fonts into a suitable \s-1TEXMF\s0 tree
 (as \fBautoinst\fR tries to do by default) only works for TeX-installations
 that use the \fIkpathsea\fR library; with TeX distributions that implement
-their own directory searching (such as MiKTeX), \fBautoinst\fR will complain
+their own directory searching, such as MiKTeX, \fBautoinst\fR will complain
 that it cannot find the \fIkpsewhich\fR program and move all generated files
-into a subdirectory \f(CW\*(C`./autoinst_output/\*(C'\fR of the current directory.
+into a subdirectory \f(CW\*(C`autoinst_output/\*(C'\fR of the current directory.
 If you use such a TeX distribution, you should either move these files
 to their correct destinations by hand, or use the \fI\-target\fR option
 (see \*(L"COMMAND-LINE \s-1OPTIONS\*(R"\s0 below) to manually specify a \s-1TEXMF\s0 tree.
@@ -512,7 +512,7 @@
 To remedy this, either run \fBautoinst\fR as root (so that it can install
 everything into \f(CW$TEXMFLOCAL\fR) or manually run \f(CW\*(C`updmap \-user\*(C'\fR to tell
 TeX about the files in \f(CW$TEXMFHOME\fR.
-The latter option does, however, have some caveats;
+This latter option does, however, come with some caveats;
 see \fIhttps://tug.org/texlive/scripts\-sys\-user.html\fR.
 .SH "COMMAND-LINE OPTIONS"
 .IX Header "COMMAND-LINE OPTIONS"
@@ -532,7 +532,7 @@
 .IP "\fB\-dryrun\fR" 4
 .IX Item "-dryrun"
 Don't generate output; just parse input fonts and write
-a log file saying what \fBautoinst\fR would have done.
+the results to the log file.
 .IP "\fB\-verbose\fR" 4
 .IX Item "-verbose"
 Add more details to the log file.
@@ -545,15 +545,16 @@
 .IX Item "-encoding=encoding[,encoding]"
 Generate the specified encoding(s) for the text fonts.
 Multiple encodings may be specified as a comma-separated list
-(without spaces!); the default choice of encodings is `\s-1OT1,LY1,T1\s0'.
+(without spaces!); the default choice of encodings is \f(CW\*(C`OT1,LY1,T1\*(C'\fR.
 .Sp
-For each specified encoding \s-1XYZ,\s0 \fBautoinst\fR will first see if there is
-an encoding file \fI\s-1XYZ\s0.enc\fR in the current directory, and if found it will
-use that; otherwise it will use one of its built-in encoding files.
-Currently \fBautoinst\fR comes with support for the \s-1OT1, T1/TS1, LY1, LGR,
+For each encoding argument, \fBautoinst\fR will first check if it is
+the filename of an encoding file, and if found it will use that;
+otherwise the argument is assumed to be the name of one of
+the built-in encodings.
+Currently \fBautoinst\fR comes with built-in support for the \s-1OT1, T1/TS1, LY1, LGR,
 T2A/B/C\s0 and T3/TS3 encodings.
 (These files are called \fIfontools_ot1.enc\fR etc. to avoid name clashes
-with other packages; the `fontools_' prefix may be omitted.)
+with other packages; the \fIfontools_\fR prefix may be omitted.)
 .IP "\fB\-ts1\fR/\fB\-nots1\fR" 4
 .IX Item "-ts1/-nots1"
 Control the creation of TS1\-encoded fonts. The default is \fB\-ts1\fR
@@ -589,19 +590,19 @@
 .IX Item "-superiors/-nosuperiors"
 Control the creation of fonts with superior characters.
 The default is \fB\-superiors\fR.
+.IP "\fB\-inferiors\fR [ = \fBnone\fR | \fBauto\fR | \fBsubs\fR | \fBsinf\fR | \fBdnom\fR ]" 4
+.IX Item "-inferiors [ = none | auto | subs | sinf | dnom ]"
+.PD 0
 .IP "\fB\-noinferiors\fR" 4
 .IX Item "-noinferiors"
-.PD 0
-.IP "\fB\-inferiors\fR [ = \fBnone\fR | \fBauto\fR | \fBsubs\fR | \fBsinf\fR | \fBdnom\fR ]" 4
-.IX Item "-inferiors [ = none | auto | subs | sinf | dnom ]"
 .PD
 The OpenType standard defines several kinds of digits that might be used
-as inferiors or subscripts: `Subscripts' (OpenType feature `subs'),
-`Scientific Inferiors' ('sinf'), and `Denominators' ('dnom').
+as inferiors or subscripts: \*(L"Subscripts\*(R" (OpenType feature \f(CW\*(C`subs\*(C'\fR),
+\&\*(L"Scientific Inferiors\*(R" (\f(CW\*(C`sinf\*(C'\fR), and \*(L"Denominators\*(R" (\f(CW\*(C`dnom\*(C'\fR).
 This option allows the user to determine which of these styles \fBautoinst\fR
 should use for the inferior characters.
-Alternatively, the value `auto' tells \fBautoinst\fR to use the first value
-in `sinf', `subs' or `dnom' that is supported by the font.
+Alternatively, the value \*(L"auto\*(R" tells \fBautoinst\fR to use the first value
+in \f(CW\*(C`sinf\*(C'\fR, \f(CW\*(C`subs\*(C'\fR or \f(CW\*(C`dnom\*(C'\fR that is supported by the font.
 Saying just \fB\-inferiors\fR is equivalent to \fB\-inferiors=auto\fR;
 otherwise the default is \fB\-noinferiors\fR.
 .Sp
@@ -614,14 +615,14 @@
 The default is \fB\-nofractions\fR.
 .IP "\fB\-ligatures\fR/\fB\-noligatures\fR" 4
 .IX Item "-ligatures/-noligatures"
-Some fonts create glyphs for the standard f\-ligatures (ff, fi, fl, ffi, ffl),
-but don't provide a `liga' feature to access these.
+Some fonts contain glyphs for the standard f\-ligatures (ff, fi, fl, ffi, ffl),
+but don't provide a \f(CW\*(C`liga\*(C'\fR feature to access these.
 This option tells \fBautoinst\fR to add extra \f(CW\*(C`LIGKERN\*(C'\fR rules to
 the generated fonts to enable the use of these ligatures.
 The default is \fB\-ligatures\fR, except for typewriter fonts.
 .Sp
 Specify \fB\-noligatures\fR to disable generation of ligatures even for fonts
-that do contain a `liga' feature.
+that do contain a \f(CW\*(C`liga\*(C'\fR feature.
 .IP "\fB\-ornaments\fR/\fB\-noornaments\fR" 4
 .IX Item "-ornaments/-noornaments"
 Control the creation of ornament fonts. The default is \fB\-ornaments\fR.
@@ -640,10 +641,10 @@
 if you want typewriter text to be hyphenated, use the \fIhyphenat\fR package.
 .Sp
 If none of these options is specified, \fBautoinst\fR tries to guess:
-if the font's filename contains the string `mono'
-or if the field \f(CW\*(C`isFixedPitch\*(C'\fR in the font's \fIpost\fR table is True,
+if the font's filename contains the string \*(L"mono\*(R"
+or if the field \f(CW\*(C`isFixedPitch\*(C'\fR in the font's \f(CW\*(C`post\*(C'\fR table is True,
 it will select \fB\-typewriter\fR;
-else if the filename contains `sans' it will select \fB\-sanserif\fR;
+else if the filename contains \*(L"sans\*(R" it will select \fB\-sanserif\fR;
 otherwise it will opt for \fB\-serif\fR.
 .IP "\fB\-math\fR" 4
 .IX Item "-math"
@@ -661,11 +662,11 @@
 Tell \fBautoinst\fR to modify the font names of all generated Type1\-fonts,
 by adding \fI\s-1SUFFIX\s0\fR to the family name.
 If you use this option without specifying a \fI\s-1SUFFIX\s0\fR value,
-\&\fBautoinst\fR will use the value ``\s-1PS\s0''.
+\&\fBautoinst\fR will use the value \*(L"\s-1PS\*(R".\s0
 The default behaviour when this option is not given
 is to not modify font names at all.
 .Sp
-See also \*(L"OpenType fonts and licensing issues\*(R" above.
+See also \*(L"OpenType fonts and licensing issues\*(R" in \*(L"\s-1WARNINGS AND CAVEATS\*(R"\s0 above.
 .IP "\fB\-target\fR=\fI\s-1DIRECTORY\s0\fR" 4
 .IX Item "-target=DIRECTORY"
 Install all generated files into the \s-1TEXMF\s0 tree at \fI\s-1DIRECTORY\s0\fR.
@@ -675,7 +676,7 @@
 If \fBautoinst\fR cannot find such a user-writable directory
 (which shouldn't happen, since \f(CW$TEXMFHOME\fR is supposed to be user-writable)
 it will print a warning message and put all files into the subdirectory
-\&\f(CW\*(C`./autoinst_output/\*(C'\fR of the current directory.
+\&\f(CW\*(C`autoinst_output/\*(C'\fR of the current directory.
 It's then up to the user to move the generated files to a better location
 and update all relevant databases
 (usually by calling \fItexhash\fR and \fIupdmap\fR).
@@ -686,9 +687,9 @@
 .IX Item "-typeface=TYPEFACE"
 .PD
 These options are equivalent to \fIotftotfm\fR's \fI \-\-vendor\fR and \fI \-\-typeface\fR
-options: they change the `vendor' and `typeface' parts of the names of the
+options: they change the \*(L"vendor\*(R" and \*(L"typeface\*(R" parts of the names of the
 subdirectories in the \s-1TEXMF\s0 tree where generated files will be stored.
-The default values are `lcdftools' and the font's FontFamily name.
+The default values are \*(L"lcdftools\*(R" and the font's FontFamily name.
 These options change \fIonly\fR directory names,
 not the names of any generated files.
 .IP "\fB\-logfile\fR=\fIfilename\fR" 4
@@ -722,15 +723,15 @@
 overriding the built-in tables.
 Each of these options may be given multiple times,
 to override more than one \s-1NFSS\s0 code.
-Example: to map the `ul' code to the `Thin' weight,
+Example: to map the \f(CW\*(C`ul\*(C'\fR code to the \*(L"Thin\*(R" weight,
 use \f(CW\*(C`\-nfssweight=ul=thin\*(C'\fR.
-To inhibit the use of the `ul' code completely,
+To inhibit the use of the \f(CW\*(C`ul\*(C'\fR code completely,
 use \f(CW\*(C`\-nfssweight=ul=\*(C'\fR.
-.IP "\fB\-extra\fR=\fIextra\fR" 4
-.IX Item "-extra=extra"
-Append \fIextra\fR as extra options to the command lines for \fIotftotfm\fR.
-To prevent \fIextra\fR from accidentily being interpreted as options
-to \fBautoinst\fR, it should be properly quoted.
+.IP "\fB\-extra\fR=\fIextra options\fR" 4
+.IX Item "-extra=extra options"
+Pass \fIextra options\fR to the commands for \fIotftotfm\fR.
+To prevent \fIextra options\fR from accidentily being interpreted as
+options to \fBautoinst\fR, they should be properly quoted.
 .IP "\fB\-nofigurekern\fR" 4
 .IX Item "-nofigurekern"
 Some fonts provide kerning pairs for tabular figures.
@@ -739,7 +740,8 @@
 This option adds extra \fI \-\-ligkern\fR options
 to the commands for \fIotftotfm\fR to suppress such kerns.
 Note that this option leads to very long commands (it adds
-one hundred \fI \-\-ligkern\fR options), which may cause problems on some systems.
+one hundred \fI \-\-ligkern\fR options), which may cause problems on some systems;
+hence it is not active by default.
 .SH "SEE ALSO"
 .IX Header "SEE ALSO"
 Eddie Kohler's \fBTypeTools\fR and \fBT1Utils\fR (\fIhttp://www.lcdf.org/type\fR).
@@ -768,7 +770,7 @@
 don't paraphase.
 .SH "COPYRIGHT"
 .IX Header "COPYRIGHT"
-Copyright (C) 2005\-2020 Marc Penninga.
+Copyright (C) 2005\-2021 Marc Penninga.
 .SH "LICENSE"
 .IX Header "LICENSE"
 This program is free software; you can redistribute it and/or modify
@@ -785,10 +787,15 @@
 \&\s-1GNU\s0 General Public License for more details.
 .SH "VERSION"
 .IX Header "VERSION"
-This document describes \fBautoinst\fR version 20201218.
+This document describes \fBautoinst\fR version 20210401.
 .SH "RECENT CHANGES"
 .IX Header "RECENT CHANGES"
 (See the source for the full story, all the way back to 2005.)
+.IP "\fI2021\-04\-01\fR" 12
+.IX Item "2021-04-01"
+The \fI\-encoding\fR option now also accepts filenames of encoding files
+in directories other than the current directory.
+Directory names containing spaces do (or at least should) also work.
 .IP "\fI2020\-12\-18\fR" 12
 .IX Item "2020-12-18"
 Fixed a problem with files not being found on Windows.
@@ -802,7 +809,7 @@
 to improve compatibility with the \fImicrotype\fR package.
 Made sure that \fIpfb\fR fonts are always generated whenever
 the input fonts are in \fIotf\fR format.
-Added the \f(CW\*(C`\-t1suffix\*(C'\fR command-line option,
+Added the \fI\-t1suffix\fR command-line option,
 to modify the font and file names of those generated Type1 fonts.
 .IP "\fI2020\-06\-19\fR" 12
 .IX Item "2020-06-19"
@@ -814,7 +821,7 @@
 Added basic (and still somewhat experimental) math support.
 Implemented the \f(CW\*(C`scale=MatchLowercase\*(C'\fR option value
 in the generated style files.
-`Wide' fonts are mapped to the `sx' \s-1NFSS\s0 code instead of `x',
+\&\*(L"Wide\*(R" fonts are mapped to the \f(CW\*(C`sx\*(C'\fR \s-1NFSS\s0 code instead of \f(CW\*(C`x\*(C'\fR,
 to cater for League Mono Variable's Wide and Extended widths.
 The generated style files now use \f(CW\*(C`\etextsup\*(C'\fR and \f(CW\*(C`\etextinf\*(C'\fR
 instead of the more cryptic \f(CW\*(C`\etextsu\*(C'\fR and \f(CW\*(C`\etextin\*(C'\fR to access

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-04-05 01:25:20 UTC (rev 58746)
+++ trunk/Master/texmf-dist/doc/man/man1/ot2kpx.1	2021-04-05 01:27:54 UTC (rev 58747)
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35)
+.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40)
 .\"
 .\" Standard preamble:
 .\" ========================================================================
@@ -133,7 +133,7 @@
 .\" ========================================================================
 .\"
 .IX Title "OT2KPX 1"
-.TH OT2KPX 1 "2020-12-18" "fontools" "Marc Penninga"
+.TH OT2KPX 1 "2021-04-01" "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
@@ -211,7 +211,7 @@
 Marc Penninga <marcpenninga at gmail.com>
 .SH "COPYRIGHT"
 .IX Header "COPYRIGHT"
-Copyright (C) 2005\-2020 Marc Penninga.
+Copyright (C) 2005\-2021 Marc Penninga.
 .SH "LICENSE"
 .IX Header "LICENSE"
 This program is free software; you can redistribute it and/or modify
@@ -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 20201218.
+This document describes \fBot2kpx\fR version 20210401.
 .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/README
===================================================================
--- trunk/Master/texmf-dist/doc/support/fontools/README	2021-04-05 01:25:20 UTC (rev 58746)
+++ trunk/Master/texmf-dist/doc/support/fontools/README	2021-04-05 01:27:54 UTC (rev 58747)
@@ -79,6 +79,6 @@
 LICENSE & COPYRIGHT
 ===================
 
-This software is copyright (C) 2005-2020 Marc Penninga.
+This software is copyright (C) 2005-2021 Marc Penninga.
 It is released under the terms of the GNU General Public Licence;
 see the file GPLv2.txt for the license conditions.

Modified: trunk/Master/texmf-dist/doc/support/fontools/splitttc
===================================================================
--- trunk/Master/texmf-dist/doc/support/fontools/splitttc	2021-04-05 01:25:20 UTC (rev 58746)
+++ trunk/Master/texmf-dist/doc/support/fontools/splitttc	2021-04-05 01:27:54 UTC (rev 58747)
@@ -4,7 +4,7 @@
 
 ----------------------------------------------------------------------------
 
-    Copyright (C) 2020 Marc Penninga.
+    Copyright (C) 2021 Marc Penninga.
 
     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
@@ -38,7 +38,7 @@
 use Getopt::Long;
 use Pod::Usage;
 
-my $VERSION = "20201218";
+my $VERSION = "20210401";
 
 parse_commandline();
 
@@ -267,8 +267,8 @@
 =head1 OUTPUT
 
 B<splitttc> tries to determine the 'PostScript name' of the resulting fonts
-and uses this to name the output files.
-If it cannot determine the PostScript name, it uses the basename of the input
+and uses these to name the output files.
+If it cannot determine the PostScript names, it uses the basename of the input
 font collection file plus a three-digit sequence number:
 F<<< I<< <input> >> 001.otf >>>, F<<< I<< <input> >> 002.otf >>> etc.
 
@@ -280,7 +280,7 @@
 
 =head1 COPYRIGHT
 
-Copyright (C) 2020 Marc Penninga.
+Copyright (C) 2019-2021 Marc Penninga.
 
 
 =head1 LICENSE
@@ -303,7 +303,7 @@
 
 =head1 VERSION
 
-This document describes B<splitttc> version 20201218.
+This document describes B<splitttc> version 20210401.
 
 
 =head1 RECENT CHANGES

Modified: trunk/Master/texmf-dist/scripts/fontools/afm2afm
===================================================================
--- trunk/Master/texmf-dist/scripts/fontools/afm2afm	2021-04-05 01:25:20 UTC (rev 58746)
+++ trunk/Master/texmf-dist/scripts/fontools/afm2afm	2021-04-05 01:27:54 UTC (rev 58747)
@@ -4,7 +4,7 @@
 
 ----------------------------------------------------------------------------
 
-    Copyright (C) 2005-2020 Marc Penninga.
+    Copyright (C) 2005-2021 Marc Penninga.
 
     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
@@ -37,7 +37,7 @@
 use Getopt::Long;
 use Pod::Usage;
 
-my $VERSION = "20201218";
+my $VERSION = "20210401";
 
 parse_commandline();
 
@@ -398,7 +398,7 @@
 
 =head1 COPYRIGHT
 
-Copyright (C) 2005-2020 Marc Penninga.
+Copyright (C) 2005-2021 Marc Penninga.
 
 
 =head1 LICENSE
@@ -421,7 +421,7 @@
 
 =head1 VERSION
 
-This document describes B<afm2afm> version 20201218.
+This document describes B<afm2afm> version 20210401.
 
 
 =head1 RECENT CHANGES

Modified: trunk/Master/texmf-dist/scripts/fontools/autoinst
===================================================================
--- trunk/Master/texmf-dist/scripts/fontools/autoinst	2021-04-05 01:25:20 UTC (rev 58746)
+++ trunk/Master/texmf-dist/scripts/fontools/autoinst	2021-04-05 01:27:54 UTC (rev 58747)
@@ -4,7 +4,7 @@
 
 ----------------------------------------------------------------------------
 
-    Copyright (C) 2005-2020 Marc Penninga.
+    Copyright (C) 2005-2021 Marc Penninga.
 
     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
@@ -34,6 +34,7 @@
 use warnings;
 
 use Cwd ();
+use File::Basename ();
 use File::Path ();
 use File::Spec ();
 use Getopt::Long ();
@@ -40,7 +41,7 @@
 use Pod::Usage ();
 use POSIX ();
 
-my $VERSION = '20201218';
+my $VERSION = '20210401';
 
 my ($d, $m, $y) = (localtime time)[3 .. 5];
 my $TODAY = sprintf "%04d/%02d/%02d", $y + 1900, $m + 1, $d;
@@ -641,15 +642,14 @@
     $data->{family}    =~ s/(\d)/$DIGITS[$1]/xmsge;
     $data->{family}    =~ s/[^A-Za-z]+//xmsg;
 
-    if ($data->{family} =~ m/\A DTL/xms) {
-        $data->{family}    =~ s/\A DTL//xms;
-        $data->{subfamily} =~ s/\A (?: ST | T)//xms;
+    if ($data->{family} =~ s/\A DTL//xms) {
+        $data->{subfamily} =~ s/\A (?: ST | T | SD | D)//xms;
     }
 
     # remove Adobe's SmallText size, to avoid mistaking it for Text weight
-    $data->{family}    =~ s/(?: SmallText | SmText )\z//xmsi;
-    $data->{subfamily} =~ s/(?: SmallText | SmText )\z//xmsi;
-    $data->{fullname}  =~ s/(?: SmallText | SmText )\z//xmsi;
+    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
@@ -2272,7 +2272,7 @@
 
     return join q( ), 'otftotfm',
                       '--automatic',
-                      "--encoding=$workitem->{enc_file}",
+                      "--encoding='$workitem->{enc_file}'",
                       $targetdirs,
                       '--no-updmap',
                       '--force',
@@ -2676,12 +2676,11 @@
 
     # All specified encodings should either be built-in,
     # or have an accompanying .enc file in the current directory.
-    $ARGV{encoding} =~ s/\s+//xmsg;
     my @encodings = split /,/, $ARGV{encoding};
     for my $enc (@encodings) {
         if ($enc !~ m/\A(OT1|T1|TS1|LY1|LGR|T2[ABC]|T3|TS3)\z/xmsi) {
             my $try = $enc;
-            $try .= '.enc' if $try !~ m/[.]enc\z/xms;
+            $try .= '.enc' if $try !~ m/[.]enc\z/xmsi;
             if (!-e $try) {
                 die "[ERROR]     No .enc file found for '$enc'";
             }
@@ -3052,9 +3051,11 @@
     # in the current directory, or to the name of one of our standard
     # encodings.  In the latter case, we add the 'fontools_' prefix.
     my $try = $workitem->{encoding};
-    $try .= '.enc' if $try !~ m/[.]enc\z/xms;
+    $try .= '.enc' if $try !~ m/[.]enc\z/xmsi;
     if (-e $try) {
         $workitem->{enc_file} = $try;
+        $workitem->{encoding}
+            = File::Basename::basename($try, '.enc', '.ENC');
     }
     else {
         ($workitem->{enc_file} = $workitem->{encoding})
@@ -3256,7 +3257,7 @@
 they need many, often long, command lines
 and don't generate the F<fd> and F<sty> files LaTeX needs.
 B<autoinst> simplifies the use of the I<TypeTools> for font installation
-by generating and executing all commands for I<otftotfm>
+by generating and executing all commands for I<otftotfm>,
 and by creating and installing all necessary F<fd> and F<sty> files.
 
 Given a family of font files (in F<otf> or F<ttf> format),
@@ -3298,7 +3299,7 @@
 
 =item I<nw>
 
-`Upright swash'
+"Upright swash"
 
 =back
 
@@ -3316,16 +3317,16 @@
 
 =item -
 
-Families with `Titling' characters;
-these `... replace the default glyphs
+Families with "Titling" characters;
+these "... replace the default glyphs
 with corresponding forms designed specifically for titling.
 These may be all-capital and/or larger on the body,
-and adjusted for viewing at larger sizes'
+and adjusted for viewing at larger sizes"
 (according to the OpenType Specification).
 
 =item -
 
-An ornament family, also in roman, italic and slanted shapes.
+An ornament family; also in roman, italic and slanted shapes.
 
 =back
 
@@ -3384,20 +3385,20 @@
 
 The individual fonts are named I<< <FontName>-<suffix>-<shape>-<enc> >>,
 where I<< <suffix> >> is the same as above (but in lowercase),
-I<< <shape> >> is either empty, `sc' or `swash',
+I<< <shape> >> is either empty, "sc" or "swash",
 and I<< <enc> >> is the encoding (also in lowercase).
-A typical name in this scheme would be `FiraSans-Light-osf-sc-ly1'.
+A typical name in this scheme would be I<FiraSans-Light-osf-sc-ly1>.
 
 
 =head2 Using the fonts in your LaTeX documents
 
 B<autoinst> generates a style file for using the fonts in LaTeX documents,
-named F<< <FontFamily>.sty >>. This style file also takes care of loading
-the F<fontenc> and F<textcomp> packages.
+named F<< <FontFamily>.sty >>. This style file also loads the F<fontenc>
+and F<textcomp> packages, if necessary.
 To use the fonts, add the command C<<< \usepackage{I<< <FontFamily> >>} >>>
 to the preamble of your document.
 
-This style file defines a number of options:
+This style file has a few options:
 
 =over 4
 
@@ -3413,7 +3414,7 @@
 =item C<lining>, C<oldstyle>, C<tabular>, C<proportional>
 
 Choose which figure style to use.
-The defaults are `oldstyle' and `proportional' (if available).
+The defaults are "oldstyle" and "proportional" (if available).
 
 =item C<<< scale=I<< <number> >> >>>, C<scale=MatchLowercase>
 
@@ -3421,18 +3422,18 @@
 E.g., to increase the size of the font by 5%, use
 C<<< \usepackage[scale=1.05]{I<< <FontFamily> >>} >>>.
 The special value C<MatchLowercase> may be used to scale the font
-so that its x-height matches that of the previously active font
-(which is usually Computer Modern, unless you have loaded another
-font package before this one).
+so that its x-height matches that of the current main font
+(which is usually Computer Modern Roman, unless you have loaded
+another font package before this one).
 The name C<scaled> may be used as a synonym for C<scale>.
 
 =item C<medium>, C<book>, C<text>, C<normal>, C<regular>
 
-Select the weight that LaTeX will use as the `regular' weight.
+Select the weight that LaTeX will use as the "regular" weight.
 
 =item C<heavy>, C<black>, C<extrabold>, C<demibold>, C<semibold>, C<bold>
 
-Select the weight that LaTeX will use as the `bold' weight.
+Select the weight that LaTeX will use as the "bold" weight.
 
 =back
 
@@ -3439,7 +3440,7 @@
 The last two groups of options will only work if
 you have the F<mweights> package installed.
 The default here is not to change LaTeX's default,
-i.e. use the `m' and `b' weights.
+i.e. use the "m" and "b" weights.
 
 The style file will also try to load the F<fontaxes> package
 (on CTAN), which gives easy access to various font shapes and styles.
@@ -3457,9 +3458,9 @@
     \inffigures     \textinferior   \textinf, \textin
 
 
-In addition, the C<\swshape> and C<\textsw> commands are redefined to place
-swash on F<fontaxes>' secondary shape axis (F<fontaxes> places it on the
-primary shape axis) to make them behave properly when nested, so that
+In addition, the existing C<\swshape> and C<\textsw> commands are redefined
+to place swash on F<fontaxes>' secondary shape axis (F<fontaxes> places it
+on the primary shape axis) to make them behave properly when nested, so that
 C<\swshape\upshape> will give upright swash.
 
 There are no commands for accessing the numerator and denominator
@@ -3467,8 +3468,8 @@
 e.g., C<\fontfigurestyle{numerator}\selectfont>.
 
 These commands are only generated for existing shapes and number styles;
-no commands are generated for shapes and styles that don't exist,
-or whose generation was turned off by the user.
+no commands are generated for shapes and styles that are missing from
+your fonts.
 Also these commands are built on top of F<fontaxes>, so if that package
 cannot be found, you're limited to using the lower-level commands from
 standard NFSS (C<\fontfamily>, C<\fontseries>, C<\fontshape> etc.).
@@ -3499,13 +3500,13 @@
 =item C<mathlining>, C<matholdstyle>
 
 Choose which figure style to use in maths.
-The default is `mathlining'.
+The default is "mathlining".
 
 =item C<mathcal>
 
 Use the swash characters from your fonts as the C<\mathcal> alphabet.
-(This option only exists if your fonts actually contain swash characters
-and a C<swsh> feature to access them).
+(This option will only exist if your fonts actually contain swash characters,
+plus a C<swsh> feature to access them).
 
 =item C<nomathgreek>
 
@@ -3513,7 +3514,7 @@
 
 =item C<<< math-style=I<< <style> >> >>>
 
-Choose the `math style' to use.
+Choose the "math style" to use.
 With C<math-style=ISO>, all latin and greek letters in math are italic;
 with C<math-style=TeX> (the default), uppercase greek is upright;
 with C<math-style=french>, all greek as well as uppercase latin is upright;
@@ -3521,7 +3522,7 @@
 
 =back
 
-Note that this `math' option only changes digits, latin and greek letters,
+Note that this C<math> option only affects digits, latin and greek letters,
 plus a few basic punctuation characters; all other mathematical symbols,
 operators, delimiters etc. are left as they were before.
 If you don't want to use TeX's default versions of those symbols,
@@ -3551,14 +3552,14 @@
 B<autoinst> parses the font's metadata to determine these parameters.
 When this fails (usually because the font family contains uncommon weights,
 widths or shapes),
-B<autoinst> ends up with different fonts having the I<same> values
+B<autoinst> ends up with multiple fonts having the same values
 for these font parameters; such fonts cannot be used in NFSS,
 since there's no way distinguish them.
 When B<autoinst> detects such a situation, it will print an error message
 and abort.
 If that happens, either rerun B<autoinst> on a smaller set of fonts,
-or add the missing widths, weights and shapes to the tables C<WIDTH>,
-C<WEIGHT> and C<SHAPE> in the source code.
+or add the missing widths, weights and shapes to the tables C<@WIDTH>,
+C<@WEIGHT> and C<%SHAPE> in the source code.
 Please also send a bug report (see L<AUTHOR> below).
 
 The mapping of shapes to NFSS codes is done using the following table:
@@ -3570,7 +3571,7 @@
     Oblique, Slant(ed), Incline(d)      sl
 
 (I<Exception:> Adobe Silentium Pro contains two Roman shapes;
-we map the first of these to `n', for the second one we (ab)use the `it' code
+we map the first of these to C<n>, for the second one we (ab)use the C<it> code
 as this family doesn't contain an Italic shape.)
 
 For weights and widths, B<autoinst> tries to the standard NFSS codes
@@ -3580,19 +3581,18 @@
 Of course, not all 81 combinations of these NFSS weights and widths will map
 to existing fonts;
 and conversely it may not be possible to assign every existing font
-a unique code in a sane way (especially for the weights, some font families
-offer more choices or finer granularity than NFSS's codes can handle;
-e.g., Fira Sans contains fifteen(!) different weights,
-including an additional `Medium' weight between Regular and Semibold).
-Therefore every font is also assigned a `series' name that is simply
-the concatenation of its weight and width
-(after expanding any abbreviations and converting to lowercase).
-A font with `Cond' width and `Ultra' weight will then be known
-as `ultrablackcondensed'.
+a unique code in a sane way (especially for the weights,
+some font families offer more variants than NFSS's codes can handle;
+e.g., Fira Sans contains fifteen different weights!).
+Therefore every font is also assigned a "series" name that is
+the concatenation of its weight and width,
+after expanding any abbreviations and converting to lowercase.
+A font of "Cond" width and "Ultra" weight will then be known
+as "ultrablackcondensed".
 
 The exact mapping between fonts and NFSS codes can be found
 in the generated F<fd> files and in the log file
-(pro tip: run B<autoinst> with the I<-dryrun> option
+(you may want to run B<autoinst> with the I<-dryrun> option
 to check the chosen mapping beforehand).
 The I<-nfssweight> and I<-nfsswidth> command-line options can be used
 to finetune the mapping between NFSS codes and fonts.
@@ -3605,7 +3605,7 @@
 =head2 Ornaments
 
 Ornament fonts are regular LY1-encoded fonts, with a number of
-`regular' characters replaced by ornament glyphs.
+"regular" characters replaced by ornament glyphs.
 The OpenType specification says that fonts should only put their
 ornaments in place of the lowercase ASCII letters, but some fonts
 put them in other positions (such as those of the digits) as well.
@@ -3634,8 +3634,9 @@
 do not allow distributing such converted versions under their original name.
 
 To meet these licensing requirements, B<autoinst> provides
-a C<-t1suffix> command-line option that appends
-a (user-defined) suffix to the names (both filename and internal font name)
+a I<-t1suffix> 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 OPTIONS> below.
 
 
@@ -3644,9 +3645,9 @@
 Automatically installing the fonts into a suitable TEXMF tree
 (as B<autoinst> tries to do by default) only works for TeX-installations
 that use the F<kpathsea> library; with TeX distributions that implement
-their own directory searching (such as MiKTeX), B<autoinst> will complain
+their own directory searching, such as MiKTeX, B<autoinst> will complain
 that it cannot find the F<kpsewhich> program and move all generated files
-into a subdirectory C<./autoinst_output/> of the current directory.
+into a subdirectory C<autoinst_output/> of the current directory.
 If you use such a TeX distribution, you should either move these files
 to their correct destinations by hand, or use the I<-target> option
 (see L</COMMAND-LINE OPTIONS> below) to manually specify a TEXMF tree.
@@ -3668,7 +3669,7 @@
 To remedy this, either run B<autoinst> as root (so that it can install
 everything into $TEXMFLOCAL) or manually run C<updmap -user> to tell
 TeX about the files in $TEXMFHOME.
-The latter option does, however, have some caveats;
+This latter option does, however, come with some caveats;
 see F<https://tug.org/texlive/scripts-sys-user.html>.
 
 
@@ -3696,7 +3697,7 @@
 =item B<-dryrun>
 
 Don't generate output; just parse input fonts and write
-a log file saying what B<autoinst> would have done.
+the results to the log file.
 
 =item B<-verbose>
 
@@ -3717,15 +3718,16 @@
 
 Generate the specified encoding(s) for the text fonts.
 Multiple encodings may be specified as a comma-separated list
-(without spaces!); the default choice of encodings is `OT1,LY1,T1'.
+(without spaces!); the default choice of encodings is C<OT1,LY1,T1>.
 
-For each specified encoding XYZ, B<autoinst> will first see if there is
-an encoding file F<XYZ.enc> in the current directory, and if found it will
-use that; otherwise it will use one of its built-in encoding files.
-Currently B<autoinst> comes with support for the OT1, T1/TS1, LY1, LGR,
+For each encoding argument, B<autoinst> will first check if it is
+the filename of an encoding file, and if found it will use that;
+otherwise the argument is assumed to be the name of one of
+the built-in encodings.
+Currently B<autoinst> comes with built-in support for the OT1, T1/TS1, LY1, LGR,
 T2A/B/C and T3/TS3 encodings.
 (These files are called F<fontools_ot1.enc> etc. to avoid name clashes
-with other packages; the `fontools_' prefix may be omitted.)
+with other packages; the F<fontools_> prefix may be omitted.)
 
 =item B<-ts1>/B<-nots1>
 
@@ -3771,17 +3773,17 @@
 Control the creation of fonts with superior characters.
 The default is B<-superiors>.
 
+=item B<-inferiors> [ = B<none> | B<auto> | B<subs> | B<sinf> | B<dnom> ]
+
 =item B<-noinferiors>
 
-=item B<-inferiors> [ = B<none> | B<auto> | B<subs> | B<sinf> | B<dnom> ]
-
 The OpenType standard defines several kinds of digits that might be used
-as inferiors or subscripts: `Subscripts' (OpenType feature `subs'),
-`Scientific Inferiors' ('sinf'), and `Denominators' ('dnom').
+as inferiors or subscripts: "Subscripts" (OpenType feature C<subs>),
+"Scientific Inferiors" (C<sinf>), and "Denominators" (C<dnom>).
 This option allows the user to determine which of these styles B<autoinst>
 should use for the inferior characters.
-Alternatively, the value `auto' tells B<autoinst> to use the first value
-in `sinf', `subs' or `dnom' that is supported by the font.
+Alternatively, the value "auto" tells B<autoinst> to use the first value
+in C<sinf>, C<subs> or C<dnom> that is supported by the font.
 Saying just B<-inferiors> is equivalent to B<-inferiors=auto>;
 otherwise the default is B<-noinferiors>.
 
@@ -3796,14 +3798,14 @@
 
 =item B<-ligatures>/B<-noligatures>
 
-Some fonts create glyphs for the standard f-ligatures (ff, fi, fl, ffi, ffl),
-but don't provide a `liga' feature to access these.
+Some fonts contain glyphs for the standard f-ligatures (ff, fi, fl, ffi, ffl),
+but don't provide a C<liga> feature to access these.
 This option tells B<autoinst> to add extra C<LIGKERN> rules to
 the generated fonts to enable the use of these ligatures.
 The default is B<-ligatures>, except for typewriter fonts.
 
 Specify B<-noligatures> to disable generation of ligatures even for fonts
-that do contain a `liga' feature.
+that do contain a C<liga> feature.
 
 =item B<-ornaments>/B<-noornaments>
 
@@ -3824,10 +3826,10 @@
 if you want typewriter text to be hyphenated, use the F<hyphenat> package.
 
 If none of these options is specified, B<autoinst> tries to guess:
-if the font's filename contains the string `mono'
-or if the field C<isFixedPitch> in the font's I<post> table is True,
+if the font's filename contains the string "mono"
+or if the field C<isFixedPitch> in the font's C<post> table is True,
 it will select B<-typewriter>;
-else if the filename contains `sans' it will select B<-sanserif>;
+else if the filename contains "sans" it will select B<-sanserif>;
 otherwise it will opt for B<-serif>.
 
 =item B<-math>
@@ -3853,11 +3855,11 @@
 Tell B<autoinst> to modify the font names of all generated Type1-fonts,
 by adding I<SUFFIX> to the family name.
 If you use this option without specifying a I<SUFFIX> value,
-B<autoinst> will use the value ``PS''.
+B<autoinst> will use the value "PS".
 The default behaviour when this option is not given
 is to not modify font names at all.
 
-See also L</OpenType fonts and licensing issues> above.
+See also L</OpenType fonts and licensing issues> in L<WARNINGS AND CAVEATS> above.
 
 =item B<-target>=I<DIRECTORY>
 
@@ -3868,7 +3870,7 @@
 If B<autoinst> cannot find such a user-writable directory
 (which shouldn't happen, since $TEXMFHOME is supposed to be user-writable)
 it will print a warning message and put all files into the subdirectory
-C<./autoinst_output/> of the current directory.
+C<autoinst_output/> of the current directory.
 It's then up to the user to move the generated files to a better location
 and update all relevant databases
 (usually by calling F<texhash> and F<updmap>).
@@ -3878,9 +3880,9 @@
 =item B<-typeface>=I<TYPEFACE>
 
 These options are equivalent to F<otftotfm>'s I< --vendor> and I< --typeface>
-options: they change the `vendor' and `typeface' parts of the names of the
+options: they change the "vendor" and "typeface" parts of the names of the
 subdirectories in the TEXMF tree where generated files will be stored.
-The default values are `lcdftools' and the font's FontFamily name.
+The default values are "lcdftools" and the font's FontFamily name.
 These options change I<only> directory names,
 not the names of any generated files.
 
@@ -3918,16 +3920,16 @@
 overriding the built-in tables.
 Each of these options may be given multiple times,
 to override more than one NFSS code.
-Example: to map the `ul' code to the `Thin' weight,
+Example: to map the C<ul> code to the "Thin" weight,
 use C<-nfssweight=ul=thin>.
-To inhibit the use of the `ul' code completely,
+To inhibit the use of the C<ul> code completely,
 use C<-nfssweight=ul=>.
 
-=item B<-extra>=I<extra>
+=item B<-extra>=I<extra options>
 
-Append I<extra> as extra options to the command lines for I<otftotfm>.
-To prevent I<extra> from accidentily being interpreted as options
-to B<autoinst>, it should be properly quoted.
+Pass I<extra options> to the commands for I<otftotfm>.
+To prevent I<extra options> from accidentily being interpreted as
+options to B<autoinst>, they should be properly quoted.
 
 =item B<-nofigurekern>
 
@@ -3937,7 +3939,8 @@
 This option adds extra I< --ligkern> options
 to the commands for I<otftotfm> to suppress such kerns.
 Note that this option leads to very long commands (it adds
-one hundred I< --ligkern> options), which may cause problems on some systems.
+one hundred I< --ligkern> options), which may cause problems on some systems;
+hence it is not active by default.
 
 =back
 
@@ -3974,7 +3977,7 @@
 
 =head1 COPYRIGHT
 
-Copyright (C) 2005-2020 Marc Penninga.
+Copyright (C) 2005-2021 Marc Penninga.
 
 
 =head1 LICENSE
@@ -3997,7 +4000,7 @@
 
 =head1 VERSION
 
-This document describes B<autoinst> version 20201218.
+This document describes B<autoinst> version 20210401.
 
 
 =head1 RECENT CHANGES
@@ -4006,6 +4009,12 @@
 
 =over 12
 
+=item I<2021-04-01>
+
+The I<-encoding> option now also accepts filenames of encoding files
+in directories other than the current directory.
+Directory names containing spaces do (or at least should) also work.
+
 =item I<2020-12-18>
 
 Fixed a problem with files not being found on Windows.
@@ -4020,7 +4029,7 @@
 to improve compatibility with the F<microtype> package.
 Made sure that F<pfb> fonts are always generated whenever
 the input fonts are in F<otf> format.
-Added the C<-t1suffix> command-line option,
+Added the I<-t1suffix> command-line option,
 to modify the font and file names of those generated Type1 fonts.
 
 =item I<2020-06-19>
@@ -4034,7 +4043,7 @@
 Added basic (and still somewhat experimental) math support.
 Implemented the C<scale=MatchLowercase> option value
 in the generated style files.
-`Wide' fonts are mapped to the `sx' NFSS code instead of `x',
+"Wide" fonts are mapped to the C<sx> NFSS code instead of C<x>,
 to cater for League Mono Variable's Wide and Extended widths.
 The generated style files now use C<\textsup> and C<\textinf>
 instead of the more cryptic C<\textsu> and C<\textin> to access
@@ -4147,13 +4156,13 @@
 =item I<2019-05-17>
 
 Changed the way the F<-ligatures> option works:
-F<-ligatures> enables f-ligatures (even without a `liga' feature),
-F<-noligatures> now disables f-ligatures (overriding a `liga' feature).
+F<-ligatures> enables f-ligatures (even without a C<liga> feature),
+F<-noligatures> now disables f-ligatures (overriding a C<liga> feature).
 
 =item I<2019-05-11>
 
 Separate small caps families are now also recognised when the family name
-ends with `SC' (previously B<autoinst> only looked for `SmallCaps').
+ends with "SC" (previously B<autoinst> only looked for "SmallCaps").
 
 =item I<2019-04-22>
 
@@ -4168,7 +4177,7 @@
 Added the <-mergesmallcaps> option, to handle cases where
 the small caps fonts are in separate font families.
 Titling shape is now treated as a separate family instead of a distinct shape;
-it is generated only for fonts with the `titl' feature.
+it is generated only for fonts with the C<titl> feature.
 Only add f-ligatures to fonts when explicitly asked to (I<-ligatures>).
 
 =item I<2019-04-11>
@@ -4190,7 +4199,7 @@
 put all generated files into a subdirectory C<./autoinst_output/>
 instead of all over the current working directory.
 
-Added `auto' value to the I<inferiors> option,
+Added "auto" value to the I<inferiors> option,
 to tell B<autoinst> to use whatever inferior characters are available.
 
 =item I<2019-03-14>
@@ -4198,9 +4207,9 @@
 Overhauled the mapping of fonts (more specifically of weights and widths;
 the mapping of shapes didn't change) to NFSS codes.
 Instead of inventing our own codes to deal with every possible weight
-and width out there, we now create `long' codes based on the names
+and width out there, we now create "long" codes based on the names
 in the font metadata.
-Then we add `ssub' rules to the F<fd> files to map the standard NFSS codes
+Then we add C<ssub> rules to the F<fd> files to map the standard NFSS codes
 to our fancy names (see the section B<NFSS codes>;
 based on discussions with Frank Mittelbach and Bob Tennent).
 
@@ -4214,26 +4223,26 @@
 
 =item I<2018-03-26>
 
-Added the `Text' weight and the I<-(no)mergewidths> option.
-Changed the NFSS codes for `Thin' and `Book' to `i' and `o', respectively.
+Added the "Text" weight and the I<-(no)mergewidths> option.
+Changed the NFSS codes for "Thin" and "Book" to C<i> and C<o>, respectively.
 Tried to improve the documentation.
 
 =item I<2018-01-09>
 
-Added the `sl' weight for font families (such as Fira Sans) that contain both
-`Book' and `Regular' weights (reported by Bob Tennent).
-Added the `Two', `Four', `Eight' and `Hair' weights (for Fira Sans).
+Added the C<sl> weight for font families (such as Fira Sans) that contain both
+"Book" and "Regular" weights (reported by Bob Tennent).
+Added the "Two", "Four", "Eight" and "Hair" weights (for Fira Sans).
 
 =item I<2017-06-16>
 
 Changed the I<-inferiors> option from a binary yes-or-no choice to allow
-the user to choose one of the `subs', `sinf' and `dnom' features.
+the user to choose one of the C<subs>, C<sinf> and C<dnom> features.
 B<autoinst> now always creates a log file.
 
 =item I<2017-03-21>
 
-Updated the F<fontools_ot1.enc> encoding file to include the `Lslash'
-and `lslash' glyphs (thanks to Bob Tennent).
+Updated the F<fontools_ot1.enc> encoding file to include the "Lslash"
+and "lslash" glyphs (thanks to Bob Tennent).
 
 =item I<2015-11-22>
 
@@ -4249,8 +4258,8 @@
 
 =item I<2014-01-21>
 
-`Oblique' or `slanted' fonts are now mapped to NFSS code `sl' instead
-of `it'; added `ssub' rules to the F<fd> files to substitute slanted fonts
+"Oblique" or "slanted" fonts are now mapped to NFSS code C<sl> instead
+of C<it>; added C<ssub> rules to the F<fd> files to substitute slanted fonts
 for italic ones if the latter are missing. Fixed a few bugs.
 
 =item I<2014-01-03>
@@ -4279,16 +4288,16 @@
 =item I<2013-02-06>
 
 Bugfix: the directory names for map and encoding files contained
-the `vendor' instead of the `typeface'.
+the "vendor" instead of the "typeface".
 
 =item I<2013-01-03>
 
-Added extra `ssub' rules to the F<fd> files that substitute `b' for `bx'.
+Added extra C<ssub> rules to the F<fd> files that substitute C<b> for C<bx>.
 Verbose mode now also prints all generated commands before they're executed.
 
 =item I<2012-10-25>
 
-Added extra `ssub' rules to the F<fd> files that substitute italic
+Added extra C<ssub> rules to the F<fd> files that substitute italic
 shapes for slanted ones.
 
 =item I<2012-09-25>
@@ -4301,7 +4310,7 @@
 
 =item I<2012-03-06>
 
-Implemented the `splitting the font family into multiple subfamilies'
+Implemented the "splitting the font family into multiple subfamilies"
 emergency strategy when font info parsing fails.
 Added recognition for a number of unusual widths, weights and shapes.
 
@@ -4309,8 +4318,8 @@
 
 Fixed a bug in the font parsing code,
 where possible widths, weights and shapes where tested in the wrong order;
-this led to `ExtraLight' fonts being recognised as `Light'.
-Added recognition for `Narrow' and `Wide' widths.
+this led to "ExtraLight" fonts being recognised as "Light".
+Added recognition for "Narrow" and "Wide" widths.
 Also added the I<-(no)figurekern> command-line option.
 
 =item I<2012-02-01>
@@ -4326,7 +4335,7 @@
 =item I<2011-06-15>
 
 Fixed the font info parsing code for some fonts that are
-too lazy to spell out `Italic' in full.
+too lazy to spell out "Italic" in full.
 
 =item I<2010-04-29>
 
@@ -4372,13 +4381,13 @@
 weight and width were mapped to the same series.
 Added a work-around for incorrect size info in some Kepler fonts.
 Fixed a small bug in the generated commands for otftotfm
-(sometimes, the `onum' feature was included twice).
+(sometimes, the C<onum> feature was included twice).
 Added encoding file for OT1 to the I<fontools> collection.
 
 =item I<2007-07-27>
 
 Two bugfixes: a closing brace was missing in the generated style file,
-and the NFSS series was formed as `width plus weight' instead of the reverse.
+and the NFSS series was formed as "width plus weight" instead of the reverse.
 
 =item I<2007-06-10>
 
@@ -4393,7 +4402,7 @@
 families (suggested by Steven E. Harris).
 Tweaked the font info parsing to work around a bug in the naming of
 some FontFont fonts, where every font is in a family of its own.
-Added the `scaled' option (including the loading of F<xkeyval>)
+Added the C<scaled> option (including the loading of F<xkeyval>)
 to the generated style file.
 Extended the output of the I<-verbose> option.
 
@@ -4414,7 +4423,7 @@
 
 =item I<2006-08-31>
 
-Made the generated style files try to include `fontaxes.sty';
+Made the generated style files try to include F<fontaxes.sty>;
 changed the names of the generated fonts and families
 (to make the previous change possible);
 added command-line options for most font styles and shapes;
@@ -4421,7 +4430,7 @@
 tweaked the filename parsing code for Cronos Pro and Gill Sans Pro;
 added runtime generation of encoding vectors for ornament fonts
 (because GaramondPremier's ornament names differ from other fonts);
-changed the NFSS-code for italic small caps and titling to `scit' and `tlit'
+changed the NFSS-code for italic small caps and titling to C<scit> and C<tlit>
 (to work with F<fontaxes>);
 and edited (and hopefully improved) the documentation.
 
@@ -4453,14 +4462,14 @@
 The generated commands weren't actually executed, only printed...
 Also added a small hack to cater for fonts
 (such as some recent versions of MinionPro)
-that contain swash characters but don't provide a `swsh' feature.
+that contain swash characters but don't provide a C<swsh> feature.
 
 =item I<2005-08-10>
 
-Dropped the `fontname' scheme in favor of a more verbose naming scheme,
+Dropped the "fontname" scheme in favor of a more verbose naming scheme,
 since many filenames were still more than eight characters long anyway.
 Added F<nfssext.sty>-like commands to the generated style file.
-Changed the default encoding to LY1 and added the `inferior' shape.
+Changed the default encoding to LY1 and added the "inferior" shape.
 
 =item I<2005-08-01>
 
@@ -4467,11 +4476,11 @@
 Rewrote (and hopefully improved) the user interface;
 changed the program to by default execute the generated F<otftotfm> command
 lines rather than writing them to a file;
-added automatic determination of the `fontname' code for the font family;
-changed the NFSS code for italic small caps to `si'; added titling shapes;
+added automatic determination of the "fontname" code for the font family;
+changed the NFSS code for italic small caps to C<si>; added titling shapes;
 changed the generated style
 file to include an interface for the ornaments and to load Lehman's NFSS
-extensions F<nfssext.sty> if this is installed; corrected the `fontname' codes
+extensions F<nfssext.sty> if this is installed; corrected the "fontname" codes
 for OT1, T1, LY1 and user-specific encodings; extended the output generated by
 the I<-verbose> option; and rewrote and extended the documentation.
 

Modified: trunk/Master/texmf-dist/scripts/fontools/ot2kpx
===================================================================
--- trunk/Master/texmf-dist/scripts/fontools/ot2kpx	2021-04-05 01:25:20 UTC (rev 58746)
+++ trunk/Master/texmf-dist/scripts/fontools/ot2kpx	2021-04-05 01:27:54 UTC (rev 58747)
@@ -4,7 +4,7 @@
 
 ----------------------------------------------------------------------------
 
-    Copyright (C) 2005-2020 Marc Penninga.
+    Copyright (C) 2005-2021 Marc Penninga.
 
     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
@@ -38,7 +38,7 @@
 use List::Util @List::Util::EXPORT_OK;
 use Pod::Usage;
 
-my $VERSION = "20201218";
+my $VERSION = "20210401";
 
 our ($NUM_GLYPHS, $UNITS_PER_EM, %kern);
 
@@ -835,7 +835,7 @@
 
 =head1 COPYRIGHT
 
-Copyright (C) 2005-2020 Marc Penninga.
+Copyright (C) 2005-2021 Marc Penninga.
 
 
 =head1 LICENSE
@@ -858,7 +858,7 @@
 
 =head1 VERSION
 
-This document describes B<ot2kpx> version 20201218.
+This document describes B<ot2kpx> version 20210401.
 
 
 =head1 RECENT CHANGES



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