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
> while
>
> \definefontfamily[face][rm][dejavuserif]
> \starttext\switchtobodyfont[face, 24pt]ɑ\stoptext
>
> produces the expected result despite a harmless warning.
I guess the command reads:
\switchtobodyfont[face]ɑ
This might also be related to the issue just reported.
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________