From: "kauśika via ntg-context" <ntg-context@ntg.nl>
To: Mailing List for ConTeXt Users <ntg-context@ntg.nl>
Cc: kauśika <citturs@gmail.com>,
"Ajith R via ntg-context" <ntg-context@ntg.nl>
Subject: Re: Asking context to switch to a different font for a single character in many places
Date: Fri, 31 Dec 2021 20:54:16 +0530 [thread overview]
Message-ID: <12922418.uLZWGnKmhe@sreeramtplt> (raw)
In-Reply-To: <20211231183026.52c17af6@desktop.home>
On Friday, December 31, 2021 6:30:26 PM IST Ajith R via ntg-context wrote:
> Is it possible to instruct Context to use a font in general, except for
> a single character?
Since you have mentioned elsewhere that you have \definefontfamily[…] you can
set a fallback font family with \definefallbackfamily[…] and choose a font
which has the character you want:
⋮
\definefallbackfamily[mainfont][rm][Latin Modern]
[range=controlpictures,force=yes]
\definefontfamily[mainfont] […]
⋮
\setupbodyfont[mainfont]
The 'controlpictures' Unicode block (≡ U+2400 – U+243F) contains the character
you want.
kauśika
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2021-12-31 15:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20211231183026.52c17af6.ref@desktop.home>
2021-12-31 13:00 ` Ajith R via ntg-context
2021-12-31 15:24 ` kauśika via ntg-context [this message]
2022-01-01 8:07 ` Ajith R via ntg-context
2022-01-01 8:58 ` kauśika via ntg-context
2022-01-01 10:04 ` Ajith R via ntg-context
2022-01-01 10:06 ` Ajith R via ntg-context
2022-01-01 10:25 ` Wolfgang Schuster via ntg-context
2022-01-02 7:09 ` Ajith R via ntg-context
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=12922418.uLZWGnKmhe@sreeramtplt \
--to=ntg-context@ntg.nl \
--cc=citturs@gmail.com \
/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).