diff options
author | Karl Berry <karl@freefriends.org> | 2019-05-11 21:30:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-05-11 21:30:51 +0000 |
commit | 91fbd846a19a9fa95dc49d749ff382dee0610e4a (patch) | |
tree | aa210d6b55cdd5612ecc1159fdb382fd741a1831 /Master/texmf-dist/scripts/fontools/autoinst | |
parent | bf6e72221f852238d27b67e5d01c6c9401ea4e7f (diff) |
fontools (11may19)
git-svn-id: svn://tug.org/texlive/trunk@51089 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/fontools/autoinst')
-rwxr-xr-x | Master/texmf-dist/scripts/fontools/autoinst | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/fontools/autoinst b/Master/texmf-dist/scripts/fontools/autoinst index 5e5969dec6d..7abd34c9fdd 100755 --- a/Master/texmf-dist/scripts/fontools/autoinst +++ b/Master/texmf-dist/scripts/fontools/autoinst @@ -600,14 +600,14 @@ sub cleanup { = @{$item}{qw(font style shape encoding)}; # make unique copy of fontdata, since we're modifying it; - # otherwise, the mergesmallcaps only works for + # otherwise, the mergesmallcaps option only works for # the first encoding in the list my %font = %$font; $font = $item->{font} = \%font; # handle fonts that put small caps fonts into separate family if ($ARGV{mergesmallcaps}) { - if ($font->{family} =~ s/smallcaps$//xmsi) { + if ($font->{family} =~ s/(?: smallcaps | sc )$//xmsi) { $shape = $item->{shape} = 'smallcaps'; } } @@ -2534,6 +2534,11 @@ GNU General Public License for more details. =over 12 +=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"). + =item I<2019-04-22> Fixed a bug in the generation of swash shapes. |