Ubuntu VS Code 使用Source code pro 字体
1.安装Source code pro 字体
下载字体
https://www.fontsquirrel.com/fonts/source-code-pro
在/usr/share/fonts目录下新建目录
sudo mkdir /usr/share/fonts/opentype
将下载的安装包解压到opentype文件夹中
sudo unzip -d /usr/share/fonts/opentype/ source-code-pro.zip
更新字体
sudo fc-cache -f -v
查看当前字体
fc-list
找到Source code pro在系统中的名字