- Nerd Fonts for DevIcons
- install patched fonts
- tips
TIPS:
fontsPath
:
osx
:~/Library/Fonts
linux
:~/.local/share/fonts
TIPS:
support both
otf
andttf
$ curl --create-dirs -O --output-dir "${fontsPath}" \
-fsSL --remote-name-all \
https://github.com/marslo/fonts/raw/fonts/Operator/OperatorMonoNF/otf/OperatorMonoNerdFontMono-Light.otf \
https://github.com/marslo/fonts/raw/fonts/Operator/OperatorMonoNF/otf/OperatorMonoNerdFontMono-LightItalic.otf
TIPS:
support both
otf
andttf
$ curl --create-dirs -O --output-dir "${fontsPath}" \
-fsSL --remote-name-all \
https://github.com/marslo/fonts/raw/fonts/Operator/OperatorMonoLigNF/otf/OperatorMonoLigNerdFontMono-Light.otf \
https://github.com/marslo/fonts/raw/fonts/Operator/OperatorMonoLigNF/otf/OperatorMonoLigNerdFontMono-LightItalic.otf
TIPS:
support both
otf
andttf
$ curl --create-dirs -O --output-dir "${fontsPath}" \
-fsSL --remote-name-all \
https://github.com/marslo/fonts/raw/fonts/Operator/OperatorMonoSSmLigNF/otf/OperatorMonoSSmLigNerdFontMono-Regular.otf \
https://github.com/marslo/fonts/raw/fonts/Operator/OperatorMonoSSmLigNF/otf/OperatorMonoSSmLigNerdFontMono-Italic.otf \
https://github.com/marslo/fonts/raw/fonts/Operator/OperatorMonoSSmLigNF/otf/OperatorMonoSSmLigNerdFontMono-Light.otf \
https://github.com/marslo/fonts/raw/fonts/Operator/OperatorMonoSSmLigNF/otf/OperatorMonoSSmLigNerdFontMono-LightItalic.otf
TIPS:
OperatorPro-Book
->OperatorProNerdFont-Regular
OperatorPro-BookItalic
->OperatorProNerdFont-Italic
$ ext='otf' # or ext='ttf'
$ curl --create-dirs -O --output-dir "${fontsPath}" \
-fsSL --remote-name-all \
https://github.com/marslo/fonts/raw/fonts/Operator/OperatorProNF/OperatorProNerdFont-Regular.otf \
https://github.com/marslo/fonts/raw/fonts/Operator/OperatorProNF/OperatorProNerdFont-Italic.otf \
https://github.com/marslo/fonts/raw/fonts/Operator/OperatorProNF/OperatorProNerdFont-Light.otf \
https://github.com/marslo/fonts/raw/fonts/Operator/OperatorProNF/OperatorProNerdFont-LightItalic.otf
TIPS:
support both
otf
andttf
$ curl --create-dirs -O --output-dir "${fontsPath}" \
-fsSL --remote-name-all \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoCasual/RecMonoCasualNerdFontMono-Regular.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoCasual/RecMonoCasualNerdFontMono-Italic.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoCasual/RecMonoCasualNerdFontMono-Bold.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoCasual/RecMonoCasualNerdFontMono-BoldItalic.otf
$ curl --create-dirs -O --output-dir "${fontsPath}" \
-fsSL --remote-name-all \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoLinear/RecMonoLinearNerdFontMono-Regular.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoLinear/RecMonoLinearNerdFontMono-Italic.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoLinear/RecMonoLinearNerdFontMono-Bold.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoLinear/RecMonoLinearNerdFontMono-BoldItalic.otf
$ curl --create-dirs -O --output-dir "${fontsPath}" \
-fsSL --remote-name-all \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoSemicasual/RecMonoSmCasualNerdFontMono-Regular.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoSemicasual/RecMonoSmCasualNerdFontMono-Italic.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoSemicasual/RecMonoSmCasualNerdFontMono-Bold.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoSemicasual/RecMonoSmCasualNerdFontMono-BoldItalic.otf
$ curl --create-dirs -O --output-dir "${fontsPath}" \
-fsSL --remote-name-all \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoDuotone/RecMonoDuotoneNerdFontMono-Regular.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoDuotone/RecMonoDuotoneNerdFontMono-Italic.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoDuotone/RecMonoDuotoneNerdFontMono-Bold.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoDuotone/RecMonoDuotoneNerdFontMono-BoldItalic.otf
$ curl --create-dirs -O --output-dir "${fontsPath}" \
-fsSL --remote-name-all \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Desktop_NF/otf/RecursiveSansCasualStaticNerdFont-Regular.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Desktop_NF/otf/RecursiveSansCasualStaticNerdFont-Italic.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Desktop_NF/otf/RecursiveSansCasualStaticNerdFont-Light.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Desktop_NF/otf/RecursiveSansCasualStaticNerdFont-LightItalic.otf
$ curl --create-dirs -O --output-dir "${fontsPath}" \
-fsSL --remote-name-all \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Desktop_NF/otf/RecursiveSansLinearStaticNerdFont-Regular.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Desktop_NF/otf/RecursiveSansLinearStaticNerdFont-Italic.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Desktop_NF/otf/RecursiveSansLinearStaticNerdFont-Light.otf \
https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Desktop_NF/otf/RecursiveSansLinearStaticNerdFont-LightItalic.otf
TIPS:
- support both
otf
andttf
- MonacoLigaturized not support for iTerm2 ( not sure why )
$ curl --create-dirs -O --output-dir "${fontsPath}" \
-fsSL \
https://github.com/marslo/fonts/raw/fonts/Monaco/MonacoNF/otf/MonacoNerdFontMono-Regular.otf \
https://github.com/marslo/fonts/raw/fonts/Monaco/MonacoNF/otf/MonacoNerdFontMono-Italic.otf \
https://github.com/marslo/fonts/raw/fonts/Monaco/MonacoNF/otf/MonacoNerdFontMono-Bold.otf \
https://github.com/marslo/fonts/raw/fonts/Monaco/MonacoNF/otf/MonacoNerdFontMono-BoldItalic.otf
$ curl --create-dirs -O --output-dir "${fontsPath}" \
-fsSL \
https://github.com/marslo/fonts/raw/fonts/Monaco/MonacoLigNF/otf/MonacoLigaturizedNerdFontMono-Regular.otf \
https://github.com/marslo/fonts/raw/fonts/Monaco/MonacoLigNF/otf/MonacoLigaturizedNerdFontMono-Italic.otf \
https://github.com/marslo/fonts/raw/fonts/Monaco/MonacoLigNF/otf/MonacoLigaturizedNerdFontMono-Bold.otf \
https://github.com/marslo/fonts/raw/fonts/Monaco/MonacoLigNF/otf/MonacoLigaturizedNerdFontMono-BoldItalic.otf
$ curl --create-dirs -O --output-dir "${fontsPath}" \
-fsSL --remote-name-all \
https://github.com/marslo/fonts/raw/fonts/VictorMono/VictorMono-Light.ttf \
https://github.com/marslo/fonts/raw/fonts/VictorMono/VictorMono-LightItalic.ttf
$ curl --create-dirs -O --output-dir "${fontsPath}" \
-fsSL --remote-name-all \
https://github.com/marslo/fonts/raw/fonts/ComicMono/ComicMonoNerdFontMono-Regular.otf \
https://github.com/marslo/fonts/raw/fonts/ComicMono/ComicMonoNerdFontMono-Bold.otf
$ curl --create-dirs -O --output-dir "${fontsPath}" \
-fsSL --remote-name-all \
https://github.com/marslo/fonts/raw/fonts/monofur/MonofurNerdFontMono-Regular.ttf \
https://github.com/marslo/fonts/raw/fonts/monofur/MonofurNerdFontMono-Italic.ttf
$ curl --create-dirs -O --output-dir "${fontsPath}" -fsSL \
https://github.com/marslo/fonts/raw/fonts/menlo/MenloNerdFontMono-Regular.otf
-
list fonts properties
$ fc-query /path/to/font.ttf
-
list particular field of fonts properties
$ fc-query -f '%{family}\n' /path/to/font.ttf # shwo `guifont` value for nvim/vim $ fc-query -f '%{family}\n%{postscriptname}' ~/Library/Fonts/OperatorMonoSSmLigNerdFontMono-Light.otf | awk -F, '{print $NF}' OperatorMonoSSmLig Nerd Font Mono Light OperatorMonoSSmLigNFM-Light
-
list all installed fonts
$ fc-list | sed -re 's/^.+\/([^:]+):\s?([^,:]+),?:?.*$/\1 : \2/g' | column -t -s: -o: | sort -t: -k2