Skip to content

Instantly share code, notes, and snippets.

@AhmedMostafa16
Created February 2, 2022 20:54
Show Gist options
  • Save AhmedMostafa16/e1b0150b5228d4b0ddcb4270b842376f to your computer and use it in GitHub Desktop.
Save AhmedMostafa16/e1b0150b5228d4b0ddcb4270b842376f to your computer and use it in GitHub Desktop.
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<dir>~/.fonts</dir>
<match target="font">
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="hintstyle" mode="assign">
<const>hintfull</const>
</edit>
</match>
<match target="font">
<test compare="more_eq" qual="any" name="size">
<double>1</double>
</test>
<test compare="less_eq" qual="any" name="size">
<double>12</double>
</test>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
</match>
</fontconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment