summaryrefslogtreecommitdiff
path: root/fonts/fira/latex/LGRFiraMono-TLF.fd
blob: c70474c48625a581332c2d735066281b74058efb (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
%% Generated by autoinst on 2019/06/04
%%
\ProvidesFile{LGRFiraMono-TLF.fd}
    [2019/06/04 (autoinst)  Font definitions for LGR/FiraMono-TLF.]

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

\DeclareFontFamily{LGR}{FiraMono-TLF}{\hyphenchar\font=-1}


%   ----  regular  ----

\DeclareFontShape{LGR}{FiraMono-TLF}{regular}{n}{
      <-> \FiraMono@@scale FiraMono-Regular-tlf-lgr
}{}

\DeclareFontShape{LGR}{FiraMono-TLF}{regular}{sl}{
      <-> \FiraMono@@scale FiraMono-Oblique-tlf-lgr
}{}

\DeclareFontShape{LGR}{FiraMono-TLF}{regular}{it}{
      <-> ssub * FiraMono-TLF/regular/sl
}{}


%   ----  bold  ----

\DeclareFontShape{LGR}{FiraMono-TLF}{bold}{n}{
      <-> \FiraMono@@scale FiraMono-Bold-tlf-lgr
}{}

\DeclareFontShape{LGR}{FiraMono-TLF}{bold}{sl}{
      <-> \FiraMono@@scale FiraMono-BoldOblique-tlf-lgr
}{}

\DeclareFontShape{LGR}{FiraMono-TLF}{bold}{it}{
      <-> ssub * FiraMono-TLF/bold/sl
}{}


%   ----  medium  ----

\DeclareFontShape{LGR}{FiraMono-TLF}{medium}{n}{
      <-> \FiraMono@@scale FiraMono-Medium-tlf-lgr
}{}

\DeclareFontShape{LGR}{FiraMono-TLF}{medium}{sl}{
      <-> \FiraMono@@scale FiraMono-MediumOblique-tlf-lgr
}{}

\DeclareFontShape{LGR}{FiraMono-TLF}{medium}{it}{
      <-> ssub * FiraMono-TLF/medium/sl
}{}

%
%  Extra 'ssub' rules to map the standard NFSS codes to our fancy names
%

%   m --> regular

\DeclareFontShape{LGR}{FiraMono-TLF}{m}{n}{
      <-> ssub * FiraMono-TLF/regular/n
}{}

\DeclareFontShape{LGR}{FiraMono-TLF}{m}{sl}{
      <-> ssub * FiraMono-TLF/regular/sl
}{}

\DeclareFontShape{LGR}{FiraMono-TLF}{m}{it}{
      <-> ssub * FiraMono-TLF/regular/it
}{}


%   sb --> medium

\DeclareFontShape{LGR}{FiraMono-TLF}{sb}{n}{
      <-> ssub * FiraMono-TLF/medium/n
}{}

\DeclareFontShape{LGR}{FiraMono-TLF}{sb}{sl}{
      <-> ssub * FiraMono-TLF/medium/sl
}{}

\DeclareFontShape{LGR}{FiraMono-TLF}{sb}{it}{
      <-> ssub * FiraMono-TLF/medium/it
}{}


%   b --> bold

\DeclareFontShape{LGR}{FiraMono-TLF}{b}{n}{
      <-> ssub * FiraMono-TLF/bold/n
}{}

\DeclareFontShape{LGR}{FiraMono-TLF}{b}{sl}{
      <-> ssub * FiraMono-TLF/bold/sl
}{}

\DeclareFontShape{LGR}{FiraMono-TLF}{b}{it}{
      <-> ssub * FiraMono-TLF/bold/it
}{}

\DeclareFontShape{LGR}{FiraMono-TLF}{bx}{sl}{
      <-> ssub * FiraMono-TLF/b/sl
}{}

\DeclareFontShape{LGR}{FiraMono-TLF}{bx}{n}{
      <-> ssub * FiraMono-TLF/b/n
}{}

\DeclareFontShape{LGR}{FiraMono-TLF}{bx}{it}{
      <-> ssub * FiraMono-TLF/b/it
}{}

\endinput