- Saved searches
- Use saved searches to filter your results more quickly
- License
- coderIML/FiraCode
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- Saved searches
- Use saved searches to filter your results more quickly
- License
- tonsky/FiraCode
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- Saved searches
- Use saved searches to filter your results more quickly
- Installing
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
License
coderIML/FiraCode
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Fira Code: monospaced font with programming ligatures
Fira Code is an extension of the Fira Mono font containing a set of ligatures for common programming multi-character combinations. This is just a font rendering feature: underlying code remains ASCII-compatible. This helps to read and understand code faster. For some frequent sequences like .. or // , ligatures allow us to correct spacing.
Works | Doesn’t work |
---|---|
Butterfly | Alacritty |
Hyper.app | cmd.exe |
iTerm 2 (since 3.1) | Cmder |
Kitty | ConEmu |
Konsole | GNOME Terminal |
QTerminal | mate-terminal |
Terminal.app | mintty |
Termux | PuTTY |
Token2Shell/MD | rxvt |
upterm | ZOC (Windows) |
ZOC (macOS) | gtkterm, guake, LXTerminal, sakura, Terminator, xfce4-terminal, and other libvte-based terminals (bug report) |
Works | Doesn’t work |
---|---|
Abricotine | Arduino IDE |
Android Studio (2.3+, instructions) | Adobe Dreamweaver |
Anjuta (unless at the EOF) | Delphi IDE |
AppCode (2016.2+, instructions) | Eclipse (Win, vote here) |
Atom 1.1 or newer (instructions) | Standalone Emacs (workaround) |
BBEdit/TextWrangler (v. 11 only, instructions) | gVim (Windows workaround) |
Brackets (with this plugin) | IDLE |
Chocolat | KDevelop 4 |
CLion (2016.2+, instructions) | Monkey Studio IDE |
Cloud9 (instructions) | |
Coda 2 | |
CodeLite | |
Eclipse (Mac 4.7+, Linux) | |
Geany | |
gEdit / Pluma | |
GNOME Builder | |
IntelliJ IDEA (2016.2+, instructions) | |
Kate, KWrite | |
Komodo | |
Leafpad | |
LibreOffice | |
LightTable (instructions) | |
LINQPad | |
MacVim 7.4 or newer (instructions) | |
Mancy | |
Meld | |
Mousepad | |
NetBeans | |
Notepad (Win) | |
Notepad++ (with a workaround) | |
PhpStorm (2016.2+, instructions) | |
PyCharm (2016.2+, instructions) | |
QtCreator | |
Rider | |
RStudio (instructions) | |
RubyMine (2016.2+, instructions) | |
Scratch | |
SublimeText (3146+) | |
Spyder IDE (only with Qt5) | |
SuperCollider 3 | |
TextAdept (Linux, Mac) | |
TextEdit | |
TextMate 2 | |
VimR (instructions) | |
Visual Studio 2015 | |
Visual Studio 2017 | |
Visual Studio Code (instructions) | |
WebStorm (2016.2+, instructions) | |
Xamarin Studio/Monodevelop | |
Xcode (8.0+, otherwise with plugin) | |
Probably work: Smultron, Vico | Under question: Code::Blocks IDE |
link rel pl-s">stylesheet" href pl-s">https://cdn.rawgit.com/tonsky/FiraCode/1.204/distr/fira_code.css">
/* CSS */ @import url(https://cdn.rawgit.com/tonsky/FiraCode/1.204/distr/fira_code.css);
- IE 10+, Edge: enable with font-feature-settings: «calt» 1;
- Firefox
- Safari
- Chromium-based browsers (Chrome, Opera)
- ACE
- CodeMirror (enable with font-variant-ligatures: contextual; )
Other monospaced fonts with ligatures:
- Author: Nikita Prokopov @nikitonsky
- Based on: Fira Mono
- Inspired by: Hasklig
- Software: Glyphs 2 (thx Georg Seifert for a license)
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Free monospaced font with programming ligatures
License
tonsky/FiraCode
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Fira Code: free monospaced font with programming ligatures
Fira Code is a free monospaced font containing ligatures for common programming multi-character combinations. This is just a font rendering feature: underlying code remains ASCII-compatible. This helps to read and understand code faster. For some frequent sequences like .. or // , ligatures allow us to correct spacing.
Fira Code is a personal, free-time project with no funding and a huge feature request backlog. If you love it, consider supporting its development via GitHub Sponsors or Patreon. Any help counts!
Start selling to enterprise customers with just a few lines of code. Add Single Sign-On (and more) in minutes instead of months.
Left: ligatures as rendered in Fira Code. Right: same character sequences without ligatures.
Fira Code comes with a huge variety of arrows. Even better: you can make them as long as you like and combine start/middle/end fragments however you want!
Fira Code is not only about ligatures. Some fine-tuning is done for punctuation and frequent letter pairs.
Fira Code comes with a few different character variants ( cv01 , cv02 , etc), stylistic sets ( ss01 , ss02 , etc) and other font features ( zero , onum , calt , etc), so that everyone can choose what’s best for them. How to enable
Some ligatures can be altered or enabled using stylistic sets/character variants:
Being a programming font, Fira Code has fantastic support for ASCII/box drawing, powerline and other forms of console UIs:
Fira Code is the first programming font to offer dedicated glyphs to render progress bars:
We hope more programming fonts will adopt this convention and ship their own versions.
Unicode coverage makes Fira Code a great choice for mathematical writing:
Editor compatibility list
Works | Doesn’t work |
---|---|
Arduino IDE (2.0+,same instructions as vscode) | Adobe Dreamweaver |
Abricotine | Delphi IDE |
Android Studio (2.3+, instructions) | Standalone Emacs (workaround) |
Anjuta (unless at the EOF) | IDLE |
AppCode (2016.2+, instructions) | KDevelop 4 |
Atom 1.1 or newer (instructions) | Monkey Studio IDE |
BBEdit (14.6+ instructions) | UltraEdit (Windows) |
Brackets (with this plugin) | |
Chocolat | |
CLion (2016.2+, instructions) | |
Cloud9 (instructions) | |
Coda 2 | |
CodeLite | |
CodeRunner | |
Comma (Under: Preferences > Editor > Font) | |
CotEditor | |
Eclipse | |
elementary Code | |
Geany (1.37+) | |
gEdit / Pluma | |
GNOME Builder | |
Godot | |
GoormIDE (instructions) | |
gVim (Windows, GTK) | |
IntelliJ IDEA (2016.2+, instructions) | |
Kate, KWrite | |
KDevelop 5+ | |
Komodo | |
Leafpad | |
LibreOffice | |
LightTable (instructions) | |
LINQPad | |
MacVim 7.4 or newer (instructions) | |
Mancy | |
MATLAB (instructions) | |
Meld | |
Mousepad | |
NeoVim-gtk | |
NetBeans | |
Notepad (Windows) | |
Notepad++ (with a workaround) | |
Notepad3 (instructions) | |
Nova | |
PhpStorm (2016.2+, instructions) | |
PyCharm (2016.2+, instructions) | |
QOwnNotes (21.16.6+) | |
QtCreator | |
Rider | |
RStudio (instructions) | |
RubyMine (2016.2+, instructions) | |
Scratch | |
Scribus (1.5.3+) | |
SublimeText (3146+) | |
Spyder IDE (only with Qt5) | |
SuperCollider 3 | |
TeXShop | |
TextAdept (Linux, macOS) | |
TextEdit | |
TextMate 2 | |
UltraEdit (UEX) (Linux) | |
VimR (instructions) | |
Visual Studio (2015+, instructions) | |
Visual Studio Code (instructions) | |
WebStorm (2016.2+, instructions) | |
Xamarin Studio/Monodevelop | |
Xcode (8.0+, otherwise with plugin) | |
Xi | |
Probably work: Smultron, Vico | Under question: Code::Blocks IDE |
Terminal compatibility list
Works | Doesn’t work |
---|---|
crosh (instructions) | Alacritty |
Hyper (see #3607) | Asbru Connection Manager |
iTerm 2 | Cmder |
Kitty | ConEmu |
Konsole | GNOME Terminal |
Mintty | gtkterm (ticket) |
QTerminal | guake (ticket) |
st (patch) | LXTerminal (ticket) |
Tabby | mate-terminal |
Terminal.app | PuTTY |
Termux | rxvt |
Token2Shell | sakura (ticket) |
Wez’s terminal | SecureCRT |
Windows Terminal | Terminator (ticket) |
ZOC (macOS) | terminology |
Tilix | |
Windows Console | |
xfce4-terminal (ticket) | |
xterm | |
ZOC (Windows) |
link rel pl-s">stylesheet" href pl-s">https://cdn.jsdelivr.net/npm/firacode@6.2.0/distr/fira_code.css">
/* CSS */ @import url(https://cdn.jsdelivr.net/npm/firacode@6.2.0/distr/fira_code.css);
/* Specify in CSS */ code < font-family: 'Fira Code', monospace; > @supports (font-variation-settings: normal) < code < font-family: 'Fira Code VF', monospace; > >
- IE 10+, Edge Legacy: enable with font-feature-settings: «calt»;
- Firefox
- Safari
- Chromium-based browsers (Chrome, Opera)
- ACE
- CodeMirror (enable with font-variant-ligatures: contextual; )
Free monospaced fonts with ligatures:
Paid monospaced fonts with ligatures:
Building Fira Code locally
In case you want to alter FiraCode.glyphs and build OTF/TTF/WOFF files yourself, this is the setup I use on macOS:
# install all required build tools ./script/bootstrap_macos.sh # build the font files ./script/build.sh # install OTFs to ~/Library/Fonts cp distr/otf/*.otf ~/Library/Fonts
Alternatively, you can build Fira Code using Docker:
# install dependencies in a container and build the font files make # package the font files from dist/ into a zip make package
If you want to permanently enable certain style sets or character variations, maybe because your editor of choice does not allow you to toggle these individually, you can provide the desired features as a comma separated list to the build script via the -f / —features flag.
Default: none.
To separate different versions of your font you can specify the desired font family name with the -n / —family-name flag. The special value ‘features’ will append a sorted, space separated list of enabled features to the default family name.
Default: «Fira Code»
You can also limit the font weights that will be created with the -w / —weights option.
Default: «Light,Regular,Retina,Medium,SemiBold,Bold»
# locally in your shell ./script/build.sh --features "ss02,ss08,ss10,cv03,cv07,cv14" --family-name "Fira Code straight" --weights "Regular,Bold" # or via a docker container (creates the family name 'Fira Code cv01 cv02 cv06 cv31 onum ss01 ss03 ss04 zero') docker run --rm -v "$ ":/opt tonsky/firacode:latest ./script/build.sh -f "cv01,cv02,cv06,ss01,zero,onum,ss03,ss04,cv31" -n "features" # in Git Bash from Git for Windows, or any other MSYS2 based shell, you might need to disable path conversion MSYS2_ARG_CONV_EXCL="*" docker run --rm -v "$ ":/opt tonsky/firacode:latest ./script/build.sh -f "ss02,ss03,ss04,ss05,ss06,ss07"
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Installing
Clone this wiki locally
- Select all font files
- Right click and select Open (alternatively Open With Font Book )
- Select «Install Font»
- Use brew and cask: Not officially supported, might install outdated version
brew tap homebrew/cask-fonts brew install --cask font-fira-code
- In the ttf folder double-click each font file and click “Install font”; see “Manual Installation” if double-clicking doesn’t work
- Download the latest font zip file Fira_Code_v6.2.zip
- In the ttf folder, double-click each font file, click “Install font”; to install all at once, select all files, right-click, and choose “Install”
- On some systems (especially Windows 10), you may need to «Unblock» each font file before installing. To do so, right-click each font file, click Properties, then check Unblock next to Security at the bottom of the General tab. Click OK, and then install. Note: Skipping this step may cause the Fira Code fonts to intermittently stop working in VS Code, even though the fonts still appear in other programs.
On Windows 10 open the System Settings, go to Fonts and drag and drop the the font files from the ttf folder into the drop area indicated at the top of the dialog.
- Use chocolatey: choco install firacode
- Use scoop: Run as administrator
scoop bucket add nerd-fonts scoop install firacode