summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/fontools
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-04-05 22:21:21 +0000
committerKarl Berry <karl@freefriends.org>2014-04-05 22:21:21 +0000
commit82b92c6c6aca6368ee7e1c70c5b5b7ded0547e21 (patch)
tree6f42ef95e4df600aad0eef3cb06986dde88fd6a2 /Master/texmf-dist/scripts/fontools
parent889cc991d0e679c1e62f170ac039f5333ba2e21b (diff)
fontools (5apr14)
git-svn-id: svn://tug.org/texlive/trunk@33380 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/fontools')
-rwxr-xr-xMaster/texmf-dist/scripts/fontools/autoinst14
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/texmf-dist/scripts/fontools/autoinst b/Master/texmf-dist/scripts/fontools/autoinst
index 5510ee8b31c..2e9ca6833f4 100755
--- a/Master/texmf-dist/scripts/fontools/autoinst
+++ b/Master/texmf-dist/scripts/fontools/autoinst
@@ -966,23 +966,25 @@ sub parse_basicinfo {
$data{fullname} = lc $data{fullname};
$data{family} =~ s/\A(?: Adobe | ITC | LT | MT)//xms;
$data{family} =~ s/(\d)/$DIGITS[$1]/xmsge;
-
+
+ my $fullinfo = lc "$data{subfamily} | $data{fullname}";
+
for my $width (mqrs(keys %FD_WIDTH)) {
- if ($data{fullname} =~ s/${width}//xmsi) {
+ if ($fullinfo =~ s/${width}//xmsi) {
$info->{width} = $width;
last;
}
}
for my $weight (mqrs(keys %FD_WEIGHT)) {
- if ($data{fullname} =~ s/${weight}//xmsi) {
+ if ($fullinfo =~ s/${weight}//xmsi) {
$info->{weight} = $weight;
last;
}
}
for my $shape (mqrs(keys %FD_SHAPE)) {
- if ($data{fullname} =~ s/${shape}//xmsi) {
+ if ($fullinfo =~ s/${shape}//xmsi) {
$info->{shape} = $shape;
last;
}
@@ -2152,6 +2154,10 @@ GNU General Public License for more details.
=over 12
+=item I<2014-04-04>
+
+Fixed a bug in the font info parsing code.
+
=item I<2014-01-21>
"Oblique" or "slanted" fonts are now mapped to NFSS code "sl" instead