1.安裝中文語言包
sudo apt install language-pack-zh-hans
2.運行dpkg-reconfigure locales,選擇en_US.UTF-8和zh_CN.UTF-8, 選擇zh_CN.UTF-8為默認語言
sudo dpkg-reconfigure locales
3.安裝字體管理工具fontconfig
sudo apt install fontconfig
4.安裝Windows字體
復(fù)制windows的字體到/usr/share/fonts/下
sudo cp -r /mnt/c/Windows/Fonts /usr/share/fonts/windows
5.刷新字體緩存
fc-cache -f -v
6.查看字體列表
fc-list :lang=zh-cn
7.重啟wsl