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\definefontfeature
30 [ebgaramondnormal]
31 [default]
32 [mode=node,
33 ccmp=yes,
34 calt=yes,
35 dlig=no,
36 hlig=no,
37
38
39 onum=no,
40 pnum=yes,
41 script=latn]
42
43\definefontfeature
44 [ebgaramondsmallcaps]
45 [ebgaramondnormal]
46 [smcp=yes,c2sc=yes]
47
48\definefontfeature
49 [ysabeausmallcaps]
50 [default]
51 [smcp=yes,c2sc=yes]
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66\starttypescriptcollection[ebgaramond]
67
68
69
70
71
72
73
74 \doifunknownfontfeature {ebgaramondmathbold} {\definefontfeature[ebgaramondmathbold][boldened]}
75
76 \starttypescript [\s!serif] [ebgaramond]
77 \setups[font:fallback:serif]
78 \definefontsynonym [\s!Serif] [\s!file:ebgaramondregular] [\s!features=ebgaramondnormal,\s!goodies=ebgaramondtext]
79 \definefontsynonym [\s!SerifItalic] [\s!file:ebgaramonditalic] [\s!features=ebgaramondnormal,\s!goodies=ebgaramondtext]
80 \definefontsynonym [\s!SerifBold] [\s!file:ebgaramondbold] [\s!features=ebgaramondnormal,\s!goodies=ebgaramondtext]
81 \definefontsynonym [\s!SerifBoldItalic][\s!file:ebgaramondbolditalic][\s!features=ebgaramondnormal,\s!goodies=ebgaramondtext]
82 \definefontsynonym [\s!SerifCaps] [\s!Serif] [\s!features=ebgaramondsmallcaps]
83 \stoptypescript
84
85 \starttypescript [\s!sans] [ysabeau]
86
87 \definefontsynonym [\s!Sans] [\s!file:ysabeauregular] [\s!features=\s!default]
88 \definefontsynonym [\s!SansItalic] [\s!file:ysabeauitalic] [\s!features=\s!default]
89 \definefontsynonym [\s!SansBold] [\s!file:ysabeaubold] [\s!features=\s!default]
90 \definefontsynonym [\s!SansBoldItalic][\s!file:ysabeaubolditalic] [\s!features=\s!default]
91 \definefontsynonym [\s!SansCaps] [\s!Sans] [\s!features=ysabeausmallcaps]
92 \stoptypescript
93
94 \starttypescript [\s!math] [ebgaramond,ebgaramondnt]
95 \checkedmapfontsize[\typescripttwo][\s!script] [.70]
96 \checkedmapfontsize[\typescripttwo][\s!scriptscript][.50]
97 \stoptypescript
98
99 \starttypescript [\s!math] [ebgaramond] [\s!name]
100 \definefontsynonym [\s!MathRoman] [\s!file:garamondmath.otf] [\s!features={\s!math\mathsizesuffix,ebgaramond:mathextra,mathextra},\s!goodies=ebgaramondmath]
101 \definefontsynonym [\s!MathRomanBold] [\s!file:garamondmath.otf] [\s!features={\s!math\mathsizesuffix,ebgaramondmathbold,ebgaramond:mathextra,mathextra},\s!goodies=ebgaramondmath]
102 \stoptypescript
103
104 \starttypescript [\s!math] [ebgaramondnt] [\s!name]
105 \definefontsynonym [\s!MathRoman] [\s!file:garamondmath.otf] [\s!features={\s!math\mathsizesuffix,ebgaramond:mathextra,mathextra}]
106 \definefontsynonym [\s!MathRomanBold] [\s!file:garamondmath.otf] [\s!features={\s!math\mathsizesuffix,ebgaramondmathbold,ebgaramond:mathextra,mathextra}]
107 \stoptypescript
108
109 \starttypescript[ebgaramond,ebgaramondnt]
110 \definetypeface [\typescriptone] [\s!rm] [\s!serif] [ebgaramond] [\s!default]
111 \definetypeface [\typescriptone] [\s!ss] [\s!sans] [ysabeau] [\s!default]
112 \definetypeface [\typescriptone] [\s!tt] [\s!mono] [dejavu] [\s!default] [\s!rscale=0.8]
113
114 \definetypeface [\typescriptone] [\s!mm] [\s!math] [\typescriptone] [\s!default]
115 \stoptypescript
116
117\stoptypescriptcollection
118 |