Am 23.04.2020 um 16:42 schrieb Gerben Wierda
: On 23 Apr 2020, at 16:34, Henning Hraban Ramm
wrote: Am 23.04.2020 um 16:22 schrieb Gerben Wierda
: On 23 Apr 2020, at 16:16, Vladimir Lomov
wrote: Hello, ** Gerben Wierda
[2020-04-23 16:00:34 +0200]: On my Mac, I am trying:
\definefontfamily[mainface][rm][Optima] \setupbodyfont[mainface,10pt]
{\bf Bold} and {\it Italic} and {\rm Regular} text.
https://wiki.contextgarden.net/Font_Switching
What do I need to do to get actual bold and italics in my output?
\bi == \bf\it
Or by "actual bold" you mean something different?
Yes, in my output everything is regular, there is no bold or italics text, even when I use \bf or \it
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.) Best, Hraban