From f1261b349e875b842745b63258c3e338cb1fe3bf Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sun, 23 May 2021 03:00:39 +0000
Subject: CTAN sync 202105230300

---
 fonts/newpx/tex/ly1zpllf.fd | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

(limited to 'fonts/newpx/tex/ly1zpllf.fd')

diff --git a/fonts/newpx/tex/ly1zpllf.fd b/fonts/newpx/tex/ly1zpllf.fd
index 813c8a8e28..015ec40325 100644
--- a/fonts/newpx/tex/ly1zpllf.fd
+++ b/fonts/newpx/tex/ly1zpllf.fd
@@ -1,5 +1,7 @@
 \ProvidesFile{ly1zpllf.fd}[2015/01/17 v1.0 font definition file for LY1/zpl/lf]
 
+\@ifundefined{ifzpl@sl}{\global\newif\ifzpl@sl\global\zpl@sltrue}{}
+
 \expandafter\ifx\csname zpl@scaled\endcsname\relax
   \global\let\zpl@scaled\@empty%
 \fi
@@ -21,9 +23,15 @@
 \DeclareFontShape{LY1}{zpllf}{bx}{n}{<->ssub * zpllf/b/n}{}
 \DeclareFontShape{LY1}{zpllf}{bx}{scit}{<->ssub * zpllf/b/scit}{}
 \DeclareFontShape{LY1}{zpllf}{bx}{it}{<->ssub * zpllf/b/it}{}
-\DeclareFontShape{LY1}{zpllf}{m}{sl}{<-> \zpl@scaled zpl-Italic-tlf-th-ly1}{}
-\DeclareFontShape{LY1}{zpllf}{b}{sl}{<->ssub * zpllf/b/it}{}
-\DeclareFontShape{LY1}{zpllf}{bx}{sl}{<->ssub * zpllf/b/it}{}
+\ifzpl@sl % point to real slanted fonts
+  \DeclareFontShape{LY1}{zpllf}{m}{sl}{<-> \zpl@scaled zpl-Slanted-lf-ly1}{}
+  \DeclareFontShape{LY1}{zpllf}{b}{sl}{<-> \zpl@scaled zpl-BoldSlanted-lf-ly1}{}
+  \DeclareFontShape{LY1}{zpllf}{bx}{sl}{<->ssub * zpllf/b/sl}{}
+\else %point to theorem font
+  \DeclareFontShape{LY1}{zpllf}{m}{sl}{<-> \zpl@scaled zplth-Italic-tlf-ly1}{}
+  \DeclareFontShape{LY1}{zpllf}{b}{sl}{<->ssub * zpllf/m/sl}{}
+  \DeclareFontShape{LY1}{zpllf}{bx}{sl}{<->ssub * zpllf/m/sl}{}
+\fi
 \DeclareFontShape{LY1}{zpllf}{b}{scsl}{<->ssub * zpllf/b/scit}{}
 \DeclareFontShape{LY1}{zpllf}{bx}{scsl}{<->ssub * zpllf/b/scit}{}
 \DeclareFontShape{LY1}{zpllf}{m}{scsl}{<->ssub * zpllf/m/scit}{}
-- 
cgit v1.2.3

