summaryrefslogtreecommitdiff
path: root/fonts/librecaslon/latex/OT1LibreCsln-TOsF.fd
blob: ba74faf2a8353b3014dde7283f6870a149e1d662 (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
%% Generated by autoinst on 2020/07/27
%%
\ProvidesFile{OT1LibreCsln-TOsF.fd}
    [2020/07/27 (autoinst)  Font definitions for OT1/LibreCsln-TOsF.]

\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 LibreCsln@scale\endcsname\relax
    \let\LibreCsln@@scale\@empty
\else
    \edef\LibreCsln@@scale{s*[\csname LibreCsln@scale\endcsname]}%
\fi

\DeclareFontFamily{OT1}{LibreCsln-TOsF}{}


%   ----  regular  ----

\DeclareFontShape{OT1}{LibreCsln-TOsF}{regular}{n}{
      <-> \LibreCsln@@scale LibreCsln-Regular-tosf-ot1
}{}

\DeclareFontShape{OT1}{LibreCsln-TOsF}{regular}{it}{
      <-> \LibreCsln@@scale LibreCsln-Italic-tosf-ot1
}{}

\DeclareFontShape{OT1}{LibreCsln-TOsF}{regular}{sl}{
      <-> ssub * LibreCsln-TOsF/regular/it
}{}


%   ----  bold  ----

\DeclareFontShape{OT1}{LibreCsln-TOsF}{bold}{n}{
      <-> \LibreCsln@@scale LibreCsln-Bold-tosf-ot1
}{}

\DeclareFontShape{OT1}{LibreCsln-TOsF}{bold}{it}{
      <-> \LibreCsln@@scale LibreCsln-BoldItalic-tosf-ot1
}{}

\DeclareFontShape{OT1}{LibreCsln-TOsF}{bold}{sl}{
      <-> ssub * LibreCsln-TOsF/bold/it
}{}

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

%   m --> regular

\DeclareFontShape{OT1}{LibreCsln-TOsF}{m}{sl}{
      <-> alias * LibreCsln-TOsF/regular/sl
}{}

\DeclareFontShape{OT1}{LibreCsln-TOsF}{m}{n}{
      <-> alias * LibreCsln-TOsF/regular/n
}{}

\DeclareFontShape{OT1}{LibreCsln-TOsF}{m}{it}{
      <-> alias * LibreCsln-TOsF/regular/it
}{}


%   b --> bold

\DeclareFontShape{OT1}{LibreCsln-TOsF}{b}{sl}{
      <-> alias * LibreCsln-TOsF/bold/sl
}{}

\DeclareFontShape{OT1}{LibreCsln-TOsF}{b}{n}{
      <-> alias * LibreCsln-TOsF/bold/n
}{}

\DeclareFontShape{OT1}{LibreCsln-TOsF}{b}{it}{
      <-> alias * LibreCsln-TOsF/bold/it
}{}

\DeclareFontShape{OT1}{LibreCsln-TOsF}{bx}{n}{
      <-> ssub * LibreCsln-TOsF/b/n
}{}

\DeclareFontShape{OT1}{LibreCsln-TOsF}{bx}{sl}{
      <-> ssub * LibreCsln-TOsF/b/sl
}{}

\DeclareFontShape{OT1}{LibreCsln-TOsF}{bx}{it}{
      <-> ssub * LibreCsln-TOsF/b/it
}{}

\endinput