summaryrefslogtreecommitdiff
path: root/fonts/gofonts/latex/TS1GoMono-TLF.fd
blob: e8fc5bb54d64a241193ba4006e346e94d1eb338c (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
%% Generated by autoinst on 2019/04/19
%%
\ProvidesFile{TS1GoMono-TLF.fd}
    [2019/04/19 (autoinst)  Font definitions for TS1/GoMono-TLF.]

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

\DeclareFontFamily{TS1}{GoMono-TLF}{\hyphenchar\font=-1}


%   ----  regular  ----

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

\DeclareFontShape{TS1}{GoMono-TLF}{regular}{it}{
      <-> \GoMono@@scale GoMono-Italic-tlf-ts1
}{}

\DeclareFontShape{TS1}{GoMono-TLF}{regular}{sl}{
      <-> ssub * GoMono-TLF/regular/it
}{}


%   ----  bold  ----

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

\DeclareFontShape{TS1}{GoMono-TLF}{bold}{it}{
      <-> \GoMono@@scale GoMono-BoldItalic-tlf-ts1
}{}

\DeclareFontShape{TS1}{GoMono-TLF}{bold}{sl}{
      <-> ssub * GoMono-TLF/bold/it
}{}

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

%   m --> regular

\DeclareFontShape{TS1}{GoMono-TLF}{m}{sl}{
      <-> ssub * GoMono-TLF/regular/sl
}{}

\DeclareFontShape{TS1}{GoMono-TLF}{m}{n}{
      <-> ssub * GoMono-TLF/regular/n
}{}

\DeclareFontShape{TS1}{GoMono-TLF}{m}{it}{
      <-> ssub * GoMono-TLF/regular/it
}{}


%   b --> bold

\DeclareFontShape{TS1}{GoMono-TLF}{b}{sl}{
      <-> ssub * GoMono-TLF/bold/sl
}{}

\DeclareFontShape{TS1}{GoMono-TLF}{b}{n}{
      <-> ssub * GoMono-TLF/bold/n
}{}

\DeclareFontShape{TS1}{GoMono-TLF}{b}{it}{
      <-> ssub * GoMono-TLF/bold/it
}{}

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

\DeclareFontShape{TS1}{GoMono-TLF}{bx}{sl}{
      <-> ssub * GoMono-TLF/b/sl
}{}

\DeclareFontShape{TS1}{GoMono-TLF}{bx}{it}{
      <-> ssub * GoMono-TLF/b/it
}{}

\endinput