Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
fix debian chrome/chromium hinting problems since it doesn't obey the normal gnome settings
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>none</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintslight</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
</fontconfig>

My eyes are thanking you for this fix!

weslly commented Jul 28, 2014

Works great, thanks!

works great! thanks!

Got a font rendering issue on VSCode, this has fixed everything, thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment