summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/variablelm/t1vlmss.fd
blob: 1fd7f37cc915dcc5a553ba52a34fc4eb6b7ebad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
%
% This file is an extended version of the file t1lmss.fd' which
% belongs to the Latin Modern package. The work is released
% under the GUST Font License.
% It provides a mechanism for scaling the typeface.
%
% The original font description files are included in modern TeX
% distributions or are available via http://ctan.org/pkg/lm
%
\ProvidesFile{t1vlmss.fd}[2017/02/10 v1.0 font defs for variable Latin Modern]

\expandafter\ifx\csname alphabet@scale@sf\endcsname\relax
 \let\alphabet@@scale@sf\@empty
\else
 \edef\alphabet@@scale@sf{s*[\csname alphabet@scale@sf\endcsname]}%
\fi

\DeclareFontFamily{T1}{vlmss}{}
\DeclareFontShape{T1}{vlmss}{m}{n}
     {<-8.5>    \alphabet@@scale@sf ec-lmss8
      <8.5-9.5> \alphabet@@scale@sf ec-lmss9
      <9.5-11>  \alphabet@@scale@sf ec-lmss10
      <11-15.5> \alphabet@@scale@sf ec-lmss12
      <15.5->   \alphabet@@scale@sf ec-lmss17
      }{}
\DeclareFontShape{T1}{vlmss}{m}{it}
      {<->ssub*vlmss/m/sl}{}
\DeclareFontShape{T1}{vlmss}{m}{sl}
     {<-8.5>    \alphabet@@scale@sf ec-lmsso8
      <8.5-9.5> \alphabet@@scale@sf ec-lmsso9
      <9.5-11>  \alphabet@@scale@sf ec-lmsso10
      <11-15.5> \alphabet@@scale@sf ec-lmsso12
      <15.5->   \alphabet@@scale@sf ec-lmsso17
      }{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{T1}{vlmss}{m}{sc}
     {<->sub*lmr/m/sc}{}
\DeclareFontShape{T1}{vlmss}{b}{n}
     {<->ssub * lmss/bx/n}{}
\DeclareFontShape{T1}{vlmss}{b}{sl}
     {<->ssub * lmss/bx/sl}{}
\DeclareFontShape{T1}{vlmss}{b}{it}
     {<->ssub * lmss/bx/it}{}
%%%%%%%% semibold condensed series
\DeclareFontShape{T1}{vlmss}{sbc}{n}
     {<-> \alphabet@@scale@sf ec-lmssdc10}{}
\DeclareFontShape{T1}{vlmss}{sbc}{sl}
     {<-> \alphabet@@scale@sf ec-lmssdo10}{}
\DeclareFontShape{T1}{vlmss}{sbc}{it}
     {<->ssub*vlmss/sbc/sl}{}
%%%%%%%%% bold extended series
\DeclareFontShape{T1}{vlmss}{bx}{n}
     {<-> \alphabet@@scale@sf ec-lmssbx10}{}
\DeclareFontShape{T1}{vlmss}{bx}{sl}
     {<-> \alphabet@@scale@sf ec-lmssbo10}{}
\DeclareFontShape{T1}{vlmss}{bx}{it}
     {<->ssub*vlmss/bx/sl}{}
\endinput