Create a gist now

Instantly share code, notes, and snippets.

Embed
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.

Show comment
Hide comment
@paldepind

paldepind Feb 17, 2014

My eyes are thanking you for this fix!

My eyes are thanking you for this fix!

@weslly

This comment has been minimized.

Show comment
Hide comment
@weslly

weslly Jul 28, 2014

Works great, thanks!

weslly commented Jul 28, 2014

Works great, thanks!

@georgesuba

This comment has been minimized.

Show comment
Hide comment
@georgesuba

georgesuba Jun 11, 2016

works great! thanks!

works great! thanks!

@xsellier

This comment has been minimized.

Show comment
Hide comment
@xsellier

xsellier Oct 16, 2017

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

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