Hacker News new | ask | show | jobs
by throw-the-towel 1 day ago
Won't that disable the real ligatures in non-monospaced fonts?
1 comments

Yeah, you can change the block to filter to specific fonts or font families if you want. For example, in my configs I only apply that setting to the Cascadia Code font by doing:

  <match target="font">
    <test name="family" compare="eq" ignore-blanks="true">
      <string>Cascadia Code</string>
    </test>
    <edit name="fontfeatures" mode="append">
      <string>liga off</string>
      <string>dlig off</string>
      <string>rlig off</string>
    </edit>
  </match>