diff options
Diffstat (limited to 'Master/texmf-dist/scripts/fontools')
-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. |