1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22\starttypescriptcollection[newcomputermodern]
23
24 \doifunknownfontfeature {newcomputermodernmathbold} {\definefontfeature[newcomputermodernmathbold][boldened]}
25
26 \starttypescript [\s!serif] [newcomputermodern] [\s!name]
27 \setups[\s!font:\s!fallback:\s!serif]
28 \definefontsynonym [\s!Serif] [\s!file:newcm10regular.otf] [\s!features=\s!default,\s!fallbacks=\s!Serif,\s!goodies=newcomputermoderntext]
29 \definefontsynonym [\s!SerifBold] [\s!file:newcm10bold.otf] [\s!features=\s!default,\s!fallbacks=\s!SerifBold,\s!goodies=newcomputermoderntext]
30 \definefontsynonym [\s!SerifItalic] [\s!file:newcm10italic.otf] [\s!features=\s!default,\s!fallbacks=\s!SerifItalic,\s!goodies=newcomputermoderntext]
31 \definefontsynonym [\s!SerifBoldItalic] [\s!file:newcm10bolditalic.otf] [\s!features=\s!default,\s!fallbacks=\s!SerifBoldItalic,\s!goodies=newcomputermoderntext]
32 \stoptypescript
33
34 \starttypescript [\s!sans] [newcomputermodern] [\s!name]
35 \setups[\s!font:\s!fallback:\s!sans]
36 \definefontsynonym [\s!Sans] [\s!file:newcmsans10regular.otf] [\s!features=\s!default,\s!fallbacks=\s!Sans]
37 \definefontsynonym [\s!SansBold] [\s!file:newcmsans10bold.otf] [\s!features=\s!default,\s!fallbacks=\s!SansBold]
38 \definefontsynonym [\s!SansItalic] [\s!file:newcmsans10oblique.otf] [\s!features=\s!default,\s!fallbacks=\s!SansItalic]
39 \definefontsynonym [\s!SansBoldItalic] [\s!file:newcmsans10boldoblique.otf] [\s!features=\s!default,\s!fallbacks=\s!SansBoldItalic]
40 \stoptypescript
41
42 \starttypescript [\s!mono] [newcomputermodern] [\s!name]
43 \setups[\s!font:\s!fallback:\s!mono]
44 \definefontsynonym [\s!Mono] [\s!file:newcmmono10regular.otf] [\s!features=\s!none,\s!fallbacks=\s!Mono]
45 \definefontsynonym [\s!MonoBold] [\s!file:newcmmono10bold.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoBold]
46 \definefontsynonym [\s!MonoItalic] [\s!file:newcmmono10italic.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoItalic]
47 \definefontsynonym [\s!MonoBoldItalic] [\s!file:newcmmono10boldoblique.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoBoldItalic]
48 \stoptypescript
49
50 \starttypescript [\s!math][newcomputermodern] [\s!name]
51
52 \definefontsynonym[\s!MathRoman] [\s!file:newcmmathregular.otf][\s!features={\s!math\mathsizesuffix,newcmmathextra,mathextra},\s!goodies=newcomputermodernmath]
53 \definefontsynonym[\s!MathRomanBold][\s!file:newcmmathregular.otf][\s!features={\s!math\mathsizesuffix,newcomputermodernmathbold,newcmmathextra,mathextra},\s!goodies=newcomputermodernmath]
54 \stoptypescript
55
56 \starttypescript [\s!serif] [newcomputermodernbook] [\s!name]
57 \setups[\s!font:\s!fallback:\s!serif]
58 \definefontsynonym [\s!Serif] [\s!file:newcm10book.otf] [\s!features=\s!default,\s!fallbacks=\s!Serif,\s!goodies=newcomputermoderntext]
59 \definefontsynonym [\s!SerifBold] [\s!file:newcm10bold.otf] [\s!features=\s!default,\s!fallbacks=\s!SerifBold,\s!goodies=newcomputermoderntext]
60 \definefontsynonym [\s!SerifItalic] [\s!file:newcm10bookitalic.otf] [\s!features=\s!default,\s!fallbacks=\s!SerifItalic,\s!goodies=newcomputermoderntext]
61 \definefontsynonym [\s!SerifBoldItalic] [\s!file:newcm10bolditalic.otf] [\s!features=\s!default,\s!fallbacks=\s!SerifBoldItalic,\s!goodies=newcomputermoderntext]
62 \stoptypescript
63
64 \starttypescript [\s!sans] [newcomputermodernbook] [\s!name]
65 \setups[\s!font:\s!fallback:\s!sans]
66 \definefontsynonym [\s!Sans] [\s!file:newcmsans10book.otf] [\s!features=\s!default,\s!fallbacks=\s!Sans]
67 \definefontsynonym [\s!SansBold] [\s!file:newcmsans10bold.otf] [\s!features=\s!default,\s!fallbacks=\s!SansBold]
68 \definefontsynonym [\s!SansItalic] [\s!file:newcmsans10bookoblique.otf] [\s!features=\s!default,\s!fallbacks=\s!SansItalic]
69 \definefontsynonym [\s!SansBoldItalic] [\s!file:newcmsans10boldoblique.otf] [\s!features=\s!default,\s!fallbacks=\s!SansBoldItalic]
70 \stoptypescript
71
72 \starttypescript [\s!mono] [newcomputermodernbook] [\s!name]
73 \setups[\s!font:\s!fallback:\s!mono]
74 \definefontsynonym [\s!Mono] [\s!file:newcmmono10book.otf] [\s!features=\s!none,\s!fallbacks=\s!Mono]
75 \definefontsynonym [\s!MonoBold] [\s!file:newcmmono10bold.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoBold]
76 \definefontsynonym [\s!MonoItalic] [\s!file:newcmmono10bookitalic.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoItalic]
77 \definefontsynonym [\s!MonoBoldItalic] [\s!file:newcmmono10boldoblique.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoBoldItalic]
78 \stoptypescript
79
80 \starttypescript [\s!math][newcomputermodernbook] [\s!name]
81
82 \definefontsynonym[\s!MathRoman] [\s!file:newcmmathbook.otf][\s!features={\s!math\mathsizesuffix,newcmmathextra,mathextra},\s!goodies=newcomputermodernmath]
83 \definefontsynonym[\s!MathRomanBold][\s!file:newcmmathbook.otf][\s!features={\s!math\mathsizesuffix,newcomputermodernmathbold,newcmmathextra,mathextra},\s!goodies=newcomputermodernmath]
84 \stoptypescript
85
86 \starttypescript[newcomputermodern,newcomputermodernbook]
87 \definetypeface [\typescriptone] [\s!rm] [\s!serif] [\typescriptone] [\s!default]
88 \definetypeface [\typescriptone] [\s!ss] [\s!sans] [\typescriptone] [\s!default]
89 \definetypeface [\typescriptone] [\s!tt] [\s!mono] [\typescriptone] [\s!default]
90 \definetypeface [\typescriptone] [\s!mm] [\s!math] [\typescriptone] [\s!default]
91 \stoptypescript
92
93\stoptypescriptcollection
94 |