Inconsolata icon indicating copy to clipboard operation
Inconsolata copied to clipboard

No Ligatures in Ligconsolata

Open rajadain opened this issue 4 years ago • 8 comments

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:

image

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.

image

image

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?

rajadain avatar Apr 30 '20 00:04 rajadain

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

hd719 avatar Aug 20 '20 17:08 hd719

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 🤷🏻‍♂️

dwiyatci avatar Aug 30 '20 16:08 dwiyatci

In case of version 3.000 - Installing the otf version rather ttf works for me on Windows 10.

shahriarpshuvo avatar Feb 12 '21 08:02 shahriarpshuvo

@rajadain Where to download Liga Courier Prime? 🤔 Seems legit works to me.

shahriarpshuvo avatar Feb 12 '21 08:02 shahriarpshuvo

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 avatar Feb 12 '21 15:02 rajadain

@rajadain Can you share your Courier Prime Liga patched one? :D

shahriarpshuvo avatar Feb 12 '21 15:02 shahriarpshuvo

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 avatar Feb 15 '21 16:02 rajadain

@rajadain Sorry for late reply. I've already did that. 😁

shahriarpshuvo avatar Feb 22 '21 00:02 shahriarpshuvo