It's noticed that Optima is a Sans Serif font.
Maybe it conflicts with MacOS way to handle fonts. 


Le ven. 24 avr. 2020 à 01:10, Vladimir Lomov <lomov.vl@yandex.ru> a écrit :
Hello,
** Gerben Wierda <gerben.wierda@rna.nl> [2020-04-23 23:57:26 +0200]:

>> On 23 Apr 2020, at 19:18, Henning Hraban Ramm <texml@fiee.net> wrote:
>>
>>>
>>> Am 23.04.2020 um 16:42 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>>>
>>>>
>>>> On 23 Apr 2020, at 16:34, Henning Hraban Ramm <texml@fiee.net> wrote:
>>>>

[...]

>>>> What do you get from
>>>> mtxrun --script=fonts --list --all --pattern=Optima
>>>
>>> hermione:Export and Metapost gerben$ mtxrun --script fonts --list --all --pattern=optima
>>> identifier         familyname   fontname           filename                           subfont   instances
>>>
>>> optimablack        optima       optimaextrablack   /System/Library/Fonts/Optima.ttc   5
>>> optimabold         optima       optimabold         /System/Library/Fonts/Optima.ttc   2
>>> optimabolditalic   optima       optimabolditalic   /System/Library/Fonts/Optima.ttc   4
>>> optimaextrablack   optima       optimaextrablack   /System/Library/Fonts/Optima.ttc   5
>>> optimaitalic       optima       optimaitalic       /System/Library/Fonts/Optima.ttc   3
>>> optimanormal       optima       optimaregular      /System/Library/Fonts/Optima.ttc   1
>>> optimaregular      optima       optimaregular      /System/Library/Fonts/Optima.ttc   1
>>
>> Hm. Here, ConTeXt only found subfont #5 until I rebuilt the font cache, then it looked like yours.
>>
>> And the minimal example (plus \starttext ... \stoptext) worked.
>>
>> (Latest ConTeXt on MacOS Mojave.)

> No such luck for me. Any help welcome. I did remove the macOS font cache
> with sudo atsutil databases -remove and I rebooted. I am running an up to
> date macOS Mojave.

I think Henning Hraban Ramm meant not OS font cache (but may be including it,
I'm not a Mac OS user) but context font cache. Run

$ mtxrun --script fonts --reload --force

and try above '--list --all ...' command again and your example:

> \starttext
> \definefontfamily[mainface][rm][Optima]
> \setupbodyfont[mainface,10pt]

> {\bf Bold} and {\it Italic} and {\rm Regular} text.
> \stoptext

Hope this will resolve you issue.

[...]

---
WBR, Vladimir Lomov

--
Practically perfect people never permit sentiment to muddle their thinking.
                -- Mary Poppins
___________________________________________________________________________________
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
___________________________________________________________________________________