1

When using LANG=en_US.UTF-8 the Chinese fonts look strange comparing to LANG=zh_cn.UTF-8. It seems like the fonts are coming from several different font files. I tried the tricks like modify the 40-nolatin.conf and 65-nolatin.conf to move my preferred font to the top. But in ubuntu 20.04 it seems have no effect at all. Any idea how can I fix this in ubuntu 20.04? enter image description here

7
  • Did you install other Chinese font packages besides fonts-noto-cjk which is there by default? Aug 20, 2020 at 19:32
  • yes I installed wqy which is preferred. the noto-cjk is mostly for Japanese which missing many characters. But I do need to display Japanese so I need to keep it too.
    – Wang
    Aug 20, 2020 at 20:16
  • Do I need to somehow change 64-language-selector-prefer.conf?
    – Wang
    Aug 20, 2020 at 20:20
  • Possibly. Which wqy font? Can you please edit your question and show us the output of this terminal command (when you use a non-Chinese locale): fc-match -a | head -70 Aug 20, 2020 at 20:27
  • 1
    Please write an answer so that it help others. If not, consider deleting the question.
    – user68186
    Aug 20, 2020 at 20:55

1 Answer 1

1

since current linux font system actually take the language into account, the correct way is to add/modify entries in /etc/fonts/conf.avail/64-language-selector-prefer.conf

1
  • Thanks! I have used <family>Noto Sans CJK JP</family> for Chinese for some time,it is time to change to <family>Noto Sans CJK CN</family>.
    – Honghe.Wu
    Sep 15, 2021 at 8:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .