googlefonts / Inconsolata

Development repo of Inconsolata Fonts by Raph Levien
http://levien.com/type/myfonts/inconsolata.html
SIL Open Font License 1.1
1.32k stars 64 forks source link

No Ligatures in Ligconsolata #52

Open rajadain opened 4 years ago

rajadain commented 4 years ago

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?

hd719 commented 3 years ago

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

dwiyatci commented 3 years ago

I downloaded it from the v3.000 tree:

Works for me on my IDE (VSCode/WebStorm), but for some strange reason it doesn't on my Terminal 🤷🏻‍♂️

shahriarpshuvo commented 3 years ago

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

shahriarpshuvo commented 3 years ago

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

rajadain commented 3 years ago

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

shahriarpshuvo commented 3 years ago

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

rajadain commented 3 years ago

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.

shahriarpshuvo commented 3 years ago

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