1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16\loadtypescriptfile[dejavu]
17
18\starttypescriptcollection[cambria]
19
20 \pushglobalsetups
21
22 \startsetups[cambria]
23 \setupmathradical[\c!leftmargin=.05mq,\c!mindepth=.05mx]
24 \stopsetups
25
26 \popglobalsetups
27
28
29
30
31 \doifunknownfontfeature {cambriamathbold} {\definefontfeature[cambriamathbold][boldened]}
32
33 \starttypescript [\s!math] [cambria,cambriax,cambriay,cambriant,cambriam,cambriaa]
34 \checkedmapfontsize[\typescripttwo][\s!script] [.73]
35 \checkedmapfontsize[\typescripttwo][\s!scriptscript][.60]
36 \stoptypescript
37
38 \starttypescript [\s!math,\s!serif] [cambria,cambriax,cambriay,cambriant]
39
40 \definefontsynonym [CambriaMath] [\s!name:cambriamath]
41 \definefontsynonym [CambriaSerif] [\s!name:cambria]
42 \stoptypescript
43 \starttypescript [\s!math,\s!serif] [cambriam]
44
45 \definefontsynonym [CambriaMath] [\s!file:cambria.ttc(Cambria Math)]
46 \definefontsynonym [CambriaSerif] [\s!file:cambria.ttc(Cambria)]
47 \stoptypescript
48 \starttypescript [\s!math,\s!serif] [cambriaa]
49
50 \definefontsynonym [CambriaMath] [\s!file:cambmath.ttf]
51 \definefontsynonym [CambriaSerif] [\s!file:cambria.ttf]
52 \stoptypescript
53
54
55
56
57
58 \starttypescript [\s!math] [cambria,cambriam,cambriaa] [\s!name]
59 \loadfontgoodies[cambriamath]
60 \definefontsynonym [\s!MathRoman] [CambriaMath] [\s!features={\s!math\mathsizesuffix,cambria:mathextra,mathextra},\s!goodies=cambriamath]
61 \definefontsynonym [\s!MathRomanBold] [CambriaMath] [\s!features={\s!math\mathsizesuffix,cambriamathbold,cambria:mathextra,mathextra},\s!goodies=cambriamath]
62 \stoptypescript
63 \starttypescript [\s!math] [cambriant] [\s!name]
64 \loadfontgoodies[cambriamath]
65 \definefontsynonym [\s!MathRoman] [CambriaMath] [\s!features={\s!math\mathsizesuffix,cambria:mathextra,mathextra}]
66 \definefontsynonym [\s!MathRomanBold] [CambriaMath] [\s!features={\s!math\mathsizesuffix,cambriamathbold,cambria:mathextra,mathextra}]
67 \stoptypescript
68 \starttypescript [\s!math] [cambriax] [\s!name]
69 \loadfontgoodies[cambriamath]
70 \definefontsynonym [\s!MathRoman] [CambriaMath] [\s!features={\s!math,cambria:mathextra,mathextra},\s!goodies=cambriamath]
71 \definefontsynonym [\s!MathRomanBold] [CambriaMath] [\s!features={\s!math,cambriamathbold,cambria:mathextra,mathextra},\s!goodies=cambriamath]
72 \stoptypescript
73 \starttypescript [\s!math] [cambriay] [\s!name]
74 \loadfontgoodies[cambriamath]
75 \definefontsynonym [\s!MathRoman] [CambriaMath] [\s!features={\s!mathnostack\mathsizesuffix,cambria:mathextra,mathextra},\s!goodies=cambriamath]
76 \definefontsynonym [\s!MathRomanBold] [CambriaMath] [\s!features={\s!mathnostack\mathsizesuffix,cambriamathbold,cambria:mathextra,mathextra},\s!goodies=cambriamath]
77 \stoptypescript
78
79 \starttypescript [\s!serif] [cambria,cambriam,cambriaa,cambriant] [\s!name]
80 \setups[\s!font:\s!fallback:\s!serif]
81 \definefontsynonym [\s!Serif] [CambriaSerif] [\s!features=\s!default,\s!goodies=cambria]
82 \definefontsynonym [\s!SerifBold] [\s!name:cambriabold] [\s!features=\s!default,\s!goodies=cambria]
83 \definefontsynonym [\s!SerifItalic] [\s!name:cambriaitalic] [\s!features=\s!default,\s!goodies=cambria]
84 \definefontsynonym [\s!SerifBoldItalic] [\s!name:cambriabolditalic] [\s!features=\s!default,\s!goodies=cambria]
85 \stoptypescript
86
87 \starttypescript [cambria,cambriam,cambriaa]
88
89 \definetypeface [cambria] [\s!rm] [\s!serif] [\typescriptone] [\s!default]
90 \definetypeface [cambria] [\s!tt] [\s!mono] [dejavu] [\s!default]
91 \definetypeface [cambria] [\s!mm] [\s!math] [\typescriptone] [\s!default]
92 \stoptypescript
93 \starttypescript [cambriax,cambriay,cambriant]
94
95 \definetypeface [\typescriptone] [\s!rm] [\s!serif] [cambria] [\s!default]
96 \definetypeface [\typescriptone] [\s!tt] [\s!mono] [dejavu] [\s!default]
97 \definetypeface [\typescriptone] [\s!mm] [\s!math] [\typescriptone] [\s!default]
98 \stoptypescript
99
100\stoptypescriptcollection
101 |