ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ajith R via ntg-context <ntg-context@ntg.nl>
To: kauśika <citturs@gmail.com>
Cc: Ajith R <ajithramayyan@yahoo.co.in>,
	Mailing List for ConTeXt Users <ntg-context@ntg.nl>
Subject: Re: Asking context to switch to a different font for a single character in many places
Date: Sat, 1 Jan 2022 13:37:49 +0530	[thread overview]
Message-ID: <20220101133749.6c0bffb4@desktop.home> (raw)
In-Reply-To: <12922418.uLZWGnKmhe@sreeramtplt>

On Fri, 31 Dec 2021 20:54:16 +0530
kauśika <citturs@gmail.com> wrote:

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

Hi Kausika,

This is what I tried -

\definefallbackfamily [mainfont]
	[rm]
	[Latin Modern]
	[range=controlpictures,force=yes]
\definefontfamily [mainfont]
	[rm]
	[RIT-Rachana]
	[features=malayalam-two]
\setupbodyfont [mainfont]

\starttext

\title{മലയാളലിപികളുടെ ആവൃത്തി നിർണ്ണയം}
␣
\stoptext

This doesn't print the open box. If I remove the definefontfamily
command or define font family using only Latin Modern, open box is
printed, but not the title.

What am I missing?

Thanks,
ajith
___________________________________________________________________________________
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:[~2022-01-01  8:07 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
2022-01-01  8:07     ` Ajith R via ntg-context [this message]
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=20220101133749.6c0bffb4@desktop.home \
    --to=ntg-context@ntg.nl \
    --cc=ajithramayyan@yahoo.co.in \
    --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).