summaryrefslogtreecommitdiff
path: root/fonts/gofonts/latex/OT1GoMono-TLF.fd
blob: 33aaa4069724aa4c77d12629c2253ff3cc0574c6 (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{OT1GoMono-TLF.fd}
    [2019/04/19 (autoinst)  Font definitions for OT1/GoMono-TLF.]

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

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


%   ----  regular  ----

\DeclareFontShape{OT1}{GoMono-TLF}{regular}{n}{
      <-> \GoMono@@scale GoMono-tlf-ot1
}{}

\DeclareFontShape{OT1}{GoMono-TLF}{regular}{it}{
      <-> \GoMono@@scale GoMono-Italic-tlf-ot1
}{}

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


%   ----  bold  ----

\DeclareFontShape{OT1}{GoMono-TLF}{bold}{n}{
      <-> \GoMono@@scale GoMono-Bold-tlf-ot1
}{}

\DeclareFontShape{OT1}{GoMono-TLF}{bold}{it}{
      <-> \GoMono@@scale GoMono-BoldItalic-tlf-ot1
}{}

\DeclareFontShape{OT1}{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{OT1}{GoMono-TLF}{m}{sl}{
      <-> ssub * GoMono-TLF/regular/sl
}{}

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

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


%   b --> bold

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

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

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

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

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

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

\endinput