ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Using Gill Sans on macOS
Date: Mon, 22 Feb 2021 17:59:31 +0100	[thread overview]
Message-ID: <4798B0A1-96A2-4225-8B32-EF6B3D925112@fiee.net> (raw)
In-Reply-To: <9EFE76BA-85F1-45E0-9F9B-3A9A026274FD@rna.nl>



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

  reply	other threads:[~2021-02-22 16:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-22 15:14 Gerben Wierda
2021-02-22 16:59 ` Henning Hraban Ramm [this message]
2021-02-22 17:34   ` Gerben Wierda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4798B0A1-96A2-4225-8B32-EF6B3D925112@fiee.net \
    --to=texml@fiee.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).