summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/modules/mkiv/s-fonts-variable.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/modules/mkiv/s-fonts-variable.mkiv')
-rw-r--r--Master/texmf-dist/tex/context/modules/mkiv/s-fonts-variable.mkiv20
1 files changed, 18 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/context/modules/mkiv/s-fonts-variable.mkiv b/Master/texmf-dist/tex/context/modules/mkiv/s-fonts-variable.mkiv
index 6b84c2ebb33..64348b3245b 100644
--- a/Master/texmf-dist/tex/context/modules/mkiv/s-fonts-variable.mkiv
+++ b/Master/texmf-dist/tex/context/modules/mkiv/s-fonts-variable.mkiv
@@ -26,6 +26,18 @@
\installmodulecommandluasingle \showfontvariations {moduledata.fonts.variable.showvariations}
+\unexpanded\def\showfontspacing
+ {\begingroup
+ \scratchskip \interwordspace plus \interwordstretch minus \interwordshrink
+ \normalexpanded{\hpack\bgroup
+ \tttf
+ sp: \the\scratchskip \hskip\emwidth
+ es: \the\extraspace\hskip\emwidth
+ ex: \the\exheight \hskip\emwidth
+ em: \the\emwidth \hskip\emwidth
+ \egroup}%
+ \endgroup}
+
\stopmodule
\continueifinputfile{s-fonts-variable.mkiv}
@@ -34,6 +46,9 @@
\setuphead[section][before={\testpage[5]\blank[2*big]}]
+\enabletrackers[modules.fonts.variables.glyphs]
+\enabletrackers[modules.fonts.variables.kerns]
+
\starttext
\startbuffer[zycon]
@@ -57,8 +72,9 @@
\char983040\relax\par
\stopbuffer
-% \showfontkerns
-% \showglyphs
+% \showfontvariations
+% [font=file:VotoSerifGX.ttf,
+% max=6]
\showfontvariations
[font=file:adobevfprototype.otf]