summaryrefslogtreecommitdiff
path: root/fonts/newtx/tex/ot1ntxth-tosf.fd
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-01-11 03:01:10 +0000
committerNorbert Preining <norbert@preining.info>2022-01-11 03:01:10 +0000
commit39394e7cba63ab69525546760c8e542bb98f48e0 (patch)
tree9a63254086c5722f6670adad372c9c68efcb4948 /fonts/newtx/tex/ot1ntxth-tosf.fd
parentd50bfeb7feb32d585a89393c364ef5f9e1b915d0 (diff)
CTAN sync 202201110301
Diffstat (limited to 'fonts/newtx/tex/ot1ntxth-tosf.fd')
-rw-r--r--fonts/newtx/tex/ot1ntxth-tosf.fd5
1 files changed, 4 insertions, 1 deletions
diff --git a/fonts/newtx/tex/ot1ntxth-tosf.fd b/fonts/newtx/tex/ot1ntxth-tosf.fd
index 8a683572b2..718be12894 100644
--- a/fonts/newtx/tex/ot1ntxth-tosf.fd
+++ b/fonts/newtx/tex/ot1ntxth-tosf.fd
@@ -1,5 +1,8 @@
\ProvidesFile{ot1ntxth-tosf.fd}[2021/05/07 v1.0 font definition file for OT1/ntxth/tosf]
+\ifdefined\ntx@thmshape\else\def\ntx@thmshape{i}\fi
+\if i\ntx@thmshape \gdef\ntx@thrmshape{Italic}\else%
+ \gdef\ntx@thrmshape{Slanted}\fi
\expandafter\ifx\csname ntx@scaled\endcsname\relax
\let\ntx@scaled\@empty%
\fi
@@ -7,7 +10,7 @@
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi
%\traceon
\DeclareFontFamily{OT1}{ntxth-tosf}{\ntx@spacing}
-\DeclareFontShape{OT1}{ntxth-tosf}{m}{it}{<-> \ntx@scaled ntxth-Italic-osf-ot1}{}
+\DeclareFontShape{OT1}{ntxth-tosf}{m}{it}{<-> \ntx@scaled ntxth-\ntx@thrmshape-osf-ot1}{}
\DeclareFontShape{OT1}{ntxth-tosf}{m}{n}{<->ssub * ntxth-tosf/m/it}{}
\DeclareFontShape{OT1}{ntxth-tosf}{m}{sc}{<->ssub * ntxth-tosf/m/it}{}
\DeclareFontShape{OT1}{ntxth-tosf}{m}{scit}{<->ssub * ntxth-tosf/m/it}{}