The answer was: running

mtxrun --script fonts —reload —force

Then to get the proper usage (for e.g. demibold as text font):

\definefallbackfamily
  [archimate]
  [ss]
  [Helvetica]
  [preset=range:cyrillic,
   tf=style:light,
   it=style:lightoblique,
   bf=style:regular,
   bi=style:oblique,
   force=yes]
\definefontfamily
    [archimate]
    [ss]
    [Optima nova LT Pro]
    [tf=style:Demi,
     bf=style:Heavy,
     it=style:Medium Italic,
     bi=style:Heavy Italic]
\setupbodyfont[archimate]


G

> On 24 May 2020, at 13:50, Gerben Wierda <gerben.wie...@rna.nl> wrote:
> 
> 
> 
>> On 24 May 2020, at 12:40, Gerben Wierda <gerben.wie...@rna.nl 
>> <mailto:gerben.wie...@rna.nl>> wrote:
>> 
>> 
>> 
>>> On 24 May 2020, at 12:26, Gerben Wierda <gerben.wie...@rna.nl 
>>> <mailto:gerben.wie...@rna.nl>> wrote:
>>> 
>>> 
>>> 
>>>> On 24 May 2020, at 12:16, Gerben Wierda <gerben.wie...@rna.nl 
>>>> <mailto:gerben.wie...@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.
> 
> The firsdt problem was solved, I had to rebuild the font database:
> 
> mtxrun --script fonts --reload
> 
> Now
> 
> $ mtxrun --script fonts --list --all --pattern=Optima
> identifier                       familyname        fontname                   
>   filename                                         subfont   instances
> 
> optima                           optima            optimaextrablack           
>   /System/Library/Fonts/Optima.ttc                 5
> optimaextrablack                 optima            optimaextrablack           
>   /System/Library/Fonts/Optima.ttc                 5
> optimanovaltproblack             optimanovaltpro   optimanovaltproblack       
>   /Library/Fonts/OptimaNovaLTPro-Black.otf
> optimanovaltproblackitalic       optimanovaltpro   optimanovaltproblackitalic 
>   /Library/Fonts/OptimaNovaLTPro-BlackItalic.otf
> optimanovaltprobold              optimanovaltpro   optimanovaltprobold        
>   /Library/Fonts/OptimaNovaLTPro-Bold.otf
> optimanovaltproboldcond          optimanovaltpro   optimanovaltproboldcond    
>   /Library/Fonts/OptimaNovaLTPro-BoldCond.otf
> optimanovaltproboldcondensed     optimanovaltpro   optimanovaltproboldcond    
>   /Library/Fonts/OptimaNovaLTPro-BoldCond.otf
> optimanovaltprobolditalic        optimanovaltpro   optimanovaltprobolditalic  
>   /Library/Fonts/OptimaNovaLTPro-BoldItalic.otf
> optimanovaltprocondensed         optimanovaltpro   optimanovaltprocondensed   
>   /Library/Fonts/OptimaNovaLTPro-Condensed.otf
> optimanovaltprodemi              optimanovaltpro   optimanovaltprodemi        
>   /Library/Fonts/OptimaNovaLTPro-Demi.otf
> optimanovaltprodemicond          optimanovaltpro   optimanovaltprodemicond    
>   /Library/Fonts/OptimaNovaLTPro-DemiCond.otf
> optimanovaltprodemicondensed     optimanovaltpro   optimanovaltprodemicond    
>   /Library/Fonts/OptimaNovaLTPro-DemiCond.otf
> optimanovaltprodemiitalic        optimanovaltpro   optimanovaltprodemiitalic  
>   /Library/Fonts/OptimaNovaLTPro-DemiItalic.otf
> optimanovaltproheavy             optimanovaltpro   optimanovaltproheavy       
>   /Library/Fonts/OptimaNovaLTPro-Heavy.otf
> optimanovaltproheavyitalic       optimanovaltpro   optimanovaltproheavyitalic 
>   /Library/Fonts/OptimaNovaLTPro-HeavyItalic.otf
> optimanovaltproitalic            optimanovaltpro   optimanovaltproitalic      
>   /Library/Fonts/OptimaNovaLTPro-Italic.otf
> optimanovaltprolight             optimanovaltpro   optimanovaltprolight       
>   /Library/Fonts/OptimaNovaLTPro-Light.otf
> optimanovaltprolightcond         optimanovaltpro   optimanovaltprolightcond   
>   /Library/Fonts/OptimaNovaLTPro-LightCond.otf
> optimanovaltprolightcondensed    optimanovaltpro   optimanovaltprolightcond   
>   /Library/Fonts/OptimaNovaLTPro-LightCond.otf
> optimanovaltprolightitalic       optimanovaltpro   optimanovaltprolightitalic 
>   /Library/Fonts/OptimaNovaLTPro-LightItalic.otf
> optimanovaltpromedium            optimanovaltpro   optimanovaltpromedium      
>   /Library/Fonts/OptimaNovaLTPro-Medium.otf
> optimanovaltpromediumcond        optimanovaltpro   optimanovaltpromediumcond  
>   /Library/Fonts/OptimaNovaLTPro-MediumCond.otf
> optimanovaltpromediumcondensed   optimanovaltpro   optimanovaltpromediumcond  
>   /Library/Fonts/OptimaNovaLTPro-MediumCond.otf
> optimanovaltpromediumita         optimanovaltpro   optimanovaltpromediumita   
>   /Library/Fonts/OptimaNovaLTPro-MediumIta.otf
> optimanovaltpromediumitalic      optimanovaltpro   optimanovaltpromediumita   
>   /Library/Fonts/OptimaNovaLTPro-MediumIta.otf
> optimanovaltpronormal            optimanovaltpro   optimanovaltprotitlinginit 
>   /Library/Fonts/OptimaNovaLTPro-TitlingInit.otf
> optimanovaltproregular           optimanovaltpro   optimanovaltproregular     
>   /Library/Fonts/OptimaNovaLTPro-Regular.otf
> optimanovaltprotitlinginit       optimanovaltpro   optimanovaltprotitlinginit 
>   /Library/Fonts/OptimaNovaLTPro-TitlingInit.otf
> optimanovaltprotitlinginitials   optimanovaltpro   optimanovaltprotitlinginit 
>   /Library/Fonts/OptimaNovaLTPro-TitlingInit.otf
> 
> And latin text works. Fallback for cyrillic doesn’t yet. 
> 
> G
> 
>> 
>> 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 <mailto:ntg-context@ntg.nl> / 
>>>> http://www.ntg.nl/mailman/listinfo/ntg-context 
>>>> <http://www.ntg.nl/mailman/listinfo/ntg-context>
>>>> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / 
>>>> http://context.aanhet.net <http://context.aanhet.net/>
>>>> archive  : https://bitbucket.org/phg/context-mirror/commits/ 
>>>> <https://bitbucket.org/phg/context-mirror/commits/>
>>>> wiki     : http://contextgarden.net <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 <mailto:ntg-context@ntg.nl> / 
>>> http://www.ntg.nl/mailman/listinfo/ntg-context 
>>> <http://www.ntg.nl/mailman/listinfo/ntg-context>
>>> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / 
>>> http://context.aanhet.net <http://context.aanhet.net/>
>>> archive  : https://bitbucket.org/phg/context-mirror/commits/ 
>>> <https://bitbucket.org/phg/context-mirror/commits/>
>>> wiki     : http://contextgarden.net <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 <mailto:ntg-context@ntg.nl> / 
>> http://www.ntg.nl/mailman/listinfo/ntg-context 
>> <http://www.ntg.nl/mailman/listinfo/ntg-context>
>> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / 
>> http://context.aanhet.net <http://context.aanhet.net/>
>> archive  : https://bitbucket.org/phg/context-mirror/commits/ 
>> <https://bitbucket.org/phg/context-mirror/commits/>
>> wiki     : http://contextgarden.net <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 <mailto:ntg-context@ntg.nl> / 
> http://www.ntg.nl/mailman/listinfo/ntg-context 
> <http://www.ntg.nl/mailman/listinfo/ntg-context>
> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / 
> http://context.aanhet.net <http://context.aanhet.net/>
> archive  : https://bitbucket.org/phg/context-mirror/commits/ 
> <https://bitbucket.org/phg/context-mirror/commits/>
> wiki     : http://contextgarden.net <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
___________________________________________________________________________________

Reply via email to