On 22 Feb 2021, at 17:59, Henning Hraban Ramm <texml@fiee.net> wrote:



Am 22.02.2021 um 16:14 schrieb Gerben Wierda <gerben.wierda@rna.nl>:

I’m normall using Optima Nova on my system, e.g. by defining a font like this:


\definefontfamily
   [archimate]
   [ss]
   [Optima nova LT Pro]
   [tf=style:Medium,
    bf=style:Bold,
    it=style:Medium Italic,
    bi=style:Bold Italic]
\setupbodyfont[archimate]

I would like to experiment with Gill Sans, but that fails with

fonts           > defining > unable to define 'GillSans.ttc' as 'archimate-14pt-ss-tf-0--0'

It is here:

/System/Library/Fonts/Supplemental/GillSans.ttc

What should I do to be able to use that font?

Hi Gerben!

Sometimes ConTeXt can’t find the subfonts in TTCs, e.g.:

$ mtxrun --script fonts --list --all --pattern=Gill
identifier            familyname   fontname              filename                      subfont   instances

gillsans              gillsans     gillsanslightitalic   /Library/Fonts/GillSans.ttc   9
gillsanslight         gillsans     gillsanslightitalic   /Library/Fonts/GillSans.ttc   9
gillsanslightitalic   gillsans     gillsanslightitalic   /Library/Fonts/GillSans.ttc   9


Only after
$ mtxrun --script fonts --reload --force

Hi Henning!

Thanks, that was what I needed. Apparently, the update from macOS Mojave to macOS Catalina had moved the Gill Sans font so I had to do teh reload.



I got:

$ mtxrun --script fonts --list --all --pattern=Gill
identifier               familyname   fontname                 filename                      subfont   instances

gillsans                 gillsans     gillsans                 /Library/Fonts/GillSans.ttc   1
gillsansblack            gillsans     gillsansultrabold        /Library/Fonts/GillSans.ttc   7
gillsansbold             gillsans     gillsansbold             /Library/Fonts/GillSans.ttc   2
gillsansbolditalic       gillsans     gillsansbolditalic       /Library/Fonts/GillSans.ttc   4
gillsansitalic           gillsans     gillsansitalic           /Library/Fonts/GillSans.ttc   3
gillsanslight            gillsans     gillsanslight            /Library/Fonts/GillSans.ttc   8
gillsanslightitalic      gillsans     gillsanslightitalic      /Library/Fonts/GillSans.ttc   9
gillsansnormal           gillsans     gillsans                 /Library/Fonts/GillSans.ttc   1
gillsansregular          gillsans     gillsans                 /Library/Fonts/GillSans.ttc   1
gillsanssemibold         gillsans     gillsanssemibold         /Library/Fonts/GillSans.ttc   5
gillsanssemibolditalic   gillsans     gillsanssemibolditalic   /Library/Fonts/GillSans.ttc   6
gillsansultrabold        gillsans     gillsansultrabold        /Library/Fonts/GillSans.ttc   7

Please check this on your system, and then try the names of the first column.


Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________