ArchLinux上安装Consolas字体

  1. http://www.iplaysoft.com/consolas.html下载Consolas字体。

  2. 然后

    sudo mkdir -p /usr/share/fonts/yahei
    sudo cp YaHei.Consolas.1.11b.ttf /usr/share/fonts/yahei/
    
  3. 改变权限:

    sudo chmod 644 /usr/share/fonts/yahei/YaHei.Consolas.1.11b.ttf
    
  4. 安装:

    cd /usr/share/fonts/yahei/
    sudo mkfontscale
    sudo mkfontdir
    sudo fc-cache -fv
    

Comments