type-imp-lucida-opentype.mkiv /size: 4386 b    last modification: 2020-07-01 14:35
1%D \module
2%D   [       file=type-lucida-opentype,
3%D        version=2011.05.18,
4%D          title=\CONTEXT\ Typescript Macros,
5%D       subtitle=Lucida Nova Opentype,
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% NOTA BENE: class features and goodies get expanded!
15
16\starttypescriptcollection[lucida-opentype]
17
18    \starttypescript [lucidaot,lucidadk]
19        \loadfontgoodies[lucida-opentype-math]
20        \definetypeface [\typescriptone] [\s!rm] [\s!serif]       [\typescriptone] [\s!default] [\s!features=\s!default]
21        \definetypeface [\typescriptone] [\s!ss] [\s!sans]        [\typescriptone] [\s!default] [\s!features=\s!default]
22        \definetypeface [\typescriptone] [\s!tt] [\s!mono]        [\typescriptone] [\s!default] [\s!features=\s!none]
23        \definetypeface [\typescriptone] [\s!hw] [\s!handwriting] [\typescriptone] [\s!default] [\s!features=\s!default]
24        \definetypeface [\typescriptone] [\s!cg] [\s!calligraphy] [\typescriptone] [\s!default] [\s!features=\s!default]
25        \definetypeface [\typescriptone] [\s!mm] [\s!math]        [\typescriptone] [\s!default]
26        % for the moment here:
27        \setupmathrendering[\typescriptone][\s!it=\s!italic]
28        \quittypescriptscanning
29    \stoptypescript
30
31    \starttypescript [\s!serif] [lucidaot,lucidadk]
32        \definefontsynonym [\s!Serif]            [\s!file:LucidaBrightOT.otf]
33        \definefontsynonym [\s!SerifBold]        [\s!file:LucidaBrightOT-Demi.otf]
34        \definefontsynonym [\s!SerifItalic]      [\s!file:LucidaBrightOT-Italic.otf]
35        \definefontsynonym [\s!SerifBoldItalic]  [\s!file:LucidaBrightOT-DemiItalic.otf]
36        \definefontsynonym [\s!SerifSlanted]     [\s!SerifItalic]
37        \definefontsynonym [\s!SerifBoldSlanted] [\s!SerifBoldItalic]
38    \stoptypescript
39
40    \starttypescript [\s!sans] [lucidaot,lucidadk]
41        \definefontsynonym [\s!Sans]            [\s!file:LucidaSansOT.otf]
42        \definefontsynonym [\s!SansBold]        [\s!file:LucidaSansOT-Demi.otf]
43        \definefontsynonym [\s!SansItalic]      [\s!file:LucidaSansOT-Italic.otf]
44        \definefontsynonym [\s!SansBoldItalic]  [\s!file:LucidaSansOT-DemiItalic.otf]
45        \definefontsynonym [\s!SansSlanted]     [\s!SansItalic]
46        \definefontsynonym [\s!SansBoldSlanted] [\s!SansBoldItalic]
47    \stoptypescript
48
49    \starttypescript [\s!mono] [lucidaot]
50        \definefontsynonym [\s!Mono]            [\s!file:LucidaSansTypewriterOT.otf]
51        \definefontsynonym [\s!MonoBold]        [\s!file:LucidaSansTypewriterOT-Bold.otf]
52        \definefontsynonym [\s!MonoItalic]      [\s!file:LucidaSansTypewriterOT-Oblique.otf]
53        \definefontsynonym [\s!MonoBoldItalic]  [\s!file:LucidaSansTypewriterOT-BoldOblique.otf]
54        \definefontsynonym [\s!MonoSlanted]     [\s!MonoItalic]
55        \definefontsynonym [\s!MonoBoldSlanted] [\s!MonoBoldItalic]
56    \stoptypescript
57
58    \starttypescript [\s!mono] [lucidadk]
59        \definefontsynonym [\s!Mono]            [\s!file:LucidaGrandeMonoDK.otf]
60        \definefontsynonym [\s!MonoBold]        [\s!file:LucidaGrandeMonoDK-Bold.otf]
61        \definefontsynonym [\s!MonoItalic]      [\s!file:LucidaGrandeMonoDK-Oblique.otf]
62        \definefontsynonym [\s!MonoBoldItalic]  [\s!file:LucidaGrandeMonoDK-BoldOblique.otf]
63        \definefontsynonym [\s!MonoSlanted]     [\s!MonoItalic]
64        \definefontsynonym [\s!MonoBoldSlanted] [\s!MonoBoldItalic]
65    \stoptypescript
66
67    \starttypescript [\s!math] [lucidaot,lucidadk]
68        \definefontsynonym [\s!MathRoman]     [\s!file:LucidaBrightMathOT.otf]      [\s!features={\s!math\mathsizesuffix,mathextra},\s!goodies=lucida-opentype-math]
69        \definefontsynonym [\s!MathRomanBold] [\s!file:LucidaBrightMathOT-Demi.otf] [\s!features={\s!math\mathsizesuffix,mathextra},\s!goodies=lucida-opentype-math]
70    \stoptypescript
71
72    \starttypescript [\s!handwriting] [lucidaot,lucidadk]
73        \definefontsynonym [\s!Handwriting] [\s!file:LucidaHandwritingOT.otf]
74    \stoptypescript
75
76    \starttypescript [\s!calligraphy] [lucidaot,lucidadk]
77        \definefontsynonym [\s!Calligraphy] [\s!file:LucidaCalligraphyOT.otf]
78    \stoptypescript
79
80\stoptypescriptcollection
81
82\endinput
83