A repo with the fonts I use for Shells and Programming, most of them with Ligatures and Powerline support!
USE QUOTES (''
) IN FONTS THAT HAVE A +
IN THEIR NAME IF THEY GIVE YOU ERRORS
Cascadia Code: Cascadia Code PL
CodeNewRoman: Code New Roman NF Ligaturized
Consolas: Consolasligaturizedv2 NF
Cousine: 'FiraCode+Cousine NF'
DejaVuSans: DejaVuSansCode NF
Hack: 'FiraCode+Hack NF'
Hasklig: Hasklug NF
Inconsolata: 'FiraCode+Inconsolata NF'
InconsolataGo Nerd Font: InconsolataGo Nerd Font
Inconsolata Larger: 'FiraCode+Inconsolata NF g'
JetBrains Mono: JetBrainsMono NF
Lilex Nerd Font: Lilex Nerd Font
NotoMono Nerd Font: NotoMono Nerd Font
Roboto Mono: 'FiraCode+RobotoMono NF'
SF Mono Ligaturised: SF Mono Ligatures
SF Mono Powerline: SF Mono Powerline
UbuntuMono: 'FiraCode+UbuntuMono NF'
I have tried on Windows but FontForge is a pain to use, so in case you want to recreate what I did I suggest using Linux or at least WSL, which is far easier
sudo apt install software-properties-common -y
sudo add-apt-repository ppa:fontforge/fontforge -y
sudo apt update -y
sudo apt install fontforge -y
sudo apt install python3-fontforge -y
git clone --depth 1 https://github.com/betaboon/nerd-fonts-patcher.git
cd nerd-fonts-patcher
fontforge -script font-patcher /mnt/PATH_TO_LIGATURISED_FONT.ttf.otf -c --progressbars -out /PATH_TO_OUTPUT_FOLDER
For Linux and MacOS simply use this Nerd Font patcher and/or Ligaturizer.
Download the font-patcher from Nerd Font's website and then run:
brew install fontforge # or the alternative for your Linux distro
# To obtain the glyphs:
cd Downloads/FontPatcher/
fontforge -script font-patcher /path/to/font --progressbars -l -c
# And the new files should be in the output folder
# To obtain the ligatures
git clone --recurse-submodules https://github.com/ToxicFrog/Ligaturizer.git
# Make sure to move the fonts you want changed into their own folder in Ligaturizer/fonts
# e.g. Ligaturizer/fonts/Code New Roman/
# Add them to build.py, whether on the prefixed_fonts or renamed_fonts. e.g
# build.py
renamed_fonts = {
'fonts/Code New Roman/*.otf': 'Code New Roman NF Ligaturized',
}
# Then run
make
# And the files should be in the output folder with the correct name
Ligaturizer (these don't have PL icons most of the time, but are ligaturised)