Chr*_*ian 5 fedora fonts kde fontconfig konsole
升级到 Fedora 29 后,konsole 开始对我的等宽字体(当前为 Inconsolata)使用连字,例如当它决定组合“fi”时,这非常糟糕。我对 fontconfig 进行了如下调整,但无济于事:
$ 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>
Run Code Online (Sandbox Code Playgroud)
我可以通过切换字体来解决这个问题,但这种行为毫无帮助。如何正确防止 konsole 对我的字体使用任何类型的连字?
| 归档时间: |
|
| 查看次数: |
1381 次 |
| 最近记录: |