summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/fontools
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/fontools')
-rwxr-xr-xMaster/texmf-dist/scripts/fontools/autoinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/fontools/autoinst b/Master/texmf-dist/scripts/fontools/autoinst
index 71a3df31816..02eb3ef11c4 100755
--- a/Master/texmf-dist/scripts/fontools/autoinst
+++ b/Master/texmf-dist/scripts/fontools/autoinst
@@ -964,8 +964,11 @@ sub parse_basicinfo {
$data{subfamily} = $data{preferredsubfamily} || $data{subfamily};
$data{fullname} =~ s/\A$data{family}//xms;
$data{fullname} = lc $data{fullname};
+
+ # clean up family name (it's used in LaTeX command names)
$data{family} =~ s/\A(?: Adobe | ITC | LT | MT)//xms;
$data{family} =~ s/(\d)/$DIGITS[$1]/xmsge;
+ $data{family} =~ s/[^A-Za-z]+//xmsg;
my $fullinfo = lc "$data{subfamily} | $data{fullname}";
@@ -2154,6 +2157,10 @@ GNU General Public License for more details.
=over 12
+=item I<2015-11-22>
+
+Bugfix: Latex doesn't like command names with dashes in it.
+
=item I<2015-05-13>
Fixed an error message that mixed up width and weight.