home/fonts: cleanup
This commit is contained in:
parent
3f16fe1f24
commit
ab1da3531a
1 changed files with 0 additions and 76 deletions
|
@ -6,16 +6,6 @@
|
|||
</its:rules>
|
||||
<description>trash Font Config 4.0</description>
|
||||
|
||||
<match target="font">
|
||||
<!-- <edit mode="assign" name="antialias"> <bool>true</bool></edit> --> <!-- breaks emoji in GTK, unsure why -->
|
||||
<edit mode="assign" name="hinting"> <bool>true</bool></edit>
|
||||
<edit mode="assign" name="hintstyle"> <const>hintslight</const></edit>
|
||||
<edit mode="assign" name="autohint"> <bool>false</bool></edit>
|
||||
<edit mode="assign" name="embeddedbitmap"> <bool>false</bool></edit>
|
||||
<edit mode="assign" name="lcdfilter"> <const>lcddefault</const></edit>
|
||||
<edit mode="assign" name="rgba"> <const>rgb</const></edit>
|
||||
</match>
|
||||
|
||||
<!-- Default fonts -->
|
||||
<alias binding="strong">
|
||||
<family>serif</family>
|
||||
|
@ -43,70 +33,4 @@
|
|||
</prefer>
|
||||
</alias>
|
||||
|
||||
<alias binding="strong">
|
||||
<family>system-ui</family>
|
||||
<prefer>
|
||||
<family>Inter Variable</family>
|
||||
<family>Source Han Sans SC VF</family>
|
||||
<family>Noto Color Emoji</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
|
||||
|
||||
|
||||
<!-- Rebind unliked/old fonts -->
|
||||
<!-- Sans -->
|
||||
<match target="pattern">
|
||||
<test name="family" qual="any"><string>Microsoft YaHei</string></test>
|
||||
<edit name="family" binding="same" mode="assign"><string>sans-serif</string></edit>
|
||||
</match>
|
||||
<match target="pattern">
|
||||
<test name="family" qual="any"><string>SimHei</string></test>
|
||||
<edit name="family" binding="same" mode="assign"><string>sans-serif</string></edit>
|
||||
</match>
|
||||
<match target="pattern">
|
||||
<test name="family" qual="any"><string>WenQuanYi Zen Hei</string></test>
|
||||
<edit name="family" binding="same" mode="assign"><string>sans-serif</string></edit>
|
||||
</match>
|
||||
<match target="pattern">
|
||||
<test name="family" qual="any"><string>WenQuanYi Micro Hei</string></test>
|
||||
<edit name="family" binding="same" mode="assign"><string>sans-serif</string></edit>
|
||||
</match>
|
||||
<match target="pattern">
|
||||
<test name="family" qual="any"><string>WenQuanYi Micro Hei Light</string></test>
|
||||
<edit name="family" binding="same" mode="assign"><string>sans-serif</string></edit>
|
||||
</match>
|
||||
|
||||
<!-- Serif -->
|
||||
<match target="pattern">
|
||||
<test name="family" qual="any"><string>SimSun</string></test>
|
||||
<edit name="family" binding="same" mode="assign"><string>serif</string></edit>
|
||||
</match>
|
||||
<match target="pattern">
|
||||
<test name="family" qual="any"><string>SimSun-18030</string></test>
|
||||
<edit name="family" binding="same" mode="assign"><string>serif</string></edit>
|
||||
</match>
|
||||
|
||||
<!-- Monospace -->
|
||||
<match target="pattern">
|
||||
<test name="family" qual="any"><string>Liberation Mono</string></test>
|
||||
<edit name="family" binding="same" mode="assign"><string>monospace</string></edit>
|
||||
</match>
|
||||
<match target="pattern">
|
||||
<test name="family" qual="any"><string>SF Mono</string></test>
|
||||
<edit name="family" binding="same" mode="assign"><string>monospace</string></edit>
|
||||
</match>
|
||||
<match target="pattern">
|
||||
<test name="family" qual="any"><string>Noto Sans Mono</string></test>
|
||||
<edit name="family" binding="same" mode="assign"><string>monospace</string></edit>
|
||||
</match>
|
||||
|
||||
<!-- Reject DejaVu Sans -->
|
||||
<!-- why is DejaVu Sans still here after fonts.enableDefaultPackages = false -->
|
||||
<selectfont>
|
||||
<rejectfont>
|
||||
<pattern><patelt name="family" ><string>DejaVu Sans</string></patelt></pattern>
|
||||
</rejectfont>
|
||||
</selectfont>
|
||||
|
||||
</fontconfig>
|
||||
|
|
Loading…
Reference in a new issue