blob: 98f9052ca372357680ae280c1eb607b6e32ff8e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
%D \module
%D [ file=s-fonts-tables,
%D version=2011.10.10,
%D title=\CONTEXT\ Style File,
%D subtitle=Basic Font Data Tables,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
% todo: make a mtxrun --script font <name> option
\startmodule[s-fonts-tables]
\registerctxluafile{s-fonts-tables}{}
\installmodulecommandluasingle \showfonttables {moduledata.fonts.tables.showall}
\installmodulecommandluasingle \showfontproperties {moduledata.fonts.tables.showproperties}
\installmodulecommandluasingle \showfontparameters {moduledata.fonts.tables.showparameters}
\installmodulecommandluasingle \showfontpositionings {moduledata.fonts.tables.showpositionings}
\installmodulecommandluasingle \showfontsubstitutions {moduledata.fonts.tables.showsubstitutions}
\stopmodule
\continueifinputfile{s-fonts-tables.mkiv}
\usemodule[art-01]
\setupbodyfont
[cambria]
\starttext
\showfonttables[title=Cambria]
\stoptext
|