summaryrefslogtreecommitdiff
path: root/fonts/comicneue/tex/LY1ComicNeue-TLF.fd
blob: 09a4d293bbf67624f573d959050f6b763f9116e7 (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
120
121
122
123
124
125
126
127
%% Generated by autoinst on 2020/04/26
%%
\ProvidesFile{LY1ComicNeue-TLF.fd}
    [2020/04/26 (autoinst)  Font definitions for LY1/ComicNeue-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 ComicNeue@scale\endcsname\relax
    \let\ComicNeue@@scale\@empty
\else
    \edef\ComicNeue@@scale{s*[\csname ComicNeue@scale\endcsname]}%
\fi

\DeclareFontFamily{LY1}{ComicNeue-TLF}{}


%   ----  bold  ----

\DeclareFontShape{LY1}{ComicNeue-TLF}{bold}{n}{
      <-> \ComicNeue@@scale ComicNeue-Bold-tlf-ly1
}{}

\DeclareFontShape{LY1}{ComicNeue-TLF}{bold}{it}{
      <-> \ComicNeue@@scale ComicNeue-BoldItalic-tlf-ly1
}{}

\DeclareFontShape{LY1}{ComicNeue-TLF}{bold}{sl}{
      <-> ssub * ComicNeue-TLF/bold/it
}{}


%   ----  light  ----

\DeclareFontShape{LY1}{ComicNeue-TLF}{light}{n}{
      <-> \ComicNeue@@scale ComicNeue-Light-tlf-ly1
}{}

\DeclareFontShape{LY1}{ComicNeue-TLF}{light}{it}{
      <-> \ComicNeue@@scale ComicNeue-LightItalic-tlf-ly1
}{}

\DeclareFontShape{LY1}{ComicNeue-TLF}{light}{sl}{
      <-> ssub * ComicNeue-TLF/light/it
}{}


%   ----  regular  ----

\DeclareFontShape{LY1}{ComicNeue-TLF}{regular}{it}{
      <-> \ComicNeue@@scale ComicNeue-Italic-tlf-ly1
}{}

\DeclareFontShape{LY1}{ComicNeue-TLF}{regular}{n}{
      <-> \ComicNeue@@scale ComicNeue-Regular-tlf-ly1
}{}

\DeclareFontShape{LY1}{ComicNeue-TLF}{regular}{sl}{
      <-> ssub * ComicNeue-TLF/regular/it
}{}

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

%   l --> light

\DeclareFontShape{LY1}{ComicNeue-TLF}{l}{sl}{
      <-> alias * ComicNeue-TLF/light/sl
}{}

\DeclareFontShape{LY1}{ComicNeue-TLF}{l}{it}{
      <-> alias * ComicNeue-TLF/light/it
}{}

\DeclareFontShape{LY1}{ComicNeue-TLF}{l}{n}{
      <-> alias * ComicNeue-TLF/light/n
}{}


%   m --> regular

\DeclareFontShape{LY1}{ComicNeue-TLF}{m}{it}{
      <-> alias * ComicNeue-TLF/regular/it
}{}

\DeclareFontShape{LY1}{ComicNeue-TLF}{m}{n}{
      <-> alias * ComicNeue-TLF/regular/n
}{}

\DeclareFontShape{LY1}{ComicNeue-TLF}{m}{sl}{
      <-> alias * ComicNeue-TLF/regular/sl
}{}


%   b --> bold

\DeclareFontShape{LY1}{ComicNeue-TLF}{b}{n}{
      <-> alias * ComicNeue-TLF/bold/n
}{}

\DeclareFontShape{LY1}{ComicNeue-TLF}{b}{it}{
      <-> alias * ComicNeue-TLF/bold/it
}{}

\DeclareFontShape{LY1}{ComicNeue-TLF}{b}{sl}{
      <-> alias * ComicNeue-TLF/bold/sl
}{}

\DeclareFontShape{LY1}{ComicNeue-TLF}{bx}{sl}{
      <-> ssub * ComicNeue-TLF/b/sl
}{}

\DeclareFontShape{LY1}{ComicNeue-TLF}{bx}{it}{
      <-> ssub * ComicNeue-TLF/b/it
}{}

\DeclareFontShape{LY1}{ComicNeue-TLF}{bx}{n}{
      <-> ssub * ComicNeue-TLF/b/n
}{}

\endinput