On 3/16/2026 12:17 PM, via ntg-context wrote:
I was working with `sourcehan[serif/sans].ttc`.
After running
```
mtxrun --script fonts --reload --force
```
and then immediately executing
```
mtxrun --script fonts --list --all --pattern='sourcehanserif'
```
I got the following result:
```
identifier familyname fontname
filename subfont
instances
sourcehanserif sourcehanserif sourcehanserifregular
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-Regular.ttc 1
sourcehanserifhcnormal sourcehanserifhc sourcehanserifhcregular
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-Regular.ttc 5
sourcehanserifhcregular sourcehanserifhc sourcehanserifhcsemibold
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-SemiBold.ttc 5
sourcehanserifknormal sourcehanserifk sourcehanserifkregular
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-Regular.ttc 2
sourcehanserifkregular sourcehanserifk sourcehanserifksemibold
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-SemiBold.ttc 2
sourcehanserifnormal sourcehanserif sourcehanserifregular
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-Regular.ttc 1
sourcehanserifregular sourcehanserif sourcehanserifsemibold
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-SemiBold.ttc 1
sourcehanserifscnormal sourcehanserifsc sourcehanserifscregular
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-Regular.ttc 3
sourcehanserifscregular sourcehanserifsc sourcehanserifscsemibold
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-SemiBold.ttc 3
sourcehanseriftcnormal sourcehanseriftc sourcehanseriftcregular
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-Regular.ttc 4
sourcehanseriftcregular sourcehanseriftc sourcehanseriftcsemibold
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-SemiBold.ttc 4
```
Looks fine. It seems that ConTeXt parses the large `SourceHanSerif` font files
and generates separate CJK font families for the different regional variants
(SC, TC, HC, J, and K).
However, if I run the reload command again without `--force`, the system
apparently reuses the hashed values and changed the database with the output
asfollow:
```
mtxrun --script fonts --list --all --pattern='sourcehanserif'
```
```
identifier familyname fontname
filename subfont
instances
sourcehanserifhc sourcehanserifhc sourcehanserifhcregular
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-Regular.ttc 5
sourcehanserifhcbold sourcehanserifhc sourcehanserifhcbold
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-Bold.ttc 5
sourcehanserifhcextralight sourcehanserifhc sourcehanserifhcextralight
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-ExtraLight.ttc 5
sourcehanserifhcheavy sourcehanserifhc sourcehanserifhcheavy
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-Heavy.ttc 5
sourcehanserifhclight sourcehanserifhc sourcehanserifhclight
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-Light.ttc 5
sourcehanserifhcmedium sourcehanserifhc sourcehanserifhcmedium
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-Medium.ttc 5
sourcehanserifhcnormal sourcehanserifhc sourcehanserifhcregular
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-Regular.ttc 5
sourcehanserifhcregular sourcehanserifhc sourcehanserifhcregular
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-Regular.ttc 5
sourcehanserifhcsemibold sourcehanserifhc sourcehanserifhcsemibold
/usr/share/fonts/adobe-source-han-serif/SourceHanSerif-SemiBold.ttc 5
```
In this case, only the **HC family** appears, and the SC/TC/K variants
disappear.
Do you also have the separate files on your system? In that case you
might get clashes in font names (same key -> different files). The same
can happen with variables fonts that have embedded instance names, in
which case one should choose either to use a variable font or the
dedicated instance files.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________