Skip to content

Instantly share code, notes, and snippets.

Embed
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>
@paldepind

This comment has been minimized.

Copy link

commented Feb 17, 2014

My eyes are thanking you for this fix!

@weslly

This comment has been minimized.

Copy link

commented Jul 28, 2014

Works great, thanks!

@georgesuba

This comment has been minimized.

Copy link

commented Jun 11, 2016

works great! thanks!

@xsellier

This comment has been minimized.

Copy link

commented Oct 16, 2017

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
You can’t perform that action at this time.