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,

Pablo

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to