summaryrefslogtreecommitdiff
path: root/fonts/newpx/tex/t1zplosf.fd
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-05-23 03:00:39 +0000
committerNorbert Preining <norbert@preining.info>2021-05-23 03:00:39 +0000
commitf1261b349e875b842745b63258c3e338cb1fe3bf (patch)
treeb5d402b3e80818cde2c079a42249f3dcb9732247 /fonts/newpx/tex/t1zplosf.fd
parent58aa1ac09b1d9e4769d0a0661cf12e2b2db41b14 (diff)
CTAN sync 202105230300
Diffstat (limited to 'fonts/newpx/tex/t1zplosf.fd')
-rw-r--r--fonts/newpx/tex/t1zplosf.fd14
1 files changed, 11 insertions, 3 deletions
diff --git a/fonts/newpx/tex/t1zplosf.fd b/fonts/newpx/tex/t1zplosf.fd
index b14ec1d85c..c0685bab46 100644
--- a/fonts/newpx/tex/t1zplosf.fd
+++ b/fonts/newpx/tex/t1zplosf.fd
@@ -1,5 +1,7 @@
\ProvidesFile{t1zplosf.fd}[2015/01/17 v1.0 font definition file for T1/zpl/osf]
+\@ifundefined{ifzpl@sl}{\global\newif\ifzpl@sl\global\zpl@sltrue}{}
+
\expandafter\ifx\csname zpl@scaled\endcsname\relax
\global\let\zpl@scaled\@empty%
\fi
@@ -22,9 +24,15 @@
\DeclareFontShape{T1}{zplosf}{bx}{n}{<->ssub * zplosf/b/n}{}
\DeclareFontShape{T1}{zplosf}{bx}{scit}{<->ssub * zplosf/b/scit}{}
\DeclareFontShape{T1}{zplosf}{bx}{it}{<->ssub * zplosf/b/it}{}
-\DeclareFontShape{T1}{zplosf}{m}{sl}{<->\zpl@scaled zpl-Italic-osf-th-t1}{}
-\DeclareFontShape{T1}{zplosf}{b}{sl}{<->ssub * zplosf/b/it}{}
-\DeclareFontShape{T1}{zplosf}{bx}{sl}{<->ssub * zplosf/b/it}{}
+\ifzpl@sl % point to real slanted fonts
+ \DeclareFontShape{T1}{zplosf}{m}{sl}{<-> \zpl@scaled zpl-Slanted-osf-t1}{}
+ \DeclareFontShape{T1}{zplosf}{b}{sl}{<-> \zpl@scaled zpl-BoldSlanted-osf-t1}{}
+ \DeclareFontShape{T1}{zplosf}{bx}{sl}{<->ssub * zplosf/b/sl}{}
+\else %point to theorem font
+ \DeclareFontShape{T1}{zplosf}{m}{sl}{<-> \zpl@scaled zplth-Italic-osf-t1}{}
+ \DeclareFontShape{T1}{zplosf}{b}{sl}{<->ssub * zplosf/m/sl}{}
+ \DeclareFontShape{T1}{zplosf}{bx}{sl}{<->ssub * zplosf/m/sl}{}
+\fi
\DeclareFontShape{T1}{zplosf}{b}{scsl}{<->ssub * zplosf/b/scit}{}
\DeclareFontShape{T1}{zplosf}{m}{scsl}{<->ssub * zplosf/m/scit}{}
\DeclareFontShape{T1}{zplosf}{bx}{scsl}{<->ssub * zplosf/b/scit}{}