mirror of
https://github.com/elenapan/dotfiles.git
synced 2025-12-26 15:14:58 +08:00
Former-commit-id: a3ec5f2798
Former-commit-id: 52207ae73b24ae23451041239a21937bf0cbdece
Former-commit-id: f6b7a0fa1b3fc4687cd723f968dab334812213c6
Former-commit-id: a31e43d67d89ff0ecb9e06ec9691ddb04c5e6f30
86 lines
2.5 KiB
XML
86 lines
2.5 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
|
<fontconfig>
|
|
<!--Disable antialias for specific fonts-->
|
|
<match target="font">
|
|
<test qual="any" name="family">
|
|
<!--Add fonts here-->
|
|
<!--Multiple values cause a warning
|
|
but they still work-->
|
|
<string>unscii</string>
|
|
<!--<string>pxplus ibm vga8</string>-->
|
|
<!--<string>pxplus ibm ega8</string>-->
|
|
</test>
|
|
<edit name="antialias" mode="assign">
|
|
<bool>false</bool>
|
|
</edit>
|
|
</match>
|
|
|
|
<!--Disable bold for specific fonts-->
|
|
<match target="pattern">
|
|
<test qual="any" name="family">
|
|
<string>unscii</string>
|
|
<!--<string>pxplus ibm vga8</string>-->
|
|
<!-- <string>monospace</string> -->
|
|
</test>
|
|
<test name="weight" compare="more">
|
|
<const>medium</const>
|
|
</test>
|
|
<edit name="weight" mode="assign" binding="same">
|
|
<!-- Disable bold -->
|
|
<const>medium</const>
|
|
<!-- Enable bold -->
|
|
<!-- <const>bold</const> -->
|
|
</edit>
|
|
</match>
|
|
|
|
<!--Global settings-->
|
|
<match target="font">
|
|
<!--<edit name="antialias" mode="assign">-->
|
|
<!--<bool>false</bool>-->
|
|
<!--</edit>-->
|
|
<edit name="autohint" mode="assign">
|
|
<bool>true</bool>
|
|
</edit>
|
|
<edit name="hinting" mode="assign">
|
|
<bool>true</bool>
|
|
</edit>
|
|
<edit mode="assign" name="hintstyle">
|
|
<!--Values: hintnone, hintslight, hintmedium, hintfull-->
|
|
<const>hintfull</const>
|
|
</edit>
|
|
<edit mode="assign" name="lcdfilter">
|
|
<const>lcddefault</const>
|
|
</edit>
|
|
<!--Subpixel rendering: pixel alignment-->
|
|
<!--<edit name="rgba" mode="assign">-->
|
|
<!--<const>rgb</const>-->
|
|
<!--</edit>-->
|
|
</match>
|
|
|
|
<!--Change monospace font globally-->
|
|
<match target="pattern">
|
|
<test name="family" qual="any">
|
|
<string>monospace</string>
|
|
</test>
|
|
<edit binding="strong" mode="prepend" name="family">
|
|
<string>Iosevka Custom</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<!--Change serif font globally-->
|
|
<alias>
|
|
<family>serif</family>
|
|
<prefer>
|
|
<family>Source Serif Pro</family>
|
|
</prefer>
|
|
</alias>
|
|
|
|
<!--Change sans-serif font globally-->
|
|
<alias>
|
|
<family>sans-serif</family>
|
|
<prefer>
|
|
<family>Source Sans Pro</family>
|
|
</prefer>
|
|
</alias>
|
|
</fontconfig>
|