[NTG-context] Using Gill Sans on macOS

Henning Hraban Ramm texml at fiee.net
Mon Feb 22 17:59:31 CET 2021



> Am 22.02.2021 um 16:14 schrieb Gerben Wierda <gerben.wierda at 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
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


More information about the ntg-context mailing list