1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16\startmodule[fontstables]
17
18\registerctxluafile{sfontstables}{}
19
20\definetabulate[Pair] [Tcw(3em)Tcw(3em)Tw(10em)Tw(10em)cw(4em)cw(4em)]
21\definetabulate[Single] [Tcw(3em)Tw(10em)cw(4em)cw(4em)]
22\definetabulate[SingleKern][Tcw(3em)Trw(5em)cw(4em)cw(4em)]
23\definetabulate[PairKern] [Tcw(3em)Tcw(3em)Trw(5em)cw(4em)cw(4em)]
24
25\definehead
26 [sequence]
27 [subsubject]
28 [style=\ttbf]
29
30\definecolor
31 [bbcolor]
32 [t=.5,a=1,s=.5]
33
34\definefontfeature
35 [boundingbox]
36 [boundingbox={background,bbcolor}]
37
38\installmodulecommandluasingle \showfontproperties {moduledata.fonts.tables.showproperties}
39\installmodulecommandluasingle \showfontparameters {moduledata.fonts.tables.showparameters}
40\installmodulecommandluasingle \showfontpositionings {moduledata.fonts.tables.showpositionings}
41\installmodulecommandluasingle \showfontligatures {moduledata.fonts.tables.showligatures}
42\installmodulecommandluasingle \showfontsubstitutions {moduledata.fonts.tables.showsubstitutions}
43\installmodulecommandluasingle \showfontunicodevariants{moduledata.fonts.tables.showunicodevariants}
44
45\stopmodule
46
47\continueifinputfile{sfontstables.mkiv}
48
49\usemodule[art01]
50
51\setupbodyfont
52 [cambria]
53
54\starttext
55
56 \showfontproperties[name=lbmi]
57\stoptext
58 |