diff options
Diffstat (limited to 'fonts/newtx/tex/t1ntxlf.fd')
-rw-r--r-- | fonts/newtx/tex/t1ntxlf.fd | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/fonts/newtx/tex/t1ntxlf.fd b/fonts/newtx/tex/t1ntxlf.fd index 449bfc32b5..6e077f602f 100644 --- a/fonts/newtx/tex/t1ntxlf.fd +++ b/fonts/newtx/tex/t1ntxlf.fd @@ -1,4 +1,8 @@ -\ProvidesFile{t1ntxlf.fd}[2015/01/17 v1.0 font definition file for T1/ntx/lf] +\ProvidesFile{t1ntxlf.fd}[2021/05/07 v1.1 font definition file for T1/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,16 @@ \DeclareFontShape{T1}{ntxlf}{bx}{n}{<->ssub * ntxlf/b/n}{} \DeclareFontShape{T1}{ntxlf}{bx}{scit}{<->ssub * ntxlf/b/scit}{} \DeclareFontShape{T1}{ntxlf}{bx}{it}{<->ssub * ntxlf/b/it}{} -\DeclareFontShape{T1}{ntxlf}{m}{sl}{<-> \ntx@scaled ntx-Italic-tlf-th-t1}{} -\DeclareFontShape{T1}{ntxlf}{b}{sl}{<->ssub * ntxlf/m/sl}{} -\DeclareFontShape{T1}{ntxlf}{bx}{sl}{<->ssub * ntxlf/m/sl}{} +\ifntx@sl % point to real slanted fonts + \DeclareFontShape{T1}{ntxlf}{m}{sl}{<-> \ntx@scaled t1xsl-lf}{} + \DeclareFontShape{T1}{ntxlf}{b}{sl}{<-> \ntx@scaled ztmbsl-lf-t1}{} + \DeclareFontShape{T1}{ntxlf}{bx}{sl}{<->ssub * ntxlf/b/sl}{} +\else %point to theorem font + \DeclareFontShape{T1}{ntxlf}{m}{sl}{<-> \ntx@scaled ntxth-Italic-tlf-t1}{} + \DeclareFontShape{T1}{ntxlf}{b}{sl}{<->ssub * ntxlf/m/sl}{} + \DeclareFontShape{T1}{ntxlf}{bx}{sl}{<->ssub * ntxlf/m/sl}{} +\fi + \DeclareFontShape{T1}{ntxlf}{b}{scsl}{<->ssub * ntxlf/b/scit}{} \DeclareFontShape{T1}{ntxlf}{bx}{scsl}{<->ssub * ntxlf/b/scit}{} \DeclareFontShape{T1}{ntxlf}{m}{scsl}{<->ssub * ntxlf/m/scit}{} |