From 3043085331f30955b336331ed92ab9588dac8957 Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Wed, 8 May 2024 14:19:25 +0200 Subject: [PATCH] ShareTechMono: Remove fi/fl ligs [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 --- src/unpatched-fonts/ShareTechMono/config.cfg | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/unpatched-fonts/ShareTechMono/config.cfg diff --git a/src/unpatched-fonts/ShareTechMono/config.cfg b/src/unpatched-fonts/ShareTechMono/config.cfg new file mode 100644 index 000000000..259847aa6 --- /dev/null +++ b/src/unpatched-fonts/ShareTechMono/config.cfg @@ -0,0 +1,6 @@ +[Config] +commandline: --removeligatures +[Subtables] +ligatures: [ + "'liga' Standard Ligatures lookup 5 subtable", + "'dlig' Discretionary Ligatures lookup 4 subtable" ]