summaryrefslogtreecommitdiff
path: root/fonts/variablelm/tex/ot1vlmr.fd
blob: eee3b8e038534db0880117ba90861811e7eac1ba (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
%
% This file is an extended version of the file ot1lmr.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{ot1vlmr.fd}[2017/02/10 v1.0 font defs for variable Latin Modern]

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

\DeclareFontFamily{OT1}{vlmr}{}
\DeclareFontShape{OT1}{vlmr}{m}{n}%
     {<-5.5>    \alphabet@@scale rm-lmr5
      <5.5-6.5> \alphabet@@scale rm-lmr6
      <6.5-7.5> \alphabet@@scale rm-lmr7
      <7.5-8.5> \alphabet@@scale rm-lmr8
      <8.5-9.5> \alphabet@@scale rm-lmr9
      <9.5-11>  \alphabet@@scale rm-lmr10
      <11-15>   \alphabet@@scale rm-lmr12
      <15->     \alphabet@@scale rm-lmr17
      }{}
\DeclareFontShape{OT1}{vlmr}{m}{sl}%
     {<-8.5>    \alphabet@@scale rm-lmro8
      <8.5-9.5> \alphabet@@scale rm-lmro9
      <9.5-11>  \alphabet@@scale rm-lmro10
      <11-15>   \alphabet@@scale rm-lmro12
      <15->     \alphabet@@scale rm-lmro17
      }{}
\DeclareFontShape{OT1}{vlmr}{m}{it}%
     {<-7.5>    \alphabet@@scale rm-lmri7
      <7.5-8.5> \alphabet@@scale rm-lmri8
      <8.5-9.5> \alphabet@@scale rm-lmri9
      <9.5-11>  \alphabet@@scale rm-lmri10
      <11->     \alphabet@@scale rm-lmri12
      }{}
\DeclareFontShape{OT1}{vlmr}{m}{sc}%
     {<-> \alphabet@@scale rm-lmcsc10}{}
\DeclareFontShape{OT1}{vlmr}{m}{ui}%
     {<-> \alphabet@@scale rm-lmu10}{}
%
% Is this the right 'shape'?:
\DeclareFontShape{OT1}{vlmr}{m}{scsl}%
     {<-> \alphabet@@scale rm-lmcsco10}{}
%%%%%%% bold series
\DeclareFontShape{OT1}{vlmr}{b}{n}
     {<-> \alphabet@@scale rm-lmb10}{}
\DeclareFontShape{OT1}{vlmr}{b}{sl}
     {<-> \alphabet@@scale rm-lmbo10}{}
%%%%%%% bold extended series
\DeclareFontShape{OT1}{vlmr}{bx}{n}
     {<-5.5>    \alphabet@@scale rm-lmbx5
      <5.5-6.5> \alphabet@@scale rm-lmbx6
      <6.5-7.5> \alphabet@@scale rm-lmbx7
      <7.5-8.5> \alphabet@@scale rm-lmbx8
      <8.5-9.5> \alphabet@@scale rm-lmbx9
      <9.5-11>  \alphabet@@scale rm-lmbx10
      <11->    \alphabet@@scale rm-lmbx12
      }{}
\DeclareFontShape{OT1}{vlmr}{bx}{it}
     {<-> \alphabet@@scale rm-lmbxi10}{}
\DeclareFontShape{OT1}{vlmr}{bx}{sl}
     {<-> \alphabet@@scale rm-lmbxo10}{}
%%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{OT1}{vlmr}{b}{it}
     {<->sub*vlmr/b/sl}{}
\endinput