blob: 564c40e11808554ffaa3222d019b9d7c89f648a7 (
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
38
39
40
41
42
43
44
45
46
|
%D \module
%D [ file=s-fonts-variable,
%D version=2017.02.18,
%D title=\CONTEXT\ Style File,
%D subtitle=Show Variable Font Properties ,
%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.
% begin info
%
% title : variable information (experimental)
%
% comment : variable fonts contain extra information styles, axis, regions
% status : experimental, used for luatex testing
%
% end info
\startmodule[fonts-variable]
\registerctxluafile{s-fonts-variable}{}
\installmodulecommandluasingle \showfontvariations {moduledata.fonts.variable.showvariations}
\stopmodule
\continueifinputfile{s-fonts-variable.mkiv}
\usemodule[art-01]
\starttext
\showfontvariations
[font=file:adobevfprototype.otf]
\showfontvariations
[font=file:avenirnextvariable.ttf]
% \showfontvariations
% [font=file:kairossansvariable.ttf]
\stoptext
|