[NTG-context] accessing ital axis in variable font

Pablo Rodriguez oinos at gmx.es
Sat Dec 3 10:18:53 CET 2022

On 12/2/22 19:18, Hans Hagen via ntg-context wrote:
> On 12/2/2022 6:20 PM, Pablo Rodriguez via ntg-context wrote:
>> [...]
>> But I’m afraid I cannot use weight (when invoked as 'wght'). Optical
>> sizes don’t seem to work.
>> What am I missing here?
> \definefontfeature[myaxisa][axis={weight=200,optical size=12}]
> \definefontfeature[myaxisb][axis={weight=200,optical size=42}]
> \definefontfeature[myaxisc][axis={weight=200,optical size=72}]

Many thanks for your reply, Hans.

In order to be able to start an entry in the wiki about variable fonts,
axes are only accesible using their name (not their tag) in the axis
section (not in the design axis section), aren't they?

And each font feature requires a new font instance (unlike other font
features such as small caps or many other OpenType features), doesn't it?

> btw, we don't check for optical size in relation to the asked size anyway

I don't know whether this is too complex to be implemented, but it would
ease the use of optical sizes in this case.

Many thanks for your help,


More information about the ntg-context mailing list