Inconsolata
Inconsolata copied to clipboard
No Ligatures in Ligconsolata
Hello,
Apologies if this has already been answered elsewhere, I could not find it in existing issues. I am unable to see ligatures when using Ligconsolata:
I've tested in Sublime Text, VS Code, macOS Terminal, iTerm2, kitty, and Chrome (as a replacement for my GitHub font). I routinely use Hasklig, Fira Code, and other Ligaturized fonts, and they work on all of the above.
I read some discussion on removing default ligatures from Inconsolata with the use of dlig
, but Ligconsolata should have been compiled with liga
. I've tried Ligconsolata from master
, the 3.000 release, and the 2.012 release, to no avail.
Am I missing something obvious? How can I get the (rather fantastic) ligatures to work?
Not sure what's going on in the 3.0.0 release, but download the font (v2.012) here (Inconsolata-Regular.ttf)
If you use vscode in this file
/settings.json
"editor.fontFamily": "Inconsolata",
"editor.fontLigatures": true,
and it will work
I downloaded it from the v3.000
tree:
- https://github.com/googlefonts/Inconsolata/blob/v3.000/fonts/otf/Ligconsolata-Bold.otf
- https://github.com/googlefonts/Inconsolata/blob/v3.000/fonts/otf/Ligconsolata-Regular.otf
- https://github.com/googlefonts/Inconsolata/blob/v3.000/fonts/ttf/Ligconsolata-Bold.ttf
- https://github.com/googlefonts/Inconsolata/blob/v3.000/fonts/ttf/Ligconsolata-Regular.ttf
Works for me on my IDE (VSCode/WebStorm), but for some strange reason it doesn't on my Terminal 🤷🏻♂️
In case of version 3.000
- Installing the otf
version rather ttf
works for me on Windows 10.
@rajadain Where to download Liga Courier Prime
? 🤔 Seems legit works to me.
Courier Prime (and Courier Prime Sans and Courier Prime Code) are available here: https://quoteunquoteapps.com/courierprime/
I used Ligaturizer to add Fira Code ligatures to it: https://github.com/ToxicFrog/Ligaturizer
I've done that on many fonts and it works pretty well. My current setup is using a Ligaturized version of Inconsolata LGC: https://github.com/MihailJP/Inconsolata-LGC
@rajadain Can you share your Courier Prime Liga patched one? :D
Unfortunately the computer on which I took those screenshots on has since passed away. Furthermore, I'm not sure I'd be at liberty to share any modified versions of Courier Prime under their license. It is simple enough to produce given the instructions above, won't take 10 minutes.
@rajadain Sorry for late reply. I've already did that. 😁