Firacode killed my code!

/!\ rant alert!!!

I stumbled upon a blog post about fixed font for coders yesterday and discovered firacode. The glyph were nice and very readables. They work nice with my terminal and with gvim. And they work with firefox too. But not nicely. Because in firefox, the ligatures work whereas it’s not the case for gvim or my term. See the picture!

The =<< is really FUBAR!!! (it’s at the bottom of the lower code, near the //verdict// word) (gvim is the upper part, firefox is the lower part)

I have not been able so far and despite Google to cancel all and every ligature for that fonts within firefox. I tried with a ~/.mozilla/firefox/(my-profil-id).default-esr/chrome/userContent.css file whose text was

:root {
  -moz-font-feature-settings: "calt" 0 !important;
}

but nothing. As for the stylish extension, I was not able to see how it could be of any use (how bumb of me).

And chromium is on a par with firefox.

I wish for a firacode-like font without any ligature. Ligatures within code is nonsense. code has not to be pretty but to be what it is. a->b doesn’t have to have a nice arrow but to be a minus followed by an angle bracket.

As for now, I changed back my fixed fonts for my browsers.

You can, I think, find fonts that do not use ligatures at https://www.programmingfonts.org/ (the user interface there seems a little odd but since you can find fonts with ligature support I presume you can also narrow the selections to just the ones without.)

At one time I liked/used

  • Source Code Pro
  • Space Mono
  • Terminus
  • Inconsolata
    if that helps narrow the selection.

It is good to have a look at some of kookma goodies

http://kookma.webfonts.tiddlyspot.com/

1 Like

Thank you @jwd and @Mohammad .

I’ve elected Fira Mono, Nata Sans Mono, PT Mono, Oxygen Mono, Red Hat Mono as potential fonts for replacing jira code with the help of google webfonts helper with the “monospace” search.

And I added 1il10O|l. -> as an extra text for the regular demo phrase to see easy reading of tricky parts and the absence of ligatures.