On 12/1/22 21:44, Hans Hagen via ntg-context wrote:
On 12/1/2022 7:54 PM, Pablo Rodriguez via ntg-context wrote:
[...] As explained before, they don’t work for me. How can I access to the italic and the optical size axes?
there is no axis defined for italic (it's a design axis so that's probably why you have two fonts one with italic in the name)
so, just forget about it
Many thanks for your reply, Hans. It seems that Literata has what they call an upright italic (https://raw.githubusercontent.com/googlefonts/literata/main/Documentation/DS...). But I’m afraid I cannot use weight (when invoked as 'wght'). Optical sizes don’t seem to work. The following code shows the issue I’m experiencing: \definefontfeature[myaxis][axis={wght=100, opsz=1.0}] \definefontfamily[mainface][rm][Literata] [features={default, myaxis}, designsize=auto] \setupbodyfont[mainface] \starttext \scale[width=\textwidth] {\switchtobodyfont[7pt]\tf Regular, \it Italic} \scale[width=\textwidth] {\switchtobodyfont[12pt]\tf Regular, \it Italic} \scale[width=\textwidth] {\switchtobodyfont[36pt]\tf Regular, \it Italic} \scale[width=\textwidth] {\switchtobodyfont[72pt]\tf Regular, \it Italic} \stoptext What am I missing here? Many thanks for your help, Pablo