Skip to content

Commit

Permalink
ShareTechMono: Remove fi/fl ligs
Browse files Browse the repository at this point in the history
[why]
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.

Fixes: 1631

Reported-by: @Markov-Komarov
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
  • Loading branch information
Finii committed May 8, 2024
1 parent c0ccf85 commit 3043085
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/unpatched-fonts/ShareTechMono/config.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Config]
commandline: --removeligatures
[Subtables]
ligatures: [
"'liga' Standard Ligatures lookup 5 subtable",
"'dlig' Discretionary Ligatures lookup 4 subtable" ]

0 comments on commit 3043085

Please sign in to comment.