From d6f2800dddb045f96c73a4c60963585e28b4d204 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sat, 31 Jul 2021 00:08:58 +0000 Subject: [PATCH] fontconfig: disable hinting on sans-serif fonts Hinting apparently makes Chrom{e,ium}/Electron display fonts horribly, whilst everything else ever is fine with it on. Re-organise and tidy up fontconfig slightly. Signed-off-by: Joe Groocock --- fontconfig/fonts.conf | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/fontconfig/fonts.conf b/fontconfig/fonts.conf index 3ffb65c..e34e9e2 100644 --- a/fontconfig/fonts.conf +++ b/fontconfig/fonts.conf @@ -8,7 +8,11 @@ Noto Color Emoji FontAwesome 5 Pro Light + + hintnone + false + serif @@ -17,6 +21,7 @@ FontAwesome 5 Pro Light + monospace @@ -25,6 +30,20 @@ FontAwesome 5 Pro Light + + + Noto Sans + hintnone + + + + Source Code Pro + false + hintfull + lcddefault + rgb + + SF Mono @@ -32,13 +51,8 @@ - - Noto Sans - hintnone - - - Source Code Pro - hintfull + + true lcddefault rgb