Skip to content

Instantly share code, notes, and snippets.

@cmeiklejohn
Created November 18, 2011 02:57
Show Gist options
  • Save cmeiklejohn/1375438 to your computer and use it in GitHub Desktop.
Save cmeiklejohn/1375438 to your computer and use it in GitHub Desktop.
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
Copy link

My eyes are thanking you for this fix!

@weslly
Copy link

weslly commented Jul 28, 2014

Works great, thanks!

@georgesuba
Copy link

works great! thanks!

@xsellier
Copy link

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