Fira Code font tweaked and patched with Nerd Fonts Compete
To generate the patched font, run:
./build.py
The build.py performs the following steps:
- Download
- Nerd Fonts patched from Nerd Fonts releases 1
- FiraCode from FiraCode releases 2
- Patch Fira Code font variants with
-
Tweaks to characters
i
andl
. see sfd files in patches for details -
Swap glyphs within Fire Code font variants to become default instead of style variants
From -> To a
->a.cv01
g
->g.cv02
r
->r.ss01
3
->three.cv14
$
->dollar.ss04
%
->percent.cv18
{
->braceleft.cv29
}
->braceright.cv29
|
->bar.cv30
-
Nerd Fonts complete with
--careful
,--complete
arguments
-
- Copy patched font variants to
dist
directory
Files in FiraCodeNerdFont.zip from latest release:
File Name | Font Name | Family Name | Name for Humans |
---|---|---|---|
FiraCodeNerdFont-Regular.ttf | FiraCodeNF-Regular | FiraCode Nerd Font | FiraCode Nerd Font Regular |
FiraCodeNerdFont-Bold.ttf | FiraCodeNF-Bold | FiraCode Nerd Font | FiraCode Nerd Font Bold |
FiraCodeNerdFont-Oblique.ttf | FiraCodeNF-Oblique | FiraCode Nerd Font | FiraCode Nerd Font Oblique |
FiraCodeNerdFont-BoldOblique.ttf | FiraCodeNF-BoldOblique | FiraCode Nerd Font | FiraCode Nerd Font Bold Oblique |
I like the Fira Code font, but
- I wanted to use the style variants as default instead of the default variants
- I hate all default
i
andl
variants - Nerd Font patched fonts
- Don't have the complete set of glyphs
- Are monospaced while many term emulators (including iterm2) support non-monospaced fonts
- I don't want to manually patch the font every time a new version of Fira Code or NerdFont is released
I have not tested each character individually, but it should work. This project is for my personal use, I will try to fix any issues reported, but I cannot guarantee any timelines or if I fix it at all.
See changelog.md
This repository is licensed under the MIT License; Some of the files committed and used during the build process in this repository follow the licenses from their source location, Which are updated in the LICENSE on the best effort basis.