Dear devs,

When I \switchtobodyfont twice, only the first one is effective.

Could anyone have a look at the problem?

Thanks in advance!

____________________

MWE 1&2 each shows a chinese char in a differnt font. MWE 3 fails to show
the char twice in both fonts.

MWE 1: correct rendering of fonta (fzheib01):

```
\definefontfamily[fonta][rm][fzheib01]
\definefontfamily[fontb][rm][fzfangsongz02]

\starttext\switchtobodyfont[fonta] 街 \stoptext
```

MWE 2: correct rendering of fontb (fzfangsongz02):
```
\definefontfamily[fonta][rm][fzheib01]
\definefontfamily[fontb][rm][fzfangsongz02]

\starttext\switchtobodyfont[fontb] 街 \stoptext
```

MWE 3: wrong, both chars are in fonta (fzheib01):

```
\definefontfamily[fonta][rm][fzheib01]
\definefontfamily[fontb][rm][fzfangsongz02]

\starttext
\switchtobodyfont[fonta] 街
\switchtobodyfont[fontb] 街

\stoptext
```

The two fonts can be found below. Other fonts might share the same problem.
- fzheib01:
https://www.scfai.edu.cn/system/_content/download.jsp?urltype=news.DownloadAttachUrl&owner=2085388623&wbfileid=673C472C034BF4CD9DD4CCBD28707272
- fzfangsongz02:
https://www.scfai.edu.cn/system/_content/download.jsp?urltype=news.DownloadAttachUrl&owner=2085388623&wbfileid=053BC12658DBE6F972C4C048E94CAC60
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
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 via email to