type-imp-adobegaramond.mkiv /size: 1777 b    last modification: 2024-01-16 10:22
1%D \module
2%D   [       file=type-imp-adobegaramond,
3%D        version=2021.10.30,
4%D          title=\CONTEXT\ Typescript Macros,
5%D       subtitle=Adobe Garamond,
6%D         author=Hans Hagen,
7%D           date=\currentdate,
8%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9%C
10%C This module is part of the \CONTEXT\ macro||package and is
11%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12%C details.
13
14
15\starttypescriptcollection[adobegaramond]
16
17    \starttypescript [\s!serif] [adobegaramond] [\s!name]
18        \setups[font:fallback:serif]
19        \definefontsynonym [\s!Serif]          [\s!file:AGaramondPro-Regular]
20        \definefontsynonym [\s!SerifItalic]    [\s!file:AGaramondPro-Italic] 
21        \definefontsynonym [\s!SerifBold]      [\s!file:AGaramondPro-Semibold]
22    \stoptypescript
23
24    \starttypescript [\s!sans] [frutiger] [\s!name]
25        \setups[font:fallback:sans]
26        \definefontsynonym [\s!Sans]          [\s!file:FrutigerLTStd-Roman] 
27        \definefontsynonym [\s!SansItalic]    [\s!file:FrutigerLTStd-Italic] 
28        \definefontsynonym [\s!SansBold]      [\s!file:FrutigerLTStd-Bold]
29    \stoptypescript
30
31    \starttypescript [\s!math] [garamond-math] [\s!name]
32        \loadfontgoodies[garamond-math]
33        \definefontsynonym [\s!MathRoman] [\s!file:garamond-math.otf] [\s!features={\s!math\mathsizesuffix,mathextra},\s!goodies=garamond-math]
34    \stoptypescript
35
36    \starttypescript[adobegaramond]
37        \definetypeface [adobegaramond] [\s!rm] [\s!serif] [adobegaramond] [\s!default]
38        \definetypeface [adobegaramond] [\s!ss] [\s!sans] [frutiger] [\s!default] [\s!rscale=0.85]
39        \definetypeface [adobegaramond] [\s!mm] [\s!math]  [garamond-math] [\s!default]
40    \stoptypescript
41
42\stoptypescriptcollection
43