ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: What is the current correct way to load fallback fonts?
Date: Tue, 5 Nov 2024 15:43:31 +0100	[thread overview]
Message-ID: <db07201a-10bf-43e2-8ec4-ee860abb8688@fiee.net> (raw)
In-Reply-To: <1317367526.1600012.1730812638382@mail.yahoo.com>

Am 05.11.24 um 14:17 schrieb Joel via ntg-context:
> I am using EB Garamond for my font, but there's a few places I need some 
> special characters, like a checkmark symbol, so I'm trying to set 
> FreeSerif as a fallback.
> 
> \definefallbackfamily[main] [serif] [file:/home/joel/.fonts/ 
> FreeSerif.otf] [range=dingbats, force=yes]
> \definefallbackfamily[main] [sans] [file:/home/joel/.fonts/ 
> FreeSerif.otf] [range=dingbats, force=yes]
> \starttypescript[garamond]
>      \definetypeface[garamond]                    [rm][serif][garamond] 
> [default]
>      \definetypeface[garamond]                    [ss][sans][garamond] 
> [default]
>      \definetypeface[garamond]                    [mm][math][math][default]
> \stoptypescript

You define a fallback family for "main", but your font family is called 
"garamond".

Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2024-11-05 14:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1317367526.1600012.1730812638382.ref@mail.yahoo.com>
2024-11-05 13:17 ` [NTG-context] " Joel via ntg-context
2024-11-05 14:43   ` Henning Hraban Ramm [this message]

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=db07201a-10bf-43e2-8ec4-ee860abb8688@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).