diff options
author | Norbert Preining <norbert@preining.info> | 2024-03-05 03:02:44 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-03-05 03:02:44 +0000 |
commit | 262a8b0c9d7aa383a7d1ec3a2efa25817abfc2d6 (patch) | |
tree | aec7f5d2ebb9b9bc2939469f0deec23ce81b9d51 /fonts/newtxtt/tex | |
parent | 2af51a2a2d7a231effe8ef99a49b76d8c65e80be (diff) |
CTAN sync 202403050302
Diffstat (limited to 'fonts/newtxtt/tex')
-rw-r--r-- | fonts/newtxtt/tex/ts1newtxtt.fd | 17 | ||||
-rw-r--r-- | fonts/newtxtt/tex/ts1newtxttz.fd | 17 |
2 files changed, 24 insertions, 10 deletions
diff --git a/fonts/newtxtt/tex/ts1newtxtt.fd b/fonts/newtxtt/tex/ts1newtxtt.fd index 47b2852b64..372011228c 100644 --- a/fonts/newtxtt/tex/ts1newtxtt.fd +++ b/fonts/newtxtt/tex/ts1newtxtt.fd @@ -1,5 +1,5 @@ \ProvidesFile{ts1newtxtt.fd} - [2014/05/29] + [2024/03/03] \expandafter\ifx\csname newtxtt@scale\endcsname\relax \let\newtxtt@@scale\@empty @@ -7,16 +7,23 @@ \edef\newtxtt@@scale{s*[\csname newtxtt@scale\endcsname]}% \fi +\expandafter\ifx\csname newtxtt@fig\endcsname\relax + \def\newtxtt@@fig{a} +\else + \let\newtxtt@@fig\newtxtt@fig +\fi + + \DeclareFontFamily{TS1}{newtxtt}{\hyphenchar\font\m@ne} \DeclareFontShape{TS1}{newtxtt}{m}{n}{ %medium - <-> \newtxtt@@scale tcxtt% + <-> \newtxtt@@scale newtcxtt\newtxtt@@fig% }{} \DeclareFontShape{TS1}{newtxtt}{m}{sc}{ %cap & small cap <->ssub * newtxtt/m/n% }{} \DeclareFontShape{TS1}{newtxtt}{m}{sl}{ %slanted - <-> \newtxtt@@scale tcxttsl% + <-> \newtxtt@@scale newtcxttsl\newtxtt@@fig% }{} \DeclareFontShape{TS1}{newtxtt}{m}{it}{ %italic <->ssub * newtxtt/m/sl% @@ -25,13 +32,13 @@ % <->ssub * newtxtt/m/it% %}{} \DeclareFontShape{TS1}{newtxtt}{b}{n}{ %bold - <-> \newtxtt@@scale tcxbtt% + <-> \newtxtt@@scale newtcxbtt\newtxtt@@fig% }{} \DeclareFontShape{TS1}{newtxtt}{b}{sc}{ %bold cap & small cap <->ssub * newtxtt/b/n% }{} \DeclareFontShape{TS1}{newtxtt}{b}{sl}{ %bold slanted - <-> \newtxtt@@scale tcxbttsl% + <-> \newtxtt@@scale newtcxbttsl\newtxtt@@fig% }{} \DeclareFontShape{TS1}{newtxtt}{b}{it}{ %bold italic <->ssub * newtxtt/b/sl% diff --git a/fonts/newtxtt/tex/ts1newtxttz.fd b/fonts/newtxtt/tex/ts1newtxttz.fd index f8716baf75..8ca61ddb6a 100644 --- a/fonts/newtxtt/tex/ts1newtxttz.fd +++ b/fonts/newtxtt/tex/ts1newtxttz.fd @@ -1,5 +1,5 @@ \ProvidesFile{ts1newtxttz.fd} - [2014/05/30] + [2024/03/03] \expandafter\ifx\csname newtxtt@scale\endcsname\relax \let\newtxtt@@scale\@empty @@ -7,16 +7,23 @@ \edef\newtxtt@@scale{s*[\csname newtxtt@scale\endcsname]}% \fi +\expandafter\ifx\csname newtxtt@fig\endcsname\relax + \def\newtxtt@@fig{a} +\else + \let\newtxtt@@fig\newtxtt@fig +\fi + + \DeclareFontFamily{TS1}{newtxttz}{\hyphenchar\font 45 } \DeclareFontShape{TS1}{newtxttz}{m}{n}{ %medium - <-> \newtxtt@@scale tcxttz% + <-> \newtxtt@@scale newtcxttz\newtxtt@@fig% }{} \DeclareFontShape{TS1}{newtxttz}{m}{sc}{ %cap & small cap <->ssub * newtxttz/m/n% }{} \DeclareFontShape{TS1}{newtxttz}{m}{sl}{ %slanted - <-> \newtxtt@@scale tcxttzsl% + <-> \newtxtt@@scale newtcxttzsl\newtxtt@@fig% }{} \DeclareFontShape{TS1}{newtxttz}{m}{it}{ %italic <->ssub * newtxttz/m/sl% @@ -25,13 +32,13 @@ % <->ssub * newtxttz/m/it% %}{} \DeclareFontShape{TS1}{newtxttz}{b}{n}{ %bold - <-> \newtxtt@@scale tcxbttz% + <-> \newtxtt@@scale newtcxbttz\newtxtt@@fig% }{} \DeclareFontShape{TS1}{newtxttz}{b}{sc}{ %bold cap & small cap <->ssub * newtxttz/b/n% }{} \DeclareFontShape{TS1}{newtxttz}{b}{sl}{ %bold slanted - <-> \newtxtt@@scale tcxbttzsl% + <-> \newtxtt@@scale newtcxbttzsl\newtxtt@@fig% }{} \DeclareFontShape{TS1}{newtxttz}{b}{it}{ %bold italic <->ssub * newtxttz/b/sl% |