Maybe there is a possible simple solution, after all.

As an experiment I added a line to 69-language-selector-zh-cn.conf:

--- 69-language-selector-zh-cn.conf.old
+++ 69-language-selector-zh-cn.conf
@@ -27,6 +27,7 @@
             <string>zh-cn</string>
         </test>
                <edit name="family" mode="prepend" binding="strong">
+                       <string>Noto Sans CJK SC Regular</string>
                        <string>Noto Sans CJK SC</string>
                        <string>WenQuanYi Zen Hei</string>
                        <string>HYSong</string>

That made a difference:

$ LC_CTYPE=zh_CN.UTF-8 fc-match -a | head -7
NotoSansCJK.ttc: "Noto Sans CJK SC" "Regular"
NotoSansCJK.ttc: "Noto Sans CJK SC" "DemiLight"
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"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1468027

Title:
  change default CJK fonts to Noto CJK

To manage notifications about this bug go to:
https://bugs.launchpad.net/fontconfig/+bug/1468027/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to