2019-11-01 03:08:32 +01:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
|
|
|
<!-- See LICENSE file for copyright and license details. -->
|
|
|
|
<fontconfig>
|
|
|
|
<!-- change default fonts -->
|
|
|
|
<alias>
|
|
|
|
<family>monospace</family>
|
|
|
|
<prefer>
|
|
|
|
<family>DejaVu Sans Mono</family>
|
|
|
|
<family>M+ 1m</family>
|
|
|
|
</prefer>
|
|
|
|
</alias>
|
|
|
|
<alias>
|
|
|
|
<family>sans-serif</family>
|
|
|
|
<prefer>
|
|
|
|
<family>DejaVu Sans</family>
|
|
|
|
<family>M+ 1p</family>
|
|
|
|
</prefer>
|
|
|
|
</alias>
|
|
|
|
<alias>
|
|
|
|
<family>serif</family>
|
|
|
|
<prefer>
|
|
|
|
<family>DejaVu Serif</family>
|
|
|
|
<family>M+ 1p</family>
|
|
|
|
</prefer>
|
|
|
|
</alias>
|
|
|
|
|
|
|
|
<!-- whitelist bitmaps font -->
|
|
|
|
<selectfont>
|
|
|
|
<acceptfont>
|
|
|
|
<pattern>
|
|
|
|
<or>
|
|
|
|
<patelt name="family"><string>bitocra</string></patelt>
|
|
|
|
<patelt name="family"><string>Fixed</string></patelt>
|
|
|
|
</or>
|
|
|
|
</pattern>
|
|
|
|
</acceptfont>
|
|
|
|
</selectfont>
|
2020-12-08 20:42:51 +01:00
|
|
|
|
|
|
|
<!-- 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>
|
2019-11-01 03:08:32 +01:00
|
|
|
</fontconfig>
|