Table of Contents
1 font: firacode, source code pro, inconsolata
st -f "Source Code Pro:style=Regular:size=13" st -f "Inconsolata:style=Regular:size=13"
1.1 Steps
user font directory
mkdir ~/.local/share/fonts mv *.ttf ~/.local/share/fonts
Clear and regenerate your font cache
$ fc-cache -f -v $ fc-list | grep "Inconsolata" # check if installed
1.2 firacode
#!/usr/bin/env bash fonts_dir="${HOME}/.local/share/fonts" if [ ! -d "${fonts_dir}" ]; then echo "mkdir -p $fonts_dir" mkdir -p "${fonts_dir}" else echo "Found fonts dir $fonts_dir" fi for type in Bold Light Medium Regular Retina; do file_path="${HOME}/.local/share/fonts/FiraCode-${type}.ttf" file_url="https://github.com/tonsky/FiraCode/blob/master/distr/ttf/FiraCode-${type}.ttf?raw=true" if [ ! -e "${file_path}" ]; then echo "wget -O $file_path $file_url" wget -O "${file_path}" "${file_url}" else echo "Found existing file $file_path" fi; done echo "fc-cache -f" fc-cache -f
https://github.com/tonsky/FiraCode/wiki/Linux-instructions#manual-installation
1.3 Source Code Pro
mkdir -p ~/.fonts/adobe-fonts/source-code-pro git clone https://github.com/adobe-fonts/source-code-pro.git ~/.fonts/adobe-fonts/source-code-pro fc-cache -f -v ~/.fonts/adobe-fonts/source-code-pro
https://gist.github.com/marcora/cb37b2432c072e8e9d77
fc-list | grep ourc Source Code Variable:style=Italic Source Code Pro,Source Code Pro Semibold:style=Semibold Italic,Italic Source Code Pro:style=Bold Source Code Pro,Source Code Pro Semibold:style=Semibold,Regular Source Code Pro:style=Italic Source Code Pro,Source Code Pro Light:style=Light Italic,Italic Source Code Pro,Source Code Pro ExtraLight:style=ExtraLight Italic,Italic Source Code Pro:style=Bold Italic Source Code Pro,Source Code Pro Black:style=Black Italic,Italic Source Code Pro,Source Code Pro Medium:style=Medium,Regular Source Code Pro,Source Code Pro Black:style=Black,Regular Source Code Pro,Source Code Pro Light:style=Light,Regular Source Code Pro:style=Regular Source Code Variable:style=Roman,Regular Source Code Pro,Source Code Pro Medium:style=Medium Italic,Italic Source Code Pro,Source Code Pro ExtraLight:style=ExtraLight,Regular
Note: deprecated alternative paths: ~/.fonts
1.4 nerd font
mkdir -p ~/.local/share/fonts cd ~/.local/share/fonts && curl -fLo "Droid Sans Mono for Powerline Nerd Font Complete.otf" https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/DroidSansMono/complete/Droid%20Sans%20Mono%20for%20Powerline%20Nerd%20Font%20Complete.otf fc-cache -vf ~/.local/share/fonts/ fc-list | grep -i droid # check if installed
1.5 inconsolata
https://github.com/google/fonts/tree/master/ofl/inconsolata
mv *.ttf ~/.local/share/fonts
fc-list | grep conso Inconsolata:style=Regular Inconsolata:style=Bold
1.6 ref
pkgsrc
pkgsrc/fonts ls inconsolata-ttf CVS DESCR Makefile PLIST distinfo ls FiraCode ls Hack-ttf tex-sourcecodepro
On mac
brew cask install font-source-code-pro brew cask search font-source-code-pro brew cask install homebrew/cask-fonts/font-source-code-pro