1
2
3
4
5
6
7
8
9
10
11
12
13
14\starttypescriptcollection[modernlatin]
15
16 \doifunknownfontfeature {lmserifregular} {\definefontfeature[lmserifregular][boldened15]}
17 \doifunknownfontfeature {lmserifbold} {\definefontfeature[lmserifbold] [boldened30]}
18 \doifunknownfontfeature {lmsansregular} {\definefontfeature[lmsansregular] [boldened10]}
19 \doifunknownfontfeature {lmsansbold} {\definefontfeature[lmsansbold] [boldened20]}
20 \doifunknownfontfeature {lmmonoregular} {\definefontfeature[lmmonoregular] [boldened20]}
21 \doifunknownfontfeature {lmmonobold} {\definefontfeature[lmmonobold] [boldened30]}
22 \doifunknownfontfeature {lmmathregular} {\definefontfeature[lmmathregular] [boldened15]}
23 \doifunknownfontfeature {lmmathbold} {\definefontfeature[lmmathbold] [boldened30]}
24
25 \starttypescript [\s!serif] [modernlatin,modernlatin]
26
27 \definefontsynonym [Serif] [\s!file:lmroman10regular] [\s!features={\s!default,lmserifregular}]
28 \definefontsynonym [SerifItalic] [\s!file:lmroman10italic] [\s!features={\s!default,lmserifregular}]
29 \definefontsynonym [SerifSlanted] [\s!file:lmromanslant10regular] [\s!features={\s!default,lmserifregular}]
30 \definefontsynonym [SerifBold] [\s!file:lmroman10regular] [\s!features={\s!default,lmserifbold}]
31 \definefontsynonym [SerifBoldItalic] [\s!file:lmroman10italic] [\s!features={\s!default,lmserifbold}]
32 \definefontsynonym [SerifBoldSlanted][\s!file:lmromanslant10regular] [\s!features={\s!default,lmserifbold}]
33 \stoptypescript
34
35 \starttypescript [\s!serif] [lessmodernlatin,lessmodernlatin]
36
37 \definefontsynonym [Serif] [\s!file:lmroman10regular] [\s!features={\s!default,lmserifregular}]
38 \definefontsynonym [SerifItalic] [\s!file:lmroman10italic] [\s!features={\s!default,lmserifregular}]
39 \definefontsynonym [SerifSlanted] [\s!file:lmromanslant10regular] [\s!features={\s!default,lmserifregular}]
40 \definefontsynonym [SerifBold] [\s!file:lmroman10bold] [\s!features={\s!default,lmserifregular}]
41 \definefontsynonym [SerifBoldItalic] [\s!file:lmroman10bolditalic] [\s!features={\s!default,lmserifregular}]
42 \definefontsynonym [SerifBoldSlanted][\s!file:lmromanslant10bold] [\s!features={\s!default,lmserifregular}]
43 \stoptypescript
44
45 \starttypescript [\s!sans] [modernlatin,modernlatin]
46
47 \definefontsynonym [Sans] [\s!file:lmsans10regular] [\s!features={\s!default,lmsansregular}]
48 \definefontsynonym [SansItalic] [\s!file:lmsans10oblique] [\s!features={\s!default,lmsansregular}]
49 \definefontsynonym [SansSlanted] [\s!file:lmsans10oblique] [\s!features={\s!default,lmsansregular}]
50 \definefontsynonym [SansBold] [\s!file:lmsans10regular] [\s!features={\s!default,lmsansbold}]
51 \definefontsynonym [SansBoldItalic] [\s!file:lmsans10oblique] [\s!features={\s!default,lmsansbold}]
52 \definefontsynonym [SansBoldSlanted][\s!file:lmsans10oblique] [\s!features={\s!default,lmsansbold}]
53 \stoptypescript
54
55 \starttypescript [\s!sans] [lessmodernlatin,lessmodernlatin]
56
57 \definefontsynonym [Sans] [\s!file:lmsans10regular] [\s!features={\s!default,lmsansregular}]
58 \definefontsynonym [SansItalic] [\s!file:lmsans10oblique] [\s!features={\s!default,lmsansregular}]
59 \definefontsynonym [SansSlanted] [\s!file:lmsans10boldoblique] [\s!features={\s!default,lmsansregular}]
60 \definefontsynonym [SansBold] [\s!file:lmsans10bold] [\s!features={\s!default,lmsansregular}]
61 \definefontsynonym [SansBoldItalic] [\s!file:lmsans10boldoblique] [\s!features={\s!default,lmsansregular}]
62 \definefontsynonym [SansBoldSlanted][\s!file:lmsans10boldoblique] [\s!features={\s!default,lmsansregular}]
63 \stoptypescript
64
65 \starttypescript [\s!mono] [modernlatin,modernlatin]
66
67 \definefontsynonym [Mono] [\s!file:lmmono10regular] [\s!features={\s!default,lmmonoregular}]
68 \definefontsynonym [MonoItalic] [\s!file:lmmono10italic] [\s!features={\s!default,lmmonoregular}]
69 \definefontsynonym [MonoSlanted] [\s!file:lmmonoslant10regular] [\s!features={\s!default,lmmonoregular}]
70 \definefontsynonym [MonoBold] [\s!file:lmmono10regular] [\s!features={\s!default,lmmonobold}]
71 \definefontsynonym [MonoBoldItalic] [\s!file:lmmono10italic] [\s!features={\s!default,lmmonobold}]
72 \definefontsynonym [MonoBoldSlanted][\s!file:lmmonoslant10regular] [\s!features={\s!default,lmmonobold}]
73 \stoptypescript
74
75 \starttypescript [\s!mono] [lessmodernlatin,lessmodernlatin]
76
77 \definefontsynonym [Mono] [\s!file:lmmono10regular] [\s!features={\s!default,lmmonoregular}]
78 \definefontsynonym [MonoItalic] [\s!file:lmmono10italic] [\s!features={\s!default,lmmonoregular}]
79 \definefontsynonym [MonoSlanted] [\s!file:lmmonoslant10regular] [\s!features={\s!default,lmmonoregular}]
80 \definefontsynonym [MonoBold] [\s!file:lmmono10bold] [\s!features={\s!default,lmmonoregular}]
81 \definefontsynonym [MonoBoldItalic] [\s!file:lmmono10bolditalic] [\s!features={\s!default,lmmonoregular}]
82 \definefontsynonym [MonoBoldSlanted][\s!file:lmmonoslant10regular] [\s!features={\s!default,lmmonobold}]
83 \stoptypescript
84
85 \starttypescript [\s!math] [modernlatin,modernlatin,lessmodernlatin,lessmodernlatin]
86 \loadfontgoodies[modernmath]
87 \definefontsynonym [MathRoman] [\v!file:latinmodernmath.otf] [\s!features={\s!math\mathsizesuffix,lmmath,lmmathregular,mathextra},\s!goodies=modernmath]
88 \definefontsynonym [MathRomanBold] [\v!file:latinmodernmath.otf] [\s!features={\s!math\mathsizesuffix,lmmath,lmmathbold,mathextra},\s!goodies=modernmath]
89 \stoptypescript
90
91 \starttypescript [modernlatin,modernlatin,lessmodernlatin,lessmodernlatin]
92 \definetypeface [\typescriptone] [\s!rm] [\s!serif] [\typescriptone] [\s!default]
93 \definetypeface [\typescriptone] [\s!ss] [\s!sans] [\typescriptone] [\s!default]
94 \definetypeface [\typescriptone] [\s!tt] [\s!mono] [\typescriptone] [\s!default]
95 \definetypeface [\typescriptone] [\s!mm] [\s!math] [\typescriptone] [\s!default]
96 \quittypescriptscanning
97 \stoptypescript
98
99\stoptypescriptcollection
100
101\endinput
102 |