summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-09-15 20:54:12 +0000
committerKarl Berry <karl@freefriends.org>2023-09-15 20:54:12 +0000
commitb619241062c425e4771cc971507b9f77036e5ef6 (patch)
treea880e47b7fab13610ccb66f47bbbd7c4d4c39c31
parent40abcd69a8ddd53177f6286a576173d0a4ee7f5e (diff)
fontools (15sep23)
git-svn-id: svn://tug.org/texlive/trunk@68285 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/fontools/afm2afm4
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/fontools/autoinst222
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/fontools/ot2kpx4
-rw-r--r--Master/texmf-dist/doc/man/man1/afm2afm.16
-rw-r--r--Master/texmf-dist/doc/man/man1/afm2afm.man1.pdfbin26801 -> 26983 bytes
-rw-r--r--Master/texmf-dist/doc/man/man1/autoinst.122
-rw-r--r--Master/texmf-dist/doc/man/man1/autoinst.man1.pdfbin72540 -> 73773 bytes
-rw-r--r--Master/texmf-dist/doc/man/man1/ot2kpx.16
-rw-r--r--Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdfbin27101 -> 27274 bytes
-rwxr-xr-xMaster/texmf-dist/doc/support/fontools/splitttc4
-rwxr-xr-xMaster/texmf-dist/scripts/fontools/afm2afm4
-rwxr-xr-xMaster/texmf-dist/scripts/fontools/autoinst222
-rwxr-xr-xMaster/texmf-dist/scripts/fontools/ot2kpx4
13 files changed, 376 insertions, 122 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/fontools/afm2afm b/Build/source/texk/texlive/linked_scripts/fontools/afm2afm
index 37ddbb679a4..164ac90cc3f 100755
--- a/Build/source/texk/texlive/linked_scripts/fontools/afm2afm
+++ b/Build/source/texk/texlive/linked_scripts/fontools/afm2afm
@@ -37,7 +37,7 @@ use File::Basename;
use Getopt::Long;
use Pod::Usage;
-my $VERSION = "20230201";
+my $VERSION = "20230914";
parse_commandline();
@@ -421,7 +421,7 @@ See the GNU General Public License for more details.
=head1 VERSION
-This document describes B<afm2afm> version 20230201.
+This document describes B<afm2afm> version 20230914.
=head1 RECENT CHANGES
diff --git a/Build/source/texk/texlive/linked_scripts/fontools/autoinst b/Build/source/texk/texlive/linked_scripts/fontools/autoinst
index 5f3a71c1df3..6c6f01169f9 100755
--- a/Build/source/texk/texlive/linked_scripts/fontools/autoinst
+++ b/Build/source/texk/texlive/linked_scripts/fontools/autoinst
@@ -41,7 +41,7 @@ use Getopt::Long ();
use Pod::Usage ();
use POSIX ();
-my $VERSION = '20230201';
+my $VERSION = '20230914';
my ($d, $m, $y) = (localtime time)[3 .. 5];
my $TODAY = sprintf "%04d/%02d/%02d", $y + 1900, $m + 1, $d;
@@ -658,12 +658,20 @@ END_ERR_METADATA_MISSING
$data->{subfamily} =~ s/\A (?: ST | T | SD | D)//xms;
}
+ # move Adobe's optical size from family to subfamily
+ for my $optical (qw(Caption SmText SmallText Subhead Display)) {
+ if ($data->{family} =~ s/$optical\z//xms) {
+ $data->{subfamily} .= $optical;
+ last;
+ }
+ }
+
# Sometimes the relevant info is in Fullname, sometimes in Subfamily;
# so we need to test against both
my $fullinfo = lc "$data->{subfamily} | $data->{fullname}";
# remove Adobe's SmallText size, to avoid mistaking it for Text weight
- $fullinfo =~ s/(?: SmallText | SmText )\z//xmsi;
+ $fullinfo =~ s/(?: SmallText | SmText )//gxmsi;
# We need to be careful when parsing the font info; in particular
# we must parse strings like 'UltraCondensed' as 'Regular' weight
@@ -940,6 +948,27 @@ sub _parse_sizedata {
&& $minsize == 8.9 && $maxsize == 13.9) {
($minsize, $maxsize) = (23, 72);
}
+ elsif ($self->{family} eq 'SourceSerifFour'
+ && $minsize == 0 && $maxsize == 0) {
+ if ($self->{subfamily} eq 'Caption') {
+ ($minsize, $maxsize) = (0, 6);
+ }
+ elsif ($self->{subfamily} eq 'SmText') {
+ ($minsize, $maxsize) = (6, 9);
+ }
+ elsif ($self->{subfamily} eq '') {
+ ($minsize, $maxsize) = (9, 13);
+ }
+ elsif ($self->{subfamily} eq 'Subhead') {
+ ($minsize, $maxsize) = (13, 24);
+ }
+ elsif ($self->{subfamily} eq 'Display') {
+ ($minsize, $maxsize) = (24, 72);
+ }
+ else {
+ die "[ERROR] Unknown subfamily '$self->{subfamily}' in $self->{filename}";
+ }
+ }
@{$self}{qw(minsize maxsize)} = ($minsize, $maxsize);
@@ -1573,47 +1602,89 @@ END_STYLE_REST
\\re\@DeclareMathAccent{\\ddot} {\\mathalpha}{newoperators}{"7F}
\\if$fam\@mathgreek
- \\re\@DeclareMathSymbol{\\Gamma} {\\mathalpha}{newoperators}{"00}
- \\re\@DeclareMathSymbol{\\Delta} {\\mathalpha}{newoperators}{"01}
- \\re\@DeclareMathSymbol{\\Theta} {\\mathalpha}{newoperators}{"02}
- \\re\@DeclareMathSymbol{\\Lambda} {\\mathalpha}{newoperators}{"03}
- \\re\@DeclareMathSymbol{\\Xi} {\\mathalpha}{newoperators}{"04}
- \\re\@DeclareMathSymbol{\\Pi} {\\mathalpha}{newoperators}{"05}
- \\re\@DeclareMathSymbol{\\Sigma} {\\mathalpha}{newoperators}{"06}
- \\re\@DeclareMathSymbol{\\Upsilon}{\\mathalpha}{newoperators}{"07}
- \\re\@DeclareMathSymbol{\\Phi} {\\mathalpha}{newoperators}{"08}
- \\re\@DeclareMathSymbol{\\Psi} {\\mathalpha}{newoperators}{"09}
- \\re\@DeclareMathSymbol{\\Omega} {\\mathalpha}{newoperators}{"0A}
-
- \\re\@DeclareMathSymbol{\\alpha} {\\mathord}{newletters}{"0B}
- \\re\@DeclareMathSymbol{\\beta} {\\mathord}{newletters}{"0C}
- \\re\@DeclareMathSymbol{\\gamma} {\\mathord}{newletters}{"0D}
- \\re\@DeclareMathSymbol{\\delta} {\\mathord}{newletters}{"0E}
- \\re\@DeclareMathSymbol{\\epsilon} {\\mathord}{newletters}{"0F}
- \\re\@DeclareMathSymbol{\\zeta} {\\mathord}{newletters}{"10}
- \\re\@DeclareMathSymbol{\\eta} {\\mathord}{newletters}{"11}
- \\re\@DeclareMathSymbol{\\theta} {\\mathord}{newletters}{"12}
- \\re\@DeclareMathSymbol{\\iota} {\\mathord}{newletters}{"13}
- \\re\@DeclareMathSymbol{\\kappa} {\\mathord}{newletters}{"14}
- \\re\@DeclareMathSymbol{\\lambda} {\\mathord}{newletters}{"15}
- \\re\@DeclareMathSymbol{\\mu} {\\mathord}{newletters}{"16}
- \\re\@DeclareMathSymbol{\\nu} {\\mathord}{newletters}{"17}
- \\re\@DeclareMathSymbol{\\xi} {\\mathord}{newletters}{"18}
- \\re\@DeclareMathSymbol{\\pi} {\\mathord}{newletters}{"19}
- \\re\@DeclareMathSymbol{\\rho} {\\mathord}{newletters}{"1A}
- \\re\@DeclareMathSymbol{\\sigma} {\\mathord}{newletters}{"1B}
- \\re\@DeclareMathSymbol{\\tau} {\\mathord}{newletters}{"1C}
- \\re\@DeclareMathSymbol{\\upsilon} {\\mathord}{newletters}{"1D}
- \\re\@DeclareMathSymbol{\\phi} {\\mathord}{newletters}{"1E}
- \\re\@DeclareMathSymbol{\\chi} {\\mathord}{newletters}{"1F}
- \\re\@DeclareMathSymbol{\\psi} {\\mathord}{newletters}{"20}
- \\re\@DeclareMathSymbol{\\omega} {\\mathord}{newletters}{"21}
- \\re\@DeclareMathSymbol{\\varepsilon}{\\mathord}{newletters}{"22}
- \\re\@DeclareMathSymbol{\\vartheta} {\\mathord}{newletters}{"23}
- \\re\@DeclareMathSymbol{\\varpi} {\\mathord}{newletters}{"24}
- \\re\@DeclareMathSymbol{\\varrho} {\\mathord}{newletters}{"25}
- \\re\@DeclareMathSymbol{\\varsigma} {\\mathord}{newletters}{"26}
- \\re\@DeclareMathSymbol{\\varphi} {\\mathord}{newletters}{"27}
+ \\re\@DeclareMathSymbol{\\Gamma} {\\mathalpha}{newoperators}{"00}
+ \\re\@DeclareMathSymbol{\\Delta} {\\mathalpha}{newoperators}{"01}
+ \\re\@DeclareMathSymbol{\\Theta} {\\mathalpha}{newoperators}{"02}
+ \\re\@DeclareMathSymbol{\\Lambda} {\\mathalpha}{newoperators}{"03}
+ \\re\@DeclareMathSymbol{\\Xi} {\\mathalpha}{newoperators}{"04}
+ \\re\@DeclareMathSymbol{\\Pi} {\\mathalpha}{newoperators}{"05}
+ \\re\@DeclareMathSymbol{\\Sigma} {\\mathalpha}{newoperators}{"06}
+ \\re\@DeclareMathSymbol{\\Upsilon} {\\mathalpha}{newoperators}{"07}
+ \\re\@DeclareMathSymbol{\\Phi} {\\mathalpha}{newoperators}{"08}
+ \\re\@DeclareMathSymbol{\\Psi} {\\mathalpha}{newoperators}{"09}
+ \\re\@DeclareMathSymbol{\\Omega} {\\mathalpha}{newoperators}{"0A}
+
+ \\re\@DeclareMathSymbol{\\upGamma} {\\mathalpha}{newoperators}{"00}
+ \\re\@DeclareMathSymbol{\\upDelta} {\\mathalpha}{newoperators}{"01}
+ \\re\@DeclareMathSymbol{\\upTheta} {\\mathalpha}{newoperators}{"02}
+ \\re\@DeclareMathSymbol{\\upLambda} {\\mathalpha}{newoperators}{"03}
+ \\re\@DeclareMathSymbol{\\upXi} {\\mathalpha}{newoperators}{"04}
+ \\re\@DeclareMathSymbol{\\upPi} {\\mathalpha}{newoperators}{"05}
+ \\re\@DeclareMathSymbol{\\upSigma} {\\mathalpha}{newoperators}{"06}
+ \\re\@DeclareMathSymbol{\\upUpsilon}{\\mathalpha}{newoperators}{"07}
+ \\re\@DeclareMathSymbol{\\upPhi} {\\mathalpha}{newoperators}{"08}
+ \\re\@DeclareMathSymbol{\\upPsi} {\\mathalpha}{newoperators}{"09}
+ \\re\@DeclareMathSymbol{\\upOmega} {\\mathalpha}{newoperators}{"0A}
+
+ \\re\@DeclareMathSymbol{\\alpha} {\\mathord}{newletters}{"0B}
+ \\re\@DeclareMathSymbol{\\beta} {\\mathord}{newletters}{"0C}
+ \\re\@DeclareMathSymbol{\\gamma} {\\mathord}{newletters}{"0D}
+ \\re\@DeclareMathSymbol{\\delta} {\\mathord}{newletters}{"0E}
+ \\re\@DeclareMathSymbol{\\epsilon} {\\mathord}{newletters}{"0F}
+ \\re\@DeclareMathSymbol{\\zeta} {\\mathord}{newletters}{"10}
+ \\re\@DeclareMathSymbol{\\eta} {\\mathord}{newletters}{"11}
+ \\re\@DeclareMathSymbol{\\theta} {\\mathord}{newletters}{"12}
+ \\re\@DeclareMathSymbol{\\iota} {\\mathord}{newletters}{"13}
+ \\re\@DeclareMathSymbol{\\kappa} {\\mathord}{newletters}{"14}
+ \\re\@DeclareMathSymbol{\\lambda} {\\mathord}{newletters}{"15}
+ \\re\@DeclareMathSymbol{\\mu} {\\mathord}{newletters}{"16}
+ \\re\@DeclareMathSymbol{\\nu} {\\mathord}{newletters}{"17}
+ \\re\@DeclareMathSymbol{\\xi} {\\mathord}{newletters}{"18}
+ \\re\@DeclareMathSymbol{\\pi} {\\mathord}{newletters}{"19}
+ \\re\@DeclareMathSymbol{\\rho} {\\mathord}{newletters}{"1A}
+ \\re\@DeclareMathSymbol{\\sigma} {\\mathord}{newletters}{"1B}
+ \\re\@DeclareMathSymbol{\\tau} {\\mathord}{newletters}{"1C}
+ \\re\@DeclareMathSymbol{\\upsilon} {\\mathord}{newletters}{"1D}
+ \\re\@DeclareMathSymbol{\\phi} {\\mathord}{newletters}{"1E}
+ \\re\@DeclareMathSymbol{\\chi} {\\mathord}{newletters}{"1F}
+ \\re\@DeclareMathSymbol{\\psi} {\\mathord}{newletters}{"20}
+ \\re\@DeclareMathSymbol{\\omega} {\\mathord}{newletters}{"21}
+ \\re\@DeclareMathSymbol{\\varepsilon} {\\mathord}{newletters}{"22}
+ \\re\@DeclareMathSymbol{\\vartheta} {\\mathord}{newletters}{"23}
+ \\re\@DeclareMathSymbol{\\varpi} {\\mathord}{newletters}{"24}
+ \\re\@DeclareMathSymbol{\\varrho} {\\mathord}{newletters}{"25}
+ \\re\@DeclareMathSymbol{\\varsigma} {\\mathord}{newletters}{"26}
+ \\re\@DeclareMathSymbol{\\varphi} {\\mathord}{newletters}{"27}
+
+ \\re\@DeclareMathSymbol{\\italpha} {\\mathord}{newletters}{"0B}
+ \\re\@DeclareMathSymbol{\\itbeta} {\\mathord}{newletters}{"0C}
+ \\re\@DeclareMathSymbol{\\itgamma} {\\mathord}{newletters}{"0D}
+ \\re\@DeclareMathSymbol{\\itdelta} {\\mathord}{newletters}{"0E}
+ \\re\@DeclareMathSymbol{\\itepsilon} {\\mathord}{newletters}{"0F}
+ \\re\@DeclareMathSymbol{\\itzeta} {\\mathord}{newletters}{"10}
+ \\re\@DeclareMathSymbol{\\iteta} {\\mathord}{newletters}{"11}
+ \\re\@DeclareMathSymbol{\\ittheta} {\\mathord}{newletters}{"12}
+ \\re\@DeclareMathSymbol{\\itiota} {\\mathord}{newletters}{"13}
+ \\re\@DeclareMathSymbol{\\itkappa} {\\mathord}{newletters}{"14}
+ \\re\@DeclareMathSymbol{\\itlambda} {\\mathord}{newletters}{"15}
+ \\re\@DeclareMathSymbol{\\itmu} {\\mathord}{newletters}{"16}
+ \\re\@DeclareMathSymbol{\\itnu} {\\mathord}{newletters}{"17}
+ \\re\@DeclareMathSymbol{\\itxi} {\\mathord}{newletters}{"18}
+ \\re\@DeclareMathSymbol{\\itpi} {\\mathord}{newletters}{"19}
+ \\re\@DeclareMathSymbol{\\itrho} {\\mathord}{newletters}{"1A}
+ \\re\@DeclareMathSymbol{\\itsigma} {\\mathord}{newletters}{"1B}
+ \\re\@DeclareMathSymbol{\\ittau} {\\mathord}{newletters}{"1C}
+ \\re\@DeclareMathSymbol{\\itupsilon} {\\mathord}{newletters}{"1D}
+ \\re\@DeclareMathSymbol{\\itphi} {\\mathord}{newletters}{"1E}
+ \\re\@DeclareMathSymbol{\\itchi} {\\mathord}{newletters}{"1F}
+ \\re\@DeclareMathSymbol{\\itpsi} {\\mathord}{newletters}{"20}
+ \\re\@DeclareMathSymbol{\\itomega} {\\mathord}{newletters}{"21}
+ \\re\@DeclareMathSymbol{\\itvarepsilon}{\\mathord}{newletters}{"22}
+ \\re\@DeclareMathSymbol{\\itvartheta} {\\mathord}{newletters}{"23}
+ \\re\@DeclareMathSymbol{\\itvarpi} {\\mathord}{newletters}{"24}
+ \\re\@DeclareMathSymbol{\\itvarrho} {\\mathord}{newletters}{"25}
+ \\re\@DeclareMathSymbol{\\itvarsigma} {\\mathord}{newletters}{"26}
+ \\re\@DeclareMathSymbol{\\itvarphi} {\\mathord}{newletters}{"27}
\\fi
\\if$fam\@mathLATINup
@@ -1695,11 +1766,21 @@ END_STYLE_REST
\\re\@DeclareMathSymbol{\\Psi} {\\mathalpha}{newletters}{"09}
\\re\@DeclareMathSymbol{\\Omega} {\\mathalpha}{newletters}{"0A}
\\fi
+ \\re\@DeclareMathSymbol{\\itGamma} {\\mathalpha}{newletters}{"00}
+ \\re\@DeclareMathSymbol{\\itDelta} {\\mathalpha}{newletters}{"01}
+ \\re\@DeclareMathSymbol{\\itTheta} {\\mathalpha}{newletters}{"02}
+ \\re\@DeclareMathSymbol{\\itLambda} {\\mathalpha}{newletters}{"03}
+ \\re\@DeclareMathSymbol{\\itXi} {\\mathalpha}{newletters}{"04}
+ \\re\@DeclareMathSymbol{\\itPi} {\\mathalpha}{newletters}{"05}
+ \\re\@DeclareMathSymbol{\\itSigma} {\\mathalpha}{newletters}{"06}
+ \\re\@DeclareMathSymbol{\\itUpsilon}{\\mathalpha}{newletters}{"07}
+ \\re\@DeclareMathSymbol{\\itPhi} {\\mathalpha}{newletters}{"08}
+ \\re\@DeclareMathSymbol{\\itPsi} {\\mathalpha}{newletters}{"09}
+ \\re\@DeclareMathSymbol{\\itOmega} {\\mathalpha}{newletters}{"0A}
+ \\DeclareSymbolFont{upletters} {OML}{$fam-\\$fam\@mathfigurealign\\$fam\@mathfigurestyle}{\\mdseries\@$ARGV{nfss}}{n}
+ \\SetSymbolFont{upletters}{bold}{OML}{$fam-\\$fam\@mathfigurealign\\$fam\@mathfigurestyle}{\\bfseries\@$ARGV{nfss}}{n}
\\if$fam\@mathgreekup
- \\DeclareSymbolFont{upletters} {OML}{$fam-\\$fam\@mathfigurealign\\$fam\@mathfigurestyle}{\\mdseries\@$ARGV{nfss}}{n}
- \\SetSymbolFont{upletters}{bold}{OML}{$fam-\\$fam\@mathfigurealign\\$fam\@mathfigurestyle}{\\bfseries\@$ARGV{nfss}}{n}
-
\\re\@DeclareMathSymbol{\\alpha} {\\mathord}{upletters}{"0B}
\\re\@DeclareMathSymbol{\\beta} {\\mathord}{upletters}{"0C}
\\re\@DeclareMathSymbol{\\gamma} {\\mathord}{upletters}{"0D}
@@ -1730,6 +1811,35 @@ END_STYLE_REST
\\re\@DeclareMathSymbol{\\varsigma} {\\mathord}{upletters}{"26}
\\re\@DeclareMathSymbol{\\varphi} {\\mathord}{upletters}{"27}
\\fi
+ \\re\@DeclareMathSymbol{\\upalpha} {\\mathord}{upletters}{"0B}
+ \\re\@DeclareMathSymbol{\\upbeta} {\\mathord}{upletters}{"0C}
+ \\re\@DeclareMathSymbol{\\upgamma} {\\mathord}{upletters}{"0D}
+ \\re\@DeclareMathSymbol{\\updelta} {\\mathord}{upletters}{"0E}
+ \\re\@DeclareMathSymbol{\\upepsilon} {\\mathord}{upletters}{"0F}
+ \\re\@DeclareMathSymbol{\\upzeta} {\\mathord}{upletters}{"10}
+ \\re\@DeclareMathSymbol{\\upeta} {\\mathord}{upletters}{"11}
+ \\re\@DeclareMathSymbol{\\uptheta} {\\mathord}{upletters}{"12}
+ \\re\@DeclareMathSymbol{\\upiota} {\\mathord}{upletters}{"13}
+ \\re\@DeclareMathSymbol{\\upkappa} {\\mathord}{upletters}{"14}
+ \\re\@DeclareMathSymbol{\\uplambda} {\\mathord}{upletters}{"15}
+ \\re\@DeclareMathSymbol{\\upmu} {\\mathord}{upletters}{"16}
+ \\re\@DeclareMathSymbol{\\upnu} {\\mathord}{upletters}{"17}
+ \\re\@DeclareMathSymbol{\\upxi} {\\mathord}{upletters}{"18}
+ \\re\@DeclareMathSymbol{\\uppi} {\\mathord}{upletters}{"19}
+ \\re\@DeclareMathSymbol{\\uprho} {\\mathord}{upletters}{"1A}
+ \\re\@DeclareMathSymbol{\\upsigma} {\\mathord}{upletters}{"1B}
+ \\re\@DeclareMathSymbol{\\uptau} {\\mathord}{upletters}{"1C}
+ \\re\@DeclareMathSymbol{\\upupsilon} {\\mathord}{upletters}{"1D}
+ \\re\@DeclareMathSymbol{\\upphi} {\\mathord}{upletters}{"1E}
+ \\re\@DeclareMathSymbol{\\upchi} {\\mathord}{upletters}{"1F}
+ \\re\@DeclareMathSymbol{\\uppsi} {\\mathord}{upletters}{"20}
+ \\re\@DeclareMathSymbol{\\upomega} {\\mathord}{upletters}{"21}
+ \\re\@DeclareMathSymbol{\\upvarepsilon}{\\mathord}{upletters}{"22}
+ \\re\@DeclareMathSymbol{\\upvartheta} {\\mathord}{upletters}{"23}
+ \\re\@DeclareMathSymbol{\\upvarpi} {\\mathord}{upletters}{"24}
+ \\re\@DeclareMathSymbol{\\upvarrho} {\\mathord}{upletters}{"25}
+ \\re\@DeclareMathSymbol{\\upvarsigma} {\\mathord}{upletters}{"26}
+ \\re\@DeclareMathSymbol{\\upvarphi} {\\mathord}{upletters}{"27}
\\fi
\\fi
@@ -3637,8 +3747,8 @@ The defaults are "mathlining" and "mathtabular".
=item C<mathcal>
Use the swash characters from these fonts as the C<\mathcal> alphabet.
-(This option will only exist if your fonts actually contain swash characters,
-plus a C<swsh> feature to access them).
+(This option will only exist if your fonts actually contain
+both swash characters and a C<swsh> feature to access them).
=item C<nomathgreek>
@@ -3654,6 +3764,10 @@ and with C<math-style=upright> all letters are upright.
=back
+The style file also defines commands C<\up...> and C<\it...> to access upright
+and italic greek characters regardless of the chosen math style:
+C<\upGamma>, C<\upalpha>, C<\itDelta>, C<\itbeta> etc.
+
Note that this C<math> option only affects digits, latin and greek letters,
plus a few basic punctuation characters; all other mathematical symbols,
operators, delimiters etc. are left as they were before.
@@ -3667,7 +3781,7 @@ it just assumes that they do and sets up the style file accordingly.
Even if your fonts do contain greek, characters such as C<\varepsilon>
may be missing.
You may also find that some glyphs I<are> present in your fonts,
-but don't work well in equations or don't match with other symbols;
+but don't work well in equations or don't match other symbols;
edit the generated style file to remove the declarations of
these offending characters.
Once again: test the results before using them!
@@ -4184,7 +4298,7 @@ GNU General Public License for more details.
=head1 VERSION
-This document describes B<autoinst> version 20230201.
+This document describes B<autoinst> version 20230914.
=head1 RECENT CHANGES
@@ -4193,6 +4307,14 @@ This document describes B<autoinst> version 20230201.
=over 12
+=item I<2023-09-14>
+
+Added the C<\up...> and C<\it...> commands to the style file.
+
+=item I<2023-06-28>
+
+Adapted font metadata parsing for Adobe Source Serif 4.
+
=item I<2023-02-01>
Added support for the T4, T5, CS, L7X and QX encodings.
diff --git a/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx b/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx
index 04c9f8d47ee..9e6dd5c2e3f 100755
--- a/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx
+++ b/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx
@@ -38,7 +38,7 @@ use Getopt::Long ();
use List::Util @List::Util::EXPORT_OK;
use Pod::Usage;
-my $VERSION = "20230201";
+my $VERSION = "20230914";
our ($NUM_GLYPHS, $UNITS_PER_EM, %kern);
@@ -858,7 +858,7 @@ See the GNU General Public License for more details.
=head1 VERSION
-This document describes B<ot2kpx> version 20230201.
+This document describes B<ot2kpx> version 20230914.
=head1 RECENT CHANGES
diff --git a/Master/texmf-dist/doc/man/man1/afm2afm.1 b/Master/texmf-dist/doc/man/man1/afm2afm.1
index 01aaf60348b..ba9102eb77e 100644
--- a/Master/texmf-dist/doc/man/man1/afm2afm.1
+++ b/Master/texmf-dist/doc/man/man1/afm2afm.1
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42)
+.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.43)
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -133,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "AFM2AFM 1"
-.TH AFM2AFM 1 "2023-02-01" "fontools" "Marc Penninga"
+.TH AFM2AFM 1 "2023-09-14" "fontools" "Marc Penninga"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -223,7 +223,7 @@ but \s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of
See the \s-1GNU\s0 General Public License for more details.
.SH "VERSION"
.IX Header "VERSION"
-This document describes \fBafm2afm\fR version 20230201.
+This document describes \fBafm2afm\fR version 20230914.
.SH "RECENT CHANGES"
.IX Header "RECENT CHANGES"
(See the source code for the rest of the story.)
diff --git a/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf b/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf
index e049a3a1448..f8fd0910351 100644
--- a/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf
+++ b/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/man/man1/autoinst.1 b/Master/texmf-dist/doc/man/man1/autoinst.1
index 34f29cd546d..6361816046b 100644
--- a/Master/texmf-dist/doc/man/man1/autoinst.1
+++ b/Master/texmf-dist/doc/man/man1/autoinst.1
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42)
+.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.43)
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -133,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "AUTOINST 1"
-.TH AUTOINST 1 "2023-02-01" "fontools" "Marc Penninga"
+.TH AUTOINST 1 "2023-09-14" "fontools" "Marc Penninga"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -364,8 +364,8 @@ The defaults are \*(L"mathlining\*(R" and \*(L"mathtabular\*(R".
.el .IP "\f(CWmathcal\fR" 4
.IX Item "mathcal"
Use the swash characters from these fonts as the \f(CW\*(C`\emathcal\*(C'\fR alphabet.
-(This option will only exist if your fonts actually contain swash characters,
-plus a \f(CW\*(C`swsh\*(C'\fR feature to access them).
+(This option will only exist if your fonts actually contain
+both swash characters and a \f(CW\*(C`swsh\*(C'\fR feature to access them).
.ie n .IP """nomathgreek""" 4
.el .IP "\f(CWnomathgreek\fR" 4
.IX Item "nomathgreek"
@@ -379,6 +379,10 @@ with \f(CW\*(C`math\-style=TeX\*(C'\fR (the default), uppercase greek is upright
with \f(CW\*(C`math\-style=french\*(C'\fR, all greek as well as uppercase latin is upright;
and with \f(CW\*(C`math\-style=upright\*(C'\fR all letters are upright.
.PP
+The style file also defines commands \f(CW\*(C`\eup...\*(C'\fR and \f(CW\*(C`\eit...\*(C'\fR to access upright
+and italic greek characters regardless of the chosen math style:
+\&\f(CW\*(C`\eupGamma\*(C'\fR, \f(CW\*(C`\eupalpha\*(C'\fR, \f(CW\*(C`\eitDelta\*(C'\fR, \f(CW\*(C`\eitbeta\*(C'\fR etc.
+.PP
Note that this \f(CW\*(C`math\*(C'\fR option only affects digits, latin and greek letters,
plus a few basic punctuation characters; all other mathematical symbols,
operators, delimiters etc. are left as they were before.
@@ -392,7 +396,7 @@ it just assumes that they do and sets up the style file accordingly.
Even if your fonts do contain greek, characters such as \f(CW\*(C`\evarepsilon\*(C'\fR
may be missing.
You may also find that some glyphs \fIare\fR present in your fonts,
-but don't work well in equations or don't match with other symbols;
+but don't work well in equations or don't match other symbols;
edit the generated style file to remove the declarations of
these offending characters.
Once again: test the results before using them!
@@ -842,10 +846,16 @@ but \s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of
\&\s-1GNU\s0 General Public License for more details.
.SH "VERSION"
.IX Header "VERSION"
-This document describes \fBautoinst\fR version 20230201.
+This document describes \fBautoinst\fR version 20230914.
.SH "RECENT CHANGES"
.IX Header "RECENT CHANGES"
(See the source for the full story, all the way back to 2005.)
+.IP "\fI2023\-09\-14\fR" 12
+.IX Item "2023-09-14"
+Added the \f(CW\*(C`\eup...\*(C'\fR and \f(CW\*(C`\eit...\*(C'\fR commands to the style file.
+.IP "\fI2023\-06\-28\fR" 12
+.IX Item "2023-06-28"
+Adapted font metadata parsing for Adobe Source Serif 4.
.IP "\fI2023\-02\-01\fR" 12
.IX Item "2023-02-01"
Added support for the T4, T5, \s-1CS, L7X\s0 and \s-1QX\s0 encodings.
diff --git a/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf b/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf
index 2b9a5cb12ab..c4acbe36c6a 100644
--- a/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf
+++ b/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/man/man1/ot2kpx.1 b/Master/texmf-dist/doc/man/man1/ot2kpx.1
index 76747ebe16d..46cd7bbb793 100644
--- a/Master/texmf-dist/doc/man/man1/ot2kpx.1
+++ b/Master/texmf-dist/doc/man/man1/ot2kpx.1
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42)
+.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.43)
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -133,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "OT2KPX 1"
-.TH OT2KPX 1 "2023-02-01" "fontools" "Marc Penninga"
+.TH OT2KPX 1 "2023-09-14" "fontools" "Marc Penninga"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -228,7 +228,7 @@ but \s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of
See the \s-1GNU\s0 General Public License for more details.
.SH "VERSION"
.IX Header "VERSION"
-This document describes \fBot2kpx\fR version 20230201.
+This document describes \fBot2kpx\fR version 20230914.
.SH "RECENT CHANGES"
.IX Header "RECENT CHANGES"
(See the source code for the rest of the story.)
diff --git a/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf b/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf
index 05079380b91..4a5f96bd5dd 100644
--- a/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf
+++ b/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/support/fontools/splitttc b/Master/texmf-dist/doc/support/fontools/splitttc
index fdf359a1e5e..cda3c652e7b 100755
--- a/Master/texmf-dist/doc/support/fontools/splitttc
+++ b/Master/texmf-dist/doc/support/fontools/splitttc
@@ -38,7 +38,7 @@ use File::Basename;
use Getopt::Long;
use Pod::Usage;
-my $VERSION = "20230201";
+my $VERSION = "20230914";
parse_commandline();
@@ -303,7 +303,7 @@ See the GNU General Public License for more details.
=head1 VERSION
-This document describes B<splitttc> version 20230201.
+This document describes B<splitttc> version 20230914.
=head1 RECENT CHANGES
diff --git a/Master/texmf-dist/scripts/fontools/afm2afm b/Master/texmf-dist/scripts/fontools/afm2afm
index 37ddbb679a4..164ac90cc3f 100755
--- a/Master/texmf-dist/scripts/fontools/afm2afm
+++ b/Master/texmf-dist/scripts/fontools/afm2afm
@@ -37,7 +37,7 @@ use File::Basename;
use Getopt::Long;
use Pod::Usage;
-my $VERSION = "20230201";
+my $VERSION = "20230914";
parse_commandline();
@@ -421,7 +421,7 @@ See the GNU General Public License for more details.
=head1 VERSION
-This document describes B<afm2afm> version 20230201.
+This document describes B<afm2afm> version 20230914.
=head1 RECENT CHANGES
diff --git a/Master/texmf-dist/scripts/fontools/autoinst b/Master/texmf-dist/scripts/fontools/autoinst
index 5f3a71c1df3..6c6f01169f9 100755
--- a/Master/texmf-dist/scripts/fontools/autoinst
+++ b/Master/texmf-dist/scripts/fontools/autoinst
@@ -41,7 +41,7 @@ use Getopt::Long ();
use Pod::Usage ();
use POSIX ();
-my $VERSION = '20230201';
+my $VERSION = '20230914';
my ($d, $m, $y) = (localtime time)[3 .. 5];
my $TODAY = sprintf "%04d/%02d/%02d", $y + 1900, $m + 1, $d;
@@ -658,12 +658,20 @@ END_ERR_METADATA_MISSING
$data->{subfamily} =~ s/\A (?: ST | T | SD | D)//xms;
}
+ # move Adobe's optical size from family to subfamily
+ for my $optical (qw(Caption SmText SmallText Subhead Display)) {
+ if ($data->{family} =~ s/$optical\z//xms) {
+ $data->{subfamily} .= $optical;
+ last;
+ }
+ }
+
# Sometimes the relevant info is in Fullname, sometimes in Subfamily;
# so we need to test against both
my $fullinfo = lc "$data->{subfamily} | $data->{fullname}";
# remove Adobe's SmallText size, to avoid mistaking it for Text weight
- $fullinfo =~ s/(?: SmallText | SmText )\z//xmsi;
+ $fullinfo =~ s/(?: SmallText | SmText )//gxmsi;
# We need to be careful when parsing the font info; in particular
# we must parse strings like 'UltraCondensed' as 'Regular' weight
@@ -940,6 +948,27 @@ sub _parse_sizedata {
&& $minsize == 8.9 && $maxsize == 13.9) {
($minsize, $maxsize) = (23, 72);
}
+ elsif ($self->{family} eq 'SourceSerifFour'
+ && $minsize == 0 && $maxsize == 0) {
+ if ($self->{subfamily} eq 'Caption') {
+ ($minsize, $maxsize) = (0, 6);
+ }
+ elsif ($self->{subfamily} eq 'SmText') {
+ ($minsize, $maxsize) = (6, 9);
+ }
+ elsif ($self->{subfamily} eq '') {
+ ($minsize, $maxsize) = (9, 13);
+ }
+ elsif ($self->{subfamily} eq 'Subhead') {
+ ($minsize, $maxsize) = (13, 24);
+ }
+ elsif ($self->{subfamily} eq 'Display') {
+ ($minsize, $maxsize) = (24, 72);
+ }
+ else {
+ die "[ERROR] Unknown subfamily '$self->{subfamily}' in $self->{filename}";
+ }
+ }
@{$self}{qw(minsize maxsize)} = ($minsize, $maxsize);
@@ -1573,47 +1602,89 @@ END_STYLE_REST
\\re\@DeclareMathAccent{\\ddot} {\\mathalpha}{newoperators}{"7F}
\\if$fam\@mathgreek
- \\re\@DeclareMathSymbol{\\Gamma} {\\mathalpha}{newoperators}{"00}
- \\re\@DeclareMathSymbol{\\Delta} {\\mathalpha}{newoperators}{"01}
- \\re\@DeclareMathSymbol{\\Theta} {\\mathalpha}{newoperators}{"02}
- \\re\@DeclareMathSymbol{\\Lambda} {\\mathalpha}{newoperators}{"03}
- \\re\@DeclareMathSymbol{\\Xi} {\\mathalpha}{newoperators}{"04}
- \\re\@DeclareMathSymbol{\\Pi} {\\mathalpha}{newoperators}{"05}
- \\re\@DeclareMathSymbol{\\Sigma} {\\mathalpha}{newoperators}{"06}
- \\re\@DeclareMathSymbol{\\Upsilon}{\\mathalpha}{newoperators}{"07}
- \\re\@DeclareMathSymbol{\\Phi} {\\mathalpha}{newoperators}{"08}
- \\re\@DeclareMathSymbol{\\Psi} {\\mathalpha}{newoperators}{"09}
- \\re\@DeclareMathSymbol{\\Omega} {\\mathalpha}{newoperators}{"0A}
-
- \\re\@DeclareMathSymbol{\\alpha} {\\mathord}{newletters}{"0B}
- \\re\@DeclareMathSymbol{\\beta} {\\mathord}{newletters}{"0C}
- \\re\@DeclareMathSymbol{\\gamma} {\\mathord}{newletters}{"0D}
- \\re\@DeclareMathSymbol{\\delta} {\\mathord}{newletters}{"0E}
- \\re\@DeclareMathSymbol{\\epsilon} {\\mathord}{newletters}{"0F}
- \\re\@DeclareMathSymbol{\\zeta} {\\mathord}{newletters}{"10}
- \\re\@DeclareMathSymbol{\\eta} {\\mathord}{newletters}{"11}
- \\re\@DeclareMathSymbol{\\theta} {\\mathord}{newletters}{"12}
- \\re\@DeclareMathSymbol{\\iota} {\\mathord}{newletters}{"13}
- \\re\@DeclareMathSymbol{\\kappa} {\\mathord}{newletters}{"14}
- \\re\@DeclareMathSymbol{\\lambda} {\\mathord}{newletters}{"15}
- \\re\@DeclareMathSymbol{\\mu} {\\mathord}{newletters}{"16}
- \\re\@DeclareMathSymbol{\\nu} {\\mathord}{newletters}{"17}
- \\re\@DeclareMathSymbol{\\xi} {\\mathord}{newletters}{"18}
- \\re\@DeclareMathSymbol{\\pi} {\\mathord}{newletters}{"19}
- \\re\@DeclareMathSymbol{\\rho} {\\mathord}{newletters}{"1A}
- \\re\@DeclareMathSymbol{\\sigma} {\\mathord}{newletters}{"1B}
- \\re\@DeclareMathSymbol{\\tau} {\\mathord}{newletters}{"1C}
- \\re\@DeclareMathSymbol{\\upsilon} {\\mathord}{newletters}{"1D}
- \\re\@DeclareMathSymbol{\\phi} {\\mathord}{newletters}{"1E}
- \\re\@DeclareMathSymbol{\\chi} {\\mathord}{newletters}{"1F}
- \\re\@DeclareMathSymbol{\\psi} {\\mathord}{newletters}{"20}
- \\re\@DeclareMathSymbol{\\omega} {\\mathord}{newletters}{"21}
- \\re\@DeclareMathSymbol{\\varepsilon}{\\mathord}{newletters}{"22}
- \\re\@DeclareMathSymbol{\\vartheta} {\\mathord}{newletters}{"23}
- \\re\@DeclareMathSymbol{\\varpi} {\\mathord}{newletters}{"24}
- \\re\@DeclareMathSymbol{\\varrho} {\\mathord}{newletters}{"25}
- \\re\@DeclareMathSymbol{\\varsigma} {\\mathord}{newletters}{"26}
- \\re\@DeclareMathSymbol{\\varphi} {\\mathord}{newletters}{"27}
+ \\re\@DeclareMathSymbol{\\Gamma} {\\mathalpha}{newoperators}{"00}
+ \\re\@DeclareMathSymbol{\\Delta} {\\mathalpha}{newoperators}{"01}
+ \\re\@DeclareMathSymbol{\\Theta} {\\mathalpha}{newoperators}{"02}
+ \\re\@DeclareMathSymbol{\\Lambda} {\\mathalpha}{newoperators}{"03}
+ \\re\@DeclareMathSymbol{\\Xi} {\\mathalpha}{newoperators}{"04}
+ \\re\@DeclareMathSymbol{\\Pi} {\\mathalpha}{newoperators}{"05}
+ \\re\@DeclareMathSymbol{\\Sigma} {\\mathalpha}{newoperators}{"06}
+ \\re\@DeclareMathSymbol{\\Upsilon} {\\mathalpha}{newoperators}{"07}
+ \\re\@DeclareMathSymbol{\\Phi} {\\mathalpha}{newoperators}{"08}
+ \\re\@DeclareMathSymbol{\\Psi} {\\mathalpha}{newoperators}{"09}
+ \\re\@DeclareMathSymbol{\\Omega} {\\mathalpha}{newoperators}{"0A}
+
+ \\re\@DeclareMathSymbol{\\upGamma} {\\mathalpha}{newoperators}{"00}
+ \\re\@DeclareMathSymbol{\\upDelta} {\\mathalpha}{newoperators}{"01}
+ \\re\@DeclareMathSymbol{\\upTheta} {\\mathalpha}{newoperators}{"02}
+ \\re\@DeclareMathSymbol{\\upLambda} {\\mathalpha}{newoperators}{"03}
+ \\re\@DeclareMathSymbol{\\upXi} {\\mathalpha}{newoperators}{"04}
+ \\re\@DeclareMathSymbol{\\upPi} {\\mathalpha}{newoperators}{"05}
+ \\re\@DeclareMathSymbol{\\upSigma} {\\mathalpha}{newoperators}{"06}
+ \\re\@DeclareMathSymbol{\\upUpsilon}{\\mathalpha}{newoperators}{"07}
+ \\re\@DeclareMathSymbol{\\upPhi} {\\mathalpha}{newoperators}{"08}
+ \\re\@DeclareMathSymbol{\\upPsi} {\\mathalpha}{newoperators}{"09}
+ \\re\@DeclareMathSymbol{\\upOmega} {\\mathalpha}{newoperators}{"0A}
+
+ \\re\@DeclareMathSymbol{\\alpha} {\\mathord}{newletters}{"0B}
+ \\re\@DeclareMathSymbol{\\beta} {\\mathord}{newletters}{"0C}
+ \\re\@DeclareMathSymbol{\\gamma} {\\mathord}{newletters}{"0D}
+ \\re\@DeclareMathSymbol{\\delta} {\\mathord}{newletters}{"0E}
+ \\re\@DeclareMathSymbol{\\epsilon} {\\mathord}{newletters}{"0F}
+ \\re\@DeclareMathSymbol{\\zeta} {\\mathord}{newletters}{"10}
+ \\re\@DeclareMathSymbol{\\eta} {\\mathord}{newletters}{"11}
+ \\re\@DeclareMathSymbol{\\theta} {\\mathord}{newletters}{"12}
+ \\re\@DeclareMathSymbol{\\iota} {\\mathord}{newletters}{"13}
+ \\re\@DeclareMathSymbol{\\kappa} {\\mathord}{newletters}{"14}
+ \\re\@DeclareMathSymbol{\\lambda} {\\mathord}{newletters}{"15}
+ \\re\@DeclareMathSymbol{\\mu} {\\mathord}{newletters}{"16}
+ \\re\@DeclareMathSymbol{\\nu} {\\mathord}{newletters}{"17}
+ \\re\@DeclareMathSymbol{\\xi} {\\mathord}{newletters}{"18}
+ \\re\@DeclareMathSymbol{\\pi} {\\mathord}{newletters}{"19}
+ \\re\@DeclareMathSymbol{\\rho} {\\mathord}{newletters}{"1A}
+ \\re\@DeclareMathSymbol{\\sigma} {\\mathord}{newletters}{"1B}
+ \\re\@DeclareMathSymbol{\\tau} {\\mathord}{newletters}{"1C}
+ \\re\@DeclareMathSymbol{\\upsilon} {\\mathord}{newletters}{"1D}
+ \\re\@DeclareMathSymbol{\\phi} {\\mathord}{newletters}{"1E}
+ \\re\@DeclareMathSymbol{\\chi} {\\mathord}{newletters}{"1F}
+ \\re\@DeclareMathSymbol{\\psi} {\\mathord}{newletters}{"20}
+ \\re\@DeclareMathSymbol{\\omega} {\\mathord}{newletters}{"21}
+ \\re\@DeclareMathSymbol{\\varepsilon} {\\mathord}{newletters}{"22}
+ \\re\@DeclareMathSymbol{\\vartheta} {\\mathord}{newletters}{"23}
+ \\re\@DeclareMathSymbol{\\varpi} {\\mathord}{newletters}{"24}
+ \\re\@DeclareMathSymbol{\\varrho} {\\mathord}{newletters}{"25}
+ \\re\@DeclareMathSymbol{\\varsigma} {\\mathord}{newletters}{"26}
+ \\re\@DeclareMathSymbol{\\varphi} {\\mathord}{newletters}{"27}
+
+ \\re\@DeclareMathSymbol{\\italpha} {\\mathord}{newletters}{"0B}
+ \\re\@DeclareMathSymbol{\\itbeta} {\\mathord}{newletters}{"0C}
+ \\re\@DeclareMathSymbol{\\itgamma} {\\mathord}{newletters}{"0D}
+ \\re\@DeclareMathSymbol{\\itdelta} {\\mathord}{newletters}{"0E}
+ \\re\@DeclareMathSymbol{\\itepsilon} {\\mathord}{newletters}{"0F}
+ \\re\@DeclareMathSymbol{\\itzeta} {\\mathord}{newletters}{"10}
+ \\re\@DeclareMathSymbol{\\iteta} {\\mathord}{newletters}{"11}
+ \\re\@DeclareMathSymbol{\\ittheta} {\\mathord}{newletters}{"12}
+ \\re\@DeclareMathSymbol{\\itiota} {\\mathord}{newletters}{"13}
+ \\re\@DeclareMathSymbol{\\itkappa} {\\mathord}{newletters}{"14}
+ \\re\@DeclareMathSymbol{\\itlambda} {\\mathord}{newletters}{"15}
+ \\re\@DeclareMathSymbol{\\itmu} {\\mathord}{newletters}{"16}
+ \\re\@DeclareMathSymbol{\\itnu} {\\mathord}{newletters}{"17}
+ \\re\@DeclareMathSymbol{\\itxi} {\\mathord}{newletters}{"18}
+ \\re\@DeclareMathSymbol{\\itpi} {\\mathord}{newletters}{"19}
+ \\re\@DeclareMathSymbol{\\itrho} {\\mathord}{newletters}{"1A}
+ \\re\@DeclareMathSymbol{\\itsigma} {\\mathord}{newletters}{"1B}
+ \\re\@DeclareMathSymbol{\\ittau} {\\mathord}{newletters}{"1C}
+ \\re\@DeclareMathSymbol{\\itupsilon} {\\mathord}{newletters}{"1D}
+ \\re\@DeclareMathSymbol{\\itphi} {\\mathord}{newletters}{"1E}
+ \\re\@DeclareMathSymbol{\\itchi} {\\mathord}{newletters}{"1F}
+ \\re\@DeclareMathSymbol{\\itpsi} {\\mathord}{newletters}{"20}
+ \\re\@DeclareMathSymbol{\\itomega} {\\mathord}{newletters}{"21}
+ \\re\@DeclareMathSymbol{\\itvarepsilon}{\\mathord}{newletters}{"22}
+ \\re\@DeclareMathSymbol{\\itvartheta} {\\mathord}{newletters}{"23}
+ \\re\@DeclareMathSymbol{\\itvarpi} {\\mathord}{newletters}{"24}
+ \\re\@DeclareMathSymbol{\\itvarrho} {\\mathord}{newletters}{"25}
+ \\re\@DeclareMathSymbol{\\itvarsigma} {\\mathord}{newletters}{"26}
+ \\re\@DeclareMathSymbol{\\itvarphi} {\\mathord}{newletters}{"27}
\\fi
\\if$fam\@mathLATINup
@@ -1695,11 +1766,21 @@ END_STYLE_REST
\\re\@DeclareMathSymbol{\\Psi} {\\mathalpha}{newletters}{"09}
\\re\@DeclareMathSymbol{\\Omega} {\\mathalpha}{newletters}{"0A}
\\fi
+ \\re\@DeclareMathSymbol{\\itGamma} {\\mathalpha}{newletters}{"00}
+ \\re\@DeclareMathSymbol{\\itDelta} {\\mathalpha}{newletters}{"01}
+ \\re\@DeclareMathSymbol{\\itTheta} {\\mathalpha}{newletters}{"02}
+ \\re\@DeclareMathSymbol{\\itLambda} {\\mathalpha}{newletters}{"03}
+ \\re\@DeclareMathSymbol{\\itXi} {\\mathalpha}{newletters}{"04}
+ \\re\@DeclareMathSymbol{\\itPi} {\\mathalpha}{newletters}{"05}
+ \\re\@DeclareMathSymbol{\\itSigma} {\\mathalpha}{newletters}{"06}
+ \\re\@DeclareMathSymbol{\\itUpsilon}{\\mathalpha}{newletters}{"07}
+ \\re\@DeclareMathSymbol{\\itPhi} {\\mathalpha}{newletters}{"08}
+ \\re\@DeclareMathSymbol{\\itPsi} {\\mathalpha}{newletters}{"09}
+ \\re\@DeclareMathSymbol{\\itOmega} {\\mathalpha}{newletters}{"0A}
+ \\DeclareSymbolFont{upletters} {OML}{$fam-\\$fam\@mathfigurealign\\$fam\@mathfigurestyle}{\\mdseries\@$ARGV{nfss}}{n}
+ \\SetSymbolFont{upletters}{bold}{OML}{$fam-\\$fam\@mathfigurealign\\$fam\@mathfigurestyle}{\\bfseries\@$ARGV{nfss}}{n}
\\if$fam\@mathgreekup
- \\DeclareSymbolFont{upletters} {OML}{$fam-\\$fam\@mathfigurealign\\$fam\@mathfigurestyle}{\\mdseries\@$ARGV{nfss}}{n}
- \\SetSymbolFont{upletters}{bold}{OML}{$fam-\\$fam\@mathfigurealign\\$fam\@mathfigurestyle}{\\bfseries\@$ARGV{nfss}}{n}
-
\\re\@DeclareMathSymbol{\\alpha} {\\mathord}{upletters}{"0B}
\\re\@DeclareMathSymbol{\\beta} {\\mathord}{upletters}{"0C}
\\re\@DeclareMathSymbol{\\gamma} {\\mathord}{upletters}{"0D}
@@ -1730,6 +1811,35 @@ END_STYLE_REST
\\re\@DeclareMathSymbol{\\varsigma} {\\mathord}{upletters}{"26}
\\re\@DeclareMathSymbol{\\varphi} {\\mathord}{upletters}{"27}
\\fi
+ \\re\@DeclareMathSymbol{\\upalpha} {\\mathord}{upletters}{"0B}
+ \\re\@DeclareMathSymbol{\\upbeta} {\\mathord}{upletters}{"0C}
+ \\re\@DeclareMathSymbol{\\upgamma} {\\mathord}{upletters}{"0D}
+ \\re\@DeclareMathSymbol{\\updelta} {\\mathord}{upletters}{"0E}
+ \\re\@DeclareMathSymbol{\\upepsilon} {\\mathord}{upletters}{"0F}
+ \\re\@DeclareMathSymbol{\\upzeta} {\\mathord}{upletters}{"10}
+ \\re\@DeclareMathSymbol{\\upeta} {\\mathord}{upletters}{"11}
+ \\re\@DeclareMathSymbol{\\uptheta} {\\mathord}{upletters}{"12}
+ \\re\@DeclareMathSymbol{\\upiota} {\\mathord}{upletters}{"13}
+ \\re\@DeclareMathSymbol{\\upkappa} {\\mathord}{upletters}{"14}
+ \\re\@DeclareMathSymbol{\\uplambda} {\\mathord}{upletters}{"15}
+ \\re\@DeclareMathSymbol{\\upmu} {\\mathord}{upletters}{"16}
+ \\re\@DeclareMathSymbol{\\upnu} {\\mathord}{upletters}{"17}
+ \\re\@DeclareMathSymbol{\\upxi} {\\mathord}{upletters}{"18}
+ \\re\@DeclareMathSymbol{\\uppi} {\\mathord}{upletters}{"19}
+ \\re\@DeclareMathSymbol{\\uprho} {\\mathord}{upletters}{"1A}
+ \\re\@DeclareMathSymbol{\\upsigma} {\\mathord}{upletters}{"1B}
+ \\re\@DeclareMathSymbol{\\uptau} {\\mathord}{upletters}{"1C}
+ \\re\@DeclareMathSymbol{\\upupsilon} {\\mathord}{upletters}{"1D}
+ \\re\@DeclareMathSymbol{\\upphi} {\\mathord}{upletters}{"1E}
+ \\re\@DeclareMathSymbol{\\upchi} {\\mathord}{upletters}{"1F}
+ \\re\@DeclareMathSymbol{\\uppsi} {\\mathord}{upletters}{"20}
+ \\re\@DeclareMathSymbol{\\upomega} {\\mathord}{upletters}{"21}
+ \\re\@DeclareMathSymbol{\\upvarepsilon}{\\mathord}{upletters}{"22}
+ \\re\@DeclareMathSymbol{\\upvartheta} {\\mathord}{upletters}{"23}
+ \\re\@DeclareMathSymbol{\\upvarpi} {\\mathord}{upletters}{"24}
+ \\re\@DeclareMathSymbol{\\upvarrho} {\\mathord}{upletters}{"25}
+ \\re\@DeclareMathSymbol{\\upvarsigma} {\\mathord}{upletters}{"26}
+ \\re\@DeclareMathSymbol{\\upvarphi} {\\mathord}{upletters}{"27}
\\fi
\\fi
@@ -3637,8 +3747,8 @@ The defaults are "mathlining" and "mathtabular".
=item C<mathcal>
Use the swash characters from these fonts as the C<\mathcal> alphabet.
-(This option will only exist if your fonts actually contain swash characters,
-plus a C<swsh> feature to access them).
+(This option will only exist if your fonts actually contain
+both swash characters and a C<swsh> feature to access them).
=item C<nomathgreek>
@@ -3654,6 +3764,10 @@ and with C<math-style=upright> all letters are upright.
=back
+The style file also defines commands C<\up...> and C<\it...> to access upright
+and italic greek characters regardless of the chosen math style:
+C<\upGamma>, C<\upalpha>, C<\itDelta>, C<\itbeta> etc.
+
Note that this C<math> option only affects digits, latin and greek letters,
plus a few basic punctuation characters; all other mathematical symbols,
operators, delimiters etc. are left as they were before.
@@ -3667,7 +3781,7 @@ it just assumes that they do and sets up the style file accordingly.
Even if your fonts do contain greek, characters such as C<\varepsilon>
may be missing.
You may also find that some glyphs I<are> present in your fonts,
-but don't work well in equations or don't match with other symbols;
+but don't work well in equations or don't match other symbols;
edit the generated style file to remove the declarations of
these offending characters.
Once again: test the results before using them!
@@ -4184,7 +4298,7 @@ GNU General Public License for more details.
=head1 VERSION
-This document describes B<autoinst> version 20230201.
+This document describes B<autoinst> version 20230914.
=head1 RECENT CHANGES
@@ -4193,6 +4307,14 @@ This document describes B<autoinst> version 20230201.
=over 12
+=item I<2023-09-14>
+
+Added the C<\up...> and C<\it...> commands to the style file.
+
+=item I<2023-06-28>
+
+Adapted font metadata parsing for Adobe Source Serif 4.
+
=item I<2023-02-01>
Added support for the T4, T5, CS, L7X and QX encodings.
diff --git a/Master/texmf-dist/scripts/fontools/ot2kpx b/Master/texmf-dist/scripts/fontools/ot2kpx
index 04c9f8d47ee..9e6dd5c2e3f 100755
--- a/Master/texmf-dist/scripts/fontools/ot2kpx
+++ b/Master/texmf-dist/scripts/fontools/ot2kpx
@@ -38,7 +38,7 @@ use Getopt::Long ();
use List::Util @List::Util::EXPORT_OK;
use Pod::Usage;
-my $VERSION = "20230201";
+my $VERSION = "20230914";
our ($NUM_GLYPHS, $UNITS_PER_EM, %kern);
@@ -858,7 +858,7 @@ See the GNU General Public License for more details.
=head1 VERSION
-This document describes B<ot2kpx> version 20230201.
+This document describes B<ot2kpx> version 20230914.
=head1 RECENT CHANGES