On 24 May 2020, at 12:26, Gerben Wierda <gerben.wierda@rna.nl> wrote:



On 24 May 2020, at 12:16, Gerben Wierda <gerben.wierda@rna.nl> wrote:

I’ve decided to buy the Optima Nova font. But now that I use it, I run into the problem that suddenly my fallback for Cyrillic has stopped working.

\definefallbackfamily
  [archimate]
  [ss]
  [Helvetica]
  [preset=range:cyrillic,
   tf=style:light,
   it=style:lightoblique,
   bf=style:regular,
   bi=style:oblique,
   force=yes,
   rscale=1.0]
\definefontfamily
    [archimate]
    [ss]
  [OptimaLT-Medium]
\setupbodyfont[archimate]

\starttext

The quick brown fox jumped over the lazy dog. Ядро метамодели.

\stoptext

With

\definefontfamily
    [archimate]
    [ss]
  [Optima]

Cyrillic fallback works (as does the old Optima). What do I need to do to remedy that?

I did not look good. Optima Nova also doesn’t work and has been replaced with Latin Modern Sans

selectfont      > the requested font 'OptimaLT-Medium' has no files for the 'tf' alternative, Latin Modern is used instead.

Apparently as a result, the fallback for cyrillic also doesn’t work. So, I need to find out how to set up Optima Nova.

And not even

\definefontfamily
    [archimate]
    [ss]
  [Optima Nova]
[  tf=file:/Library/Fonts/OptimaNovaLTPro-Medium.otf,
   it=file:OptimaNovaLTPro-MediumIta.otf,
   bf=file:OptimaNovaLTPro-Bold.otf,
   bi=file:OptimaNovaLTPro-BoldIta.otf,
]

will work.

selectfont      > the requested font 'Optima Nova' has no files for the 'tf' alternative, Latin Modern is used instead.

There is no documentation of \definefontfamily in the docs that come with the standalone ConTeXt distribution and what is on ConTeXtgarden hasn’t brought light to the matter either.

G

G


Thanks,

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

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

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

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