summaryrefslogtreecommitdiff
path: root/fonts/roboto/latex/TS1RobotoSlab-TLF.fd
blob: 23951439e50898108efcba9ed459c9c9c013ac99 (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
%% Generated by autoinst on 2019/12/11
%%
\ProvidesFile{TS1RobotoSlab-TLF.fd}
    [2019/12/11 (autoinst)  Font definitions for TS1/RobotoSlab-TLF.]

\ifcsname s@fct@alias\endcsname\else
\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo}
\gdef\@font@aliasinfo#1{%
    \@font@info{Font\space shape\space `\curr@fontshape'\space will
        \space be\space aliased\MessageBreak to\space `\mandatory@arg'}%
}
\fi

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

\DeclareFontFamily{TS1}{RobotoSlab-TLF}{}


%   ----  regular  ----

\DeclareFontShape{TS1}{RobotoSlab-TLF}{regular}{n}{
      <-> \RobotoSlab@@scale RobotoSlab-Regular-tlf-ts1
}{}


%   ----  thin  ----

\DeclareFontShape{TS1}{RobotoSlab-TLF}{thin}{n}{
      <-> \RobotoSlab@@scale RobotoSlab-Thin-tlf-ts1
}{}


%   ----  bold  ----

\DeclareFontShape{TS1}{RobotoSlab-TLF}{bold}{n}{
      <-> \RobotoSlab@@scale RobotoSlab-Bold-tlf-ts1
}{}


%   ----  light  ----

\DeclareFontShape{TS1}{RobotoSlab-TLF}{light}{n}{
      <-> \RobotoSlab@@scale RobotoSlab-Light-tlf-ts1
}{}

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

%   el --> thin

\DeclareFontShape{TS1}{RobotoSlab-TLF}{el}{n}{
      <-> alias * RobotoSlab-TLF/thin/n
}{}


%   l --> light

\DeclareFontShape{TS1}{RobotoSlab-TLF}{l}{n}{
      <-> alias * RobotoSlab-TLF/light/n
}{}


%   m --> regular

\DeclareFontShape{TS1}{RobotoSlab-TLF}{m}{n}{
      <-> alias * RobotoSlab-TLF/regular/n
}{}


%   b --> bold

\DeclareFontShape{TS1}{RobotoSlab-TLF}{b}{n}{
      <-> alias * RobotoSlab-TLF/bold/n
}{}

\DeclareFontShape{TS1}{RobotoSlab-TLF}{bx}{n}{
      <-> ssub * RobotoSlab-TLF/b/n
}{}

\endinput