[smc-discuss] OT: Disabling ligatures in monospace font Inconsolata

Syam Krishnan syamcr at gmail.com
Sun Aug 18 23:05:07 PDT 2019


Hi

I'm posting here seeking advice from font experts.

I had been using Inconsolata as my monospace font. But ever since they 
added ligature support, it hasn't been the best option. In my opinion, 
this makes the font highly specific for certain programming languages. 
Case in point: the sequence <= (< followed by =) is rendered as 
'less-than-or-equal' symbol. This doesn't make sense for VHDL where that 
combination represents something else.

Inconsolata page says:

---------------------

They are available in two families.

  * "Inconsolata" exposes the ligatures as dlig. These are disabled by
    default, and probably won't show up in your editor. You can enable
    them in CSS with this rule:

    font-variant-ligatures: discretionary-ligatures;

  * "Ligconsolata" exposes the ligatures as liga. These are enabled by
    default. This is the family you should use in your text editor

---------------------

Can anybody tell me how to choose the ligature-free version? I'm on 
Fedora and have this font installed from official Fedora repos.


Thanks and regards,


Syam



More information about the discuss mailing list