Open precompute opened 3 years ago
I've managed to sidestep the problem using https://github.com/ToxicFrog/Ligaturizer
It inserts ligatures from Fira Code into the target font. Fira Code's ligatures work without any extra configuration, and the same inserted into Inconsolata also work well. It does looks jarring, but I have turned off most 2/3 repeating character ligatures. I had to turn off the --
ligature because it interfered with dired. The remaining arrows and gt / lt signs look fairly okay.
Emacs 28 built with
HARFBUZZ
supports ligatures viacomposite
((featurep 'composite)
to check)Using DOOM Emacs , ligatures do not work with Inconsolata (and Ligconsolata) while they work for other fonts (without their specific config flags).
https://github.com/hlissner/doom-emacs/blob/f6f90c9791fa4a5e433bc42af52823bccfe1a362/modules/ui/ligatures/config.el#L174
Since the ligatures are exposed differently, I tried this, but to no avail:
(font-spec :family "Ligconsolata" :size 17 :otf '(latn nil nil (liga)))
(font-spec :family "Inconsolata" :size 17 :otf '(latn nil nil (dlig)))
Modifying a
Customize
entry:Does not work either.
I'd preferably sort this out in vanilla Emacs first, but I've had no luck there either.
Any help is appreciated!