summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-05-17 20:56:07 +0000
committerKarl Berry <karl@freefriends.org>2019-05-17 20:56:07 +0000
commit5d3cadfdc2be7609fb2af4a472870c838bafda75 (patch)
tree87f1eca2fcaedb49f8cffd6de87f135b4d99c686 /Build/source/texk
parent9151f6c6459e427eb24df065d9b806a1026a7a65 (diff)
fontools (17may19)
git-svn-id: svn://tug.org/texlive/trunk@51148 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/fontools/autoinst25
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/texlive/tlmgr.pl44
2 files changed, 58 insertions, 11 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/fontools/autoinst b/Build/source/texk/texlive/linked_scripts/fontools/autoinst
index 7abd34c9fdd..d01043cc8ee 100755
--- a/Build/source/texk/texlive/linked_scripts/fontools/autoinst
+++ b/Build/source/texk/texlive/linked_scripts/fontools/autoinst
@@ -868,6 +868,9 @@ my %SCHEME = (
sub make_cmdline {
my $item = shift;
+ if ( !$ARGV{ligatures} ) {
+ @{$item->{features}} = grep { $_ ne 'liga' } @{$item->{features}};
+ }
return join ' ', 'otftotfm',
($ARGV{manual} ? '--pl' : '--automatic'),
"--encoding=$item->{encoding}[0]",
@@ -1005,7 +1008,7 @@ END_USAGE
inferiors => 'none', # possible values: none, auto, subs, sinf, dnom
ornaments => '1', # 0 = no, 1 = yes
fractions => '0', # 0 = no, 1 = yes
- ligatures => '0', # 0 = no, 1 = yes
+ ligatures => '2', # 0 = no, 1 = yes, 2 = (nfss ne 'tt' ? yes : no)
nfss => 'rm',
fig_height => 'lnum',
fig_width => 'tnum',
@@ -1113,6 +1116,11 @@ sub parse_options {
delete $SHAPE{textcomp};
}
+ # If the user didn't explicitly say anything about ligatures,
+ # activate them unless the font is a typewriter font.
+ if ($ARGV{ligatures} == 2) {
+ $ARGV{ligatures} = $ARGV{nfss} ne 'tt' ? 1 : 0;
+ }
# Fix the %STYLE table to take 'default' figure styles into account.
$STYLE_DEFAULTS{$ARGV{fig_height}}();
$STYLE_DEFAULTS{$ARGV{fig_width}}();
@@ -2354,9 +2362,10 @@ Some fonts create glyphs for the standard f-ligatures (ff, fi, fl, ffi, ffl),
but don't provide a "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.
-Since this option is rarely necessary
-(most fonts with f-ligatures do provide the matching "liga" feature),
-the default is B<-noligatures>.
+The default is B<-ligatures>, unless the user specified the I<ligatures> option.
+
+Specify B<-noligatures> to disable the generation of ligatures even for fonts
+that do contain a "liga" feature.
=item B<-defaultlining> / B<-defaultoldstyle>
@@ -2534,6 +2543,12 @@ GNU General Public License for more details.
=over 12
+=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).
+
=item I<2019-05-11>
Separate small caps families are now also recognised when the family name
@@ -2553,7 +2568,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.
-Only add f-ligatures to fonts when explicitly asked to (<-fligatures>).
+Only add f-ligatures to fonts when explicitly asked to (I<-ligatures>).
=item I<2019-04-11>
diff --git a/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl b/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
index 82a96d4b020..f74f27cd55a 100755
--- a/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
+++ b/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
@@ -1,12 +1,12 @@
#!/usr/bin/env perl
-# $Id: tlmgr.pl 51076 2019-05-10 22:23:09Z karl $
+# $Id: tlmgr.pl 51141 2019-05-16 11:18:52Z preining $
#
# Copyright 2008-2019 Norbert Preining
# This file is licensed under the GNU General Public License version 2
# or any later version.
-my $svnrev = '$Revision: 51076 $';
-my $datrev = '$Date: 2019-05-11 00:23:09 +0200 (Sat, 11 May 2019) $';
+my $svnrev = '$Revision: 51141 $';
+my $datrev = '$Date: 2019-05-16 13:18:52 +0200 (Thu, 16 May 2019) $';
my $tlmgrrevision;
my $tlmgrversion;
my $prg;
@@ -4545,6 +4545,27 @@ sub action_repository {
$localtlpdb->save;
return ($F_OK);
}
+ if ($what eq "status") {
+ if (!defined($remotetlpdb)) {
+ init_tlmedia_or_die();
+ }
+ if (!$remotetlpdb->is_virtual) {
+ my $verstat = $remotetlpdb->verification_status;
+ print "main ", $remotetlpdb->location, " ",
+ ($::machinereadable ? "$verstat " : ""),
+ $VerificationStatusDescription{$verstat}, "\n";
+ return ($F_OK);
+ } else {
+ for my $t ($remotetlpdb->virtual_get_tags()) {
+ my $tlpdb = $remotetlpdb->virtual_get_tlpdb($t);
+ my $verstat = $tlpdb->verification_status;
+ print "$t ", $tlpdb->location, " ",
+ ($::machinereadable ? "$verstat " : ""),
+ $VerificationStatusDescription{$verstat}, "\n";
+ }
+ return($F_OK);
+ }
+ }
# we are still here, unknown command to repository
tlwarn("$prg: unknown subaction for tlmgr repository: $what\n");
return ($F_ERROR);
@@ -8606,6 +8627,8 @@ yourself if you are using this feature and want stale symlinks removed.
=item B<repository set I<path>[#I<tag>] [I<path>[#I<tag>] ...]>
+=item B<repository status>
+
This action manages the list of repositories. See L<MULTIPLE
REPOSITORIES> below for detailed explanations.
@@ -8620,8 +8643,17 @@ package the available platforms (if any) are listed, too.
The third form (C<add>) adds a repository
(optionally attaching a tag) to the list of repositories. The forth
form (C<remove>) removes a repository, either by full path/url, or by
-tag. The last form (C<set>) sets the list of repositories to the items
-given on the command line, not keeping previous settings
+tag. The fifth form (C<set>) sets the list of repositories to the items
+given on the command line, not keeping previous settings.
+
+The last form (C<status>) reports the verification status of the
+loaded repositories in the following format: One repository per line with
+4 fields separated with a single space: The tag (which can be the same
+as the URL), the URL, the verification code (a number), and the
+verbal description of the verification status (last field extending to
+the end of line). This format is valid under machine readable output,
+while in normal output the third field (numeric verification status)
+is not present.
In all cases, one of the repositories must be tagged as C<main>;
otherwise, all operations will fail!
@@ -9798,7 +9830,7 @@ This script and its documentation were written for the TeX Live
distribution (L<https://tug.org/texlive>) and both are licensed under the
GNU General Public License Version 2 or later.
-$Id: tlmgr.pl 51076 2019-05-10 22:23:09Z karl $
+$Id: tlmgr.pl 51141 2019-05-16 11:18:52Z preining $
=cut
# test HTML version: pod2html --cachedir=/tmp tlmgr.pl >/tmp/tlmgr.html