summaryrefslogtreecommitdiff
path: root/fonts/newtx/tex/ot1ntxlf.fd
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-05-18 03:01:12 +0000
committerNorbert Preining <norbert@preining.info>2021-05-18 03:01:12 +0000
commit97eca13a92a0b8ad423b606c8970c9ce64d9b2bf (patch)
tree7275ec8351efb8f8108d65ec87d4cc81512a295a /fonts/newtx/tex/ot1ntxlf.fd
parentd999da47ff375df843c0c9bbfd5911236dd9d40a (diff)
CTAN sync 202105180301
Diffstat (limited to 'fonts/newtx/tex/ot1ntxlf.fd')
-rw-r--r--fonts/newtx/tex/ot1ntxlf.fd18
1 files changed, 14 insertions, 4 deletions
diff --git a/fonts/newtx/tex/ot1ntxlf.fd b/fonts/newtx/tex/ot1ntxlf.fd
index 215a44ed6d..e685017088 100644
--- a/fonts/newtx/tex/ot1ntxlf.fd
+++ b/fonts/newtx/tex/ot1ntxlf.fd
@@ -1,4 +1,8 @@
-\ProvidesFile{ot1ntxlf.fd}[2015/01/19 v1.0 font definition file for OT1/ntx/lf]
+\ProvidesFile{ot1ntxlf.fd}[2021/05/08 v1.0 font definition file for OT1/ntx/lf]
+
+\expandafter\ifx\csname ntx@sltrue\endcsname\relax
+ \global\newif\ntx@sl\global\ntx@sltrue%
+\fi
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
@@ -21,9 +25,15 @@
\DeclareFontShape{OT1}{ntxlf}{bx}{n}{<->ssub * ntxlf/b/n}{}
\DeclareFontShape{OT1}{ntxlf}{bx}{scit}{<->ssub * ntxlf/b/scit}{}
\DeclareFontShape{OT1}{ntxlf}{bx}{it}{<->ssub * ntxlf/b/it}{}
-\DeclareFontShape{OT1}{ntxlf}{m}{sl}{<-> \ntx@scaled ntx-Italic-tlf-th-ot1}{}
-\DeclareFontShape{OT1}{ntxlf}{b}{sl}{<->ssub * ntxlf/m/sl}{}
-\DeclareFontShape{OT1}{ntxlf}{bx}{sl}{<->ssub * ntxlf/m/sl}{}
+\ifntx@sl % point to real slanted fonts
+ \DeclareFontShape{OT1}{ntxlf}{m}{sl}{<-> \ntx@scaled ot1xsl-lf}{}
+ \DeclareFontShape{OT1}{ntxlf}{b}{sl}{<-> \ntx@scaled ztmbsl-lf-ot1}{}
+ \DeclareFontShape{OT1}{ntxlf}{bx}{sl}{<->ssub * ntxlf/b/sl}{}
+\else %point to theorem font
+ \DeclareFontShape{OT1}{ntxlf}{m}{sl}{<-> \ntx@scaled ntxth-Italic-tlf-ot1}{}
+ \DeclareFontShape{OT1}{ntxlf}{b}{sl}{<->ssub * ntxlf/m/sl}{}
+ \DeclareFontShape{OT1}{ntxlf}{bx}{sl}{<->ssub * ntxlf/m/sl}{}
+\fi
\DeclareFontShape{OT1}{ntxlf}{b}{scsl}{<->ssub * ntxlf/b/scit}{}
\DeclareFontShape{OT1}{ntxlf}{bx}{scsl}{<->ssub * ntxlf/b/scit}{}
\DeclareFontShape{OT1}{ntxlf}{m}{scsl}{<->ssub * ntxlf/m/scit}{}