nerd font集合了多种图标到字体里,可以使用其提供的工具打补丁到自己喜欢的字体上。
可使用 nerd_font_patcher 这个仓库,通过脚本打补丁,脚本配置是根据本人喜好设置的。
 
安装工具
1
   | sudo apt install fontforge
   | 
 
文件列表
创建如下目录,并从此位置下载对应的文件,并放置在如下对应的位置。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
   | nerd_fonts ├── font-patcher └── src     └── glyphs         ├── devicons.ttf         ├── font-awesome-extension.ttf         ├── FontAwesome.otf         ├── font-logos.ttf         ├── materialdesignicons-webfont.ttf         ├── NerdFontsSymbols 1000 EM Nerd Font Complete Blank.sfd         ├── NerdFontsSymbols 2048 EM Nerd Font Complete Blank.sfd         ├── octicons.ttf         ├── original-source.otf         ├── Pomicons.otf         ├── PowerlineExtraSymbols.otf         ├── PowerlineSymbols.otf         ├── Symbols-1000-em Nerd Font Complete.ttf         ├── Symbols-2048-em Nerd Font Complete.ttf         ├── Symbols Template 1000 em.ttf         ├── Symbols Template 2048 em.ttf         ├── Unicode_IEC_symbol_font.otf         └── weathericons-regular-webfont.ttf
   | 
 
打补丁
1 2
   | cd nerd_fonts/ fontforge -script font-patcher -out 输出的目录 -l -c 想转换的字体
   |