SpaceMono: Remove fi/fl ligs

[why]
With commit
    d501410 Update SpaceMono to 1.003

we have this statement
    Ligatures moved into discretionary, so we do not need to remove them
    anymore.

but it is wrong. The fi/fl ligatures moved into discretionary ONLY for
the Regular/Bold, but they are still ordinary ligatures in *Italic.
Which is a bug in the original/upstream font.

Furthermore when we crate the hard-monospaced Nerd Font Mono variant the
ligs will be shrunk to 1 cell wide, while the content of the `fi` lig is
of course two cells, ending up in strange overwriting issues.

[how]
Remove the `fl` and `fi` ligatures completely.

[note]
The arrow-calt rules did not resurface in neither Regular nor Italic.

Fixes: #2062

Reported-by: @kStor2poche
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
Fini Jastrow 2026-08-10 12:04:18 +02:00
parent da778d6bb3
commit ca537ca01c

View file

@ -0,0 +1,7 @@
[Config]
commandline: --removeligatures
[Subtables]
# fi/fl are dlig in Regular but liga in Italic
ligatures: [
["Italic", "'liga' Standard Ligatures in Latin lookup 17 subtable"],
["!Italic", "'dlig' Discretionary Ligatures in Latin lookup 21 subtable"] ]