Skip to content

Troubleshooting

James Harris edited this page Aug 2, 2020 · 6 revisions

Make sure you actually installed Fira Code

See Installing

Make sure the font your editor displays is actually Fira Code

Easiest way is to compare the shape of @ & and r with the reference image:

Issues: #393 #373 #227

Make sure you’ve enabled ligatures in your editor

Consult this wiki (see above ↑) for instruction on how to do that.

Issues: #291

Make sure you’re on the latest version of Fira Code

Consult CHANGELOG to see when it was last updated.

Characters look weird, not monospaced, not rendered at all

Some Unicode characters are not in Fira Code. You can start by checking Fira Mono doc and Fira Code Changelog.

If character is missing, you’ll see glyphs from a fallback font chosen by your system, which might have drastically different look and metrics. Create an issue and I’ll try to add it to the Fira Code in the next version.

Issues: #812, #811, #800, #796

Font looks blurry/bad on Linux/Windows

Make sure you installed TTF, not OTF files. Issues: #798

Hinting issues

Known problem, can’t be easily fixed.

  • Uneven spacing in === and !== at certain font sizes, esp. on Windows #405 #243 #119 #114. The issue with === could be worked around by increasing/decreasing the font size by 0.5, so go from 12 to 12.5 or from 13.5 to 13.0 and test.

  • Different height of [] at certain font sizes #332 #251

Powerline characters are of slightly wrong size

Unfortunately this can’t be fixed for all terminals because they have different ways of calculate font metrics. See this comment

Issues: #426 #131 #44

Some ligatures work while some don’t

This is an issue with your editor and how it handles tokenization/syntax highlighting. Nothing can be done in a font to work around that. Report your problem to the corresponding editor’s issue tracker.

Corrupted font in IntelliJ on Windows

Go to C:\Windows\Fonts with cmd.exe, find and delete everything having Fira in the file name. It’s important that you use terminal commands, not Explorer.

Issues: #589 #581 #398 IDEA-159901

No italics/bad italics

Fira Code does not have italics at all. If you see italicized glyphs it means your editor is “faking” them.

Issues: #375 #320 #281

Not recognized as monospace by fontconfig (e.g. in Kitty)

Issues: #840

Clone this wiki locally