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

Vladimir Lomov lomov.vl at yandex.ru
Fri Apr 24 02:10:44 CEST 2020


Hello,
** Gerben Wierda <gerben.wierda at rna.nl> [2020-04-23 23:57:26 +0200]:

>> On 23 Apr 2020, at 19:18, Henning Hraban Ramm <texml at fiee.net> wrote:
>> 
>>> 
>>> Am 23.04.2020 um 16:42 schrieb Gerben Wierda <gerben.wierda at rna.nl>:
>>> 
>>>> 
>>>> On 23 Apr 2020, at 16:34, Henning Hraban Ramm <texml at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200424/e51ed136/attachment.sig>


More information about the ntg-context mailing list