fontconfig: disable ligatures for monospace fonts
This commit is contained in:
parent
54a7ab5e6e
commit
0dc2525dc4
@ -36,4 +36,18 @@
|
|||||||
</pattern>
|
</pattern>
|
||||||
</acceptfont>
|
</acceptfont>
|
||||||
</selectfont>
|
</selectfont>
|
||||||
|
|
||||||
|
<!-- disable ligatures for monospace fonts -->
|
||||||
|
<!-- Inspired by https://github.com/agriffis/skel/blob/69211a82584bf1bf1bbd6f0817d8611a5d967bfc/fontconfig/.config/fontconfig/fonts.conf#L127 -->
|
||||||
|
<match>
|
||||||
|
<test name="family" compare="contains">
|
||||||
|
<string>monospace</string>
|
||||||
|
</test>
|
||||||
|
<edit name="fontfeatures" mode="append">
|
||||||
|
<string>calt off</string>
|
||||||
|
<string>clig off</string>
|
||||||
|
<string>dlig off</string>
|
||||||
|
<string>liga off</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
</fontconfig>
|
</fontconfig>
|
||||||
|
Loading…
Reference in New Issue
Block a user