summaryrefslogtreecommitdiff
path: root/fonts/librecaslon/latex/T1LibreCaslon-TOsF.fd
blob: 4accc6b915e9bfdf51081633684470f296332c85 (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/06/25
%%
\ProvidesFile{T1LibreCaslon-TOsF.fd}
    [2019/06/25 (autoinst)  Font definitions for T1/LibreCaslon-TOsF.]

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

\DeclareFontFamily{T1}{LibreCaslon-TOsF}{}


%   ----  text  ----

\DeclareFontShape{T1}{LibreCaslon-TOsF}{text}{n}{
      <-> \LibreCaslon@@scale LibreCaslonText-Regular-tosf-t1
}{}

\DeclareFontShape{T1}{LibreCaslon-TOsF}{text}{it}{
      <-> \LibreCaslon@@scale LibreCaslonText-Italic-tosf-t1
}{}

\DeclareFontShape{T1}{LibreCaslon-TOsF}{text}{sl}{
      <-> ssub * LibreCaslon-TOsF/text/it
}{}


%   ----  bold  ----

\DeclareFontShape{T1}{LibreCaslon-TOsF}{bold}{n}{
      <-> \LibreCaslon@@scale LibreCaslonText-Bold-tosf-t1
}{}

\DeclareFontShape{T1}{LibreCaslon-TOsF}{bold}{it}{
      <-> \LibreCaslon@@scale LibreCaslonText-BoldItalic-tosf-t1
}{}

\DeclareFontShape{T1}{LibreCaslon-TOsF}{bold}{sl}{
      <-> ssub * LibreCaslon-TOsF/bold/it
}{}

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

%   m --> text

\DeclareFontShape{T1}{LibreCaslon-TOsF}{m}{sl}{
      <-> ssub * LibreCaslon-TOsF/text/sl
}{}

\DeclareFontShape{T1}{LibreCaslon-TOsF}{m}{n}{
      <-> ssub * LibreCaslon-TOsF/text/n
}{}

\DeclareFontShape{T1}{LibreCaslon-TOsF}{m}{it}{
      <-> ssub * LibreCaslon-TOsF/text/it
}{}


%   b --> bold

\DeclareFontShape{T1}{LibreCaslon-TOsF}{b}{sl}{
      <-> ssub * LibreCaslon-TOsF/bold/sl
}{}

\DeclareFontShape{T1}{LibreCaslon-TOsF}{b}{n}{
      <-> ssub * LibreCaslon-TOsF/bold/n
}{}

\DeclareFontShape{T1}{LibreCaslon-TOsF}{b}{it}{
      <-> ssub * LibreCaslon-TOsF/bold/it
}{}

\DeclareFontShape{T1}{LibreCaslon-TOsF}{bx}{n}{
      <-> ssub * LibreCaslon-TOsF/b/n
}{}

\DeclareFontShape{T1}{LibreCaslon-TOsF}{bx}{sl}{
      <-> ssub * LibreCaslon-TOsF/b/sl
}{}

\DeclareFontShape{T1}{LibreCaslon-TOsF}{bx}{it}{
      <-> ssub * LibreCaslon-TOsF/b/it
}{}

\endinput