Am 16.11.2025 um 11:35 schrieb Sylvain Hubert:
Dear devs,

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

Could anyone have a look at the problem?

Thanks in advance!

[...]

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 <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 <https://www.scfai.edu.cn/system/_content/download.jsp?urltype=news.DownloadAttachUrl&owner=2085388623&wbfileid=053BC12658DBE6F972C4C048E94CAC60>

Context has problems when you non latin names for fonts because it simplifies them when it stores them in the file database.

To fix this rename both files and afterwards you can use both of them at the same time, below is an example for proper names (taken from the font itself).

FZFangSong-Z02.ttf
FZHei-B01.ttf

Wolfgang

___________________________________________________________________________________
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