[NTG-context] Basic font question (Optima, but no bold, no italics)

Henning Hraban Ramm texml at fiee.net
Fri Apr 24 08:08:21 CEST 2020



> Am 24.04.2020 um 02:10 schrieb Vladimir Lomov <lomov.vl at yandex.ru>:
> 
> 
> 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

No, since all the subfonts were already found, that’s not the problem.


> and your example:
> 
>> \starttext
>> \definefontfamily[mainface][rm][Optima]
>> \setupbodyfont[mainface,10pt]
> 
>> {\bf Bold} and {\it Italic} and {\rm Regular} text.
>> \stoptext

The font definition belongs before \starttext. Good if it works...

But Gerben’s example was lacking \starttext .. \stoptext – didn’t try, but that might be the culprit.

Best, Hraban


More information about the ntg-context mailing list