Skip to main content

Testing variable fonts.

Testing variable fonts.

The file s-fonts-variable.mkiv is now in ConTeXt.
%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
Here is the sample.

Comments

Popular posts from this blog

TeXLive-Build-local Thu Jan 7 17:58:46 UTC 2016 for TeX Live revision 39300.

TeXLive-Build-local Thu Jan 7 17:58:46 UTC 2016 for TeX Live revision 39300. Compilation x86_64-pc-linux-gnu: OK TeXLive-Build-local/Build/source$ egrep '(====)|(Testsuite)|(^#)' OUT-Build |egrep '(FAIL)' |sort|uniq # FAIL: 0 # FAIL: 1 # XFAIL: 0 ============================================================================ Testsuite summary for dvipdfm-x (TeX Live) 20160106 ============================================================================ # TOTAL: 10 # PASS: 9 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See ./test-suite.log Please report to tex-k@tug.org ============================================================================