Comment 47 for bug 1468027

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for your work, Mingye. What you are doing is unfortunately above my head. ;)

Want to say, though, that the config file you mentioned in the upstream bug report doesn't have anything to do with it. It's not in the Ubuntu archive yet.

One fontconfig .conf file, which is in use at this time, is:

/etc/fonts/conf.avail/69-language-selector-zh-cn.conf

That file makes the "fc-match --verbose" command output the details for the demilight font.

OTOH, also in a session with a non-Chinese locale, demilight is the first font in a fc-match listing:

$ LC_CTYPE=en_US.UTF-8 fc-match -a | grep 'Noto Sans CJK SC'
NotoSansCJK.ttc: "Noto Sans CJK SC" "DemiLight"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Regular"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Medium"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Thin"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Light"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Bold"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Black"