Skip to content

Instantly share code, notes, and snippets.

@iddm
Last active August 18, 2022 05:43
Show Gist options
  • Save iddm/5c52653e6bbc21e0834dd06a4d2aa753 to your computer and use it in GitHub Desktop.
Save iddm/5c52653e6bbc21e0834dd06a4d2aa753 to your computer and use it in GitHub Desktop.
in ~/.Xresources:
Xft.dpi: 96
Xft.antialias: true
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
Xft.embeddedbitmap: false
in ~/.config/fontconfig/fonts.conf:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
<edit mode="assign" name="embeddedbitmap">
<bool>false</bool>
</edit>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
</match>
<dir>~/.fonts</dir>
</fontconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment