ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* accessing ital axis in variable font
@ 2022-12-01 18:54 Pablo Rodriguez via ntg-context
  2022-12-01 20:44 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-12-01 18:54 UTC (permalink / raw)
  To: ConTeXt users; +Cc: Pablo Rodriguez

Dear list,

using the Literata variable fonts from
https://github.com/googlefonts/literata/tree/main/fonts/variable, I have
the following source:

  \definefontfeature[myaxis][axis={weight=500, italic=1}]
  \definefontfamily[mainface][rm][Literata][features={default, myaxis}]
  \setupbodyfont[mainface]
  \starttext
  \input zapf\par
  \it\input zapf
  \stoptext

Other axes than weight (and only when not invoked as 'wght') don’t work
for me (using latest from 2022.12.01 13:05).

I have used the following source (it seems to be a goodie from current
latest):

 \usemodule[fonts-variable]
 \starttext
  \showfontvariations[font=file:literata-italic.ttf]
  \showfontvariations[font=file:literata.ttf]
 \stoptext

It reports that the Literata fonts have three (design) axes: wght, opsz
and ital. ital is only a design axis.

As explained before, they don’t work for me. How can I access to the
italic and the optical size axes?

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-12-03  9:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-01 18:54 accessing ital axis in variable font Pablo Rodriguez via ntg-context
2022-12-01 20:44 ` Hans Hagen via ntg-context
2022-12-02 17:20   ` Pablo Rodriguez via ntg-context
2022-12-02 18:18     ` Hans Hagen via ntg-context
2022-12-03  9:18       ` Pablo Rodriguez via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).