6

After upgrading to Fedora 29 konsole has started to use ligatures for my monowidth fonts (currently Inconsolata), which is beyond terrible for example when it decides to combine "fi". I have futzed with fontconfig tweaks like the following, to no avail:

$ cat ~/.config/fontconfig/fonts.conf
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <description>Disable ligatures for monospaced fonts to avoid ff, fi, ffi, etc. becoming only one character wide</description>
  <match target="font">
    <test name="family" compare="contains" ignore-blanks="true">
      <string>Inconsolata</string>
    </test>
    <edit name="fontfeatures" mode="append">
      <string>liga off</string>
      <string>dlig off</string>
    </edit>
  </match>
</fontconfig>

I can work around it by switching fonts, but this behavior is just unhelpful. How do I properly prevent konsole from using any kind of ligatures for my fonts?

Christian
  • 171

0 Answers0