blob: 6b84c2ebb336174127d2fbfac43966f736edbb9d (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
%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]
\setuphead[section][before={\testpage[5]\blank[2*big]}]
\starttext
\startbuffer[zycon]
\char008986\relax\quad
\char009728\relax\quad
\char010031\relax\quad
\char010143\relax\quad
\char011044\relax\quad
\char127773\relax\quad
\char127989\relax\quad
\char128008\relax\quad
\char128021\relax\quad
\char128034\relax\quad
\char128161\relax\quad
\char128274\relax\quad
\char128347\relax\quad
\char128400\relax\quad
\char128692\relax\quad
\char129417\relax\quad
\char129422\relax\quad
\char983040\relax\par
\stopbuffer
% \showfontkerns
% \showglyphs
\showfontvariations
[font=file:adobevfprototype.otf]
\showfontvariations
[font=file:avenirnextvariable.ttf]
\showfontvariations
[font=file:DecoVar-VF.ttf]
\showfontvariations
[font=file:VotoSerifGX.ttf,
max=15]
\showfontvariations
[font=file:Selawik-Variable.ttf]
\showfontvariations
[font=file:LibreFranklinGX-Romans.ttf]
\showfontvariations
[font=file:Zycon.ttf,
sample={\getbuffer[zycon]}]
% \showfontvariations
% [font=file:kairossansvariable.ttf]
% \showfontvariations
% [font=file:sourcecode-regular.otf]
% \showfontvariations
% [font=file:AmstelvarAlpha-VF.ttf]
\stoptext
|