ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \switchtobodyfont behaves differenctly with splitted parameters
Date: Sun, 8 Nov 2020 12:06:17 +0100	[thread overview]
Message-ID: <d04075cc-f8ec-20b3-cc2d-1949f788e92d@gmail.com> (raw)
In-Reply-To: <CACNy3NBWxBO3BbsN4Zaws3gNNhurNW46E=fWy7XU0PkoKN8TvA@mail.gmail.com>

Sylvain Hubert schrieb am 08.11.2020 um 12:02:
> On Sun, 8 Nov 2020 at 11:37, Pablo Rodriguez <oinos@gmx.es 
> <mailto:oinos@gmx.es>> wrote:
> 
>     On 11/8/20 11:18 AM, Sylvain Hubert wrote:
>      > Hi Pablo,
>      >
>      > thanks for the suggestion. Here's the minimal example which shows the
>      > difference:
>      >
>      >     \definefontfamily[face][rm][dejavuserif]
>      >     \starttext\switchtobodyfont[face, 24pt]ɑ\stoptext
>      >
>      > this should warn:
>      >
>      >     fonts           > checking > char ɑ (U+00251) in font
>      > 'LatinModernMath-Regular-4' with id 10: missing
> 
>     Well, you are switching before setting up a body font.
> 
>     I don’t know whether this might be a bug in ConTeXt (see previous
>     report), but I would set up the body font always first:
> 
>          \definefontfamily[face][rm][dejavuserif]
>          \definefontfamily[deface][rm][dejavusans]
>          \setupbodyfont[deface]
>          \starttext a\switchtobodyfont[face, 24pt]ɑ\stoptext
> 
> 
> Thanks, it works!
> 
> And I agree that it probably indicates the existence of a bug, since by 
> changing "\setupbodyfont[deface]" to "\setupbodyfont[dejavu]" in your 
> example, the problem reappears:
> 
>      \definefontfamily[face][rm][dejavuserif]

Add here: \definebodyfont[24pt]

Wolfgang
___________________________________________________________________________________
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:[~2020-11-08 11:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-08  1:35 Sylvain Hubert
2020-11-08  9:38 ` Pablo Rodriguez
2020-11-08 10:18   ` Sylvain Hubert
2020-11-08 10:28     ` Sylvain Hubert
2020-11-08 10:34     ` Pablo Rodriguez
2020-11-08 11:02       ` Sylvain Hubert
2020-11-08 11:06         ` Wolfgang Schuster [this message]
2020-11-08 11:14         ` Hans Hagen
2020-11-08 11:46           ` Sylvain Hubert
2020-11-08 11:52             ` Hans Hagen
2020-11-08 12:08               ` Sylvain Hubert

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=d04075cc-f8ec-20b3-cc2d-1949f788e92d@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --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).