summaryrefslogtreecommitdiff
path: root/fonts/theanooldstyle/latex/LGRTheanoOldStyle-TOsF.fd
blob: 0d8f44c17a1c408ad709ee7caedd4a0f56f1ea9a (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
%% Generated by autoinst on 2019/07/27
%%
\ProvidesFile{LGRTheanoOldStyle-TOsF.fd}
    [2019/07/27 (autoinst)  Font definitions for LGR/TheanoOldStyle-TOsF.]

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

\DeclareFontFamily{LGR}{TheanoOldStyle-TOsF}{}


%   ----  regular  ----

\DeclareFontShape{LGR}{TheanoOldStyle-TOsF}{regular}{n}{
      <-> \TheanoOldStyle@@scale TheanoOldStyle-Regular-tosf-lgr
}{}


%   ----  bold  ----

\DeclareFontShape{LGR}{TheanoOldStyle-TOsF}{bold}{n}{
      <-> \TheanoOldStyle@@scale TheanoOldStyle-Bold-tosf-lgr
}{}

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

%   m --> regular

\DeclareFontShape{LGR}{TheanoOldStyle-TOsF}{m}{n}{
      <-> ssub * TheanoOldStyle-TOsF/regular/n
}{}


%   b --> bold

\DeclareFontShape{LGR}{TheanoOldStyle-TOsF}{b}{n}{
      <-> ssub * TheanoOldStyle-TOsF/bold/n
}{}

\DeclareFontShape{LGR}{TheanoOldStyle-TOsF}{bx}{n}{
      <-> ssub * TheanoOldStyle-TOsF/b/n
}{}

\endinput