[NTG-context] axis values (other than weight) for a variable font

Pablo Rodriguez oinos at gmx.es
Mon Sep 19 17:30:58 CEST 2022


Dear list,

I have the following sample:

  \definefontfeature
    [book]
    [axis={weight=400}]

  \definefontfamily
      [mainface]
      [rm]
      [Recursive]
      [features={default, book}]

  \setupbodyfont[mainface]

  \starttext
    \input zapf
  \stoptext

This is for Recursive a variable font by Google
(https://www.recursive.design/).

In addition to the weight variable in axis values, it also contains
mono, casual, slant and cursive.

How can I modify this values from ConTeXt?

Many thanks for your help,

Pablo


More information about the ntg-context mailing list