Improve handling of infinite length ligatures in newer versions of FiraCode and CascadiaCode.

Now such ligatures are detected based on glyph naming convention.
This removes the gap in the ligatures at cell boundaries. However, at
least in Fira Code the infinite length ligature glyphs define a negative
left side bearing. This means they overlap when drawn consecutively,
leading to unsightly bumps at the joins.

Fixes #2695
This commit is contained in:
Kovid Goyal
2021-02-15 15:49:09 +05:30
parent 912c46fc57
commit ba005e991a
4 changed files with 61 additions and 12 deletions

View File

@@ -68,6 +68,10 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
some reason puts empty glyphs after the ligature glyph rather than before it
(:iss:`3313`)
- Improve handling of infinite length ligatures in newer versions of FiraCode
and CascadiaCode. Now such ligatures are detected based on glyph naming
convention, this removes the gap in the ligatures at cell boundaries (:iss:`2695`)
0.19.3 [2020-12-19]
-------------------