From 5832242879ac7385d10ade96a5a7f20b5ce537b2 Mon Sep 17 00:00:00 2001 From: Violet Spark Date: Thu, 9 Dec 2021 19:48:22 -0800 Subject: [PATCH] disable subpixel rendering --- .../10-no-sub-pixel-really.conf | 13 ++++++++++++ .../11-lcdfilter-none.conf | 20 +++++++++++++++++++ disable-subpixel-rendering/README.txt | 9 +++++++++ disable-subpixel-rendering/Xresources | 6 ++++++ 4 files changed, 48 insertions(+) create mode 100644 disable-subpixel-rendering/10-no-sub-pixel-really.conf create mode 100644 disable-subpixel-rendering/11-lcdfilter-none.conf create mode 100644 disable-subpixel-rendering/README.txt create mode 100644 disable-subpixel-rendering/Xresources diff --git a/disable-subpixel-rendering/10-no-sub-pixel-really.conf b/disable-subpixel-rendering/10-no-sub-pixel-really.conf new file mode 100644 index 0000000..95baf45 --- /dev/null +++ b/disable-subpixel-rendering/10-no-sub-pixel-really.conf @@ -0,0 +1,13 @@ + + + + + + + + Disable sub-pixel rendering + + + none + + diff --git a/disable-subpixel-rendering/11-lcdfilter-none.conf b/disable-subpixel-rendering/11-lcdfilter-none.conf new file mode 100644 index 0000000..27497cc --- /dev/null +++ b/disable-subpixel-rendering/11-lcdfilter-none.conf @@ -0,0 +1,20 @@ + + + + + + + + Use none as default for LCD filter + + + + none + + + diff --git a/disable-subpixel-rendering/README.txt b/disable-subpixel-rendering/README.txt new file mode 100644 index 0000000..ff8b5bb --- /dev/null +++ b/disable-subpixel-rendering/README.txt @@ -0,0 +1,9 @@ +This is stuff for disabling subpixel rendering of fonts which helps make text not look rainbowy when you arent running at the native resolution. you don't have to do it just go with whatever look you prefer. + +the .conf files go in /etc/fonts/conf.d + +make sure to delete any config files already there that mention anything about lcd filters or rgba or subpixel or any of that. + +the Xresources stuff goes in ~/.Xresources or wherever and is for the programs that pay attention to that. you can change the hinting or antialias settings as you like tho the important thing is disabling lcdfilter and rgba + +Also with a program like lxappearance you can disable it in the gtk settings too but idk if that actually matters but it might override the conf.d settings so might be good to do that too diff --git a/disable-subpixel-rendering/Xresources b/disable-subpixel-rendering/Xresources new file mode 100644 index 0000000..ddd6493 --- /dev/null +++ b/disable-subpixel-rendering/Xresources @@ -0,0 +1,6 @@ +! disable subpixel rendering +Xft.antialias: 1 +Xft.hinting: 1 +Xft.hintstyle: hintslight +Xft.lcdfilter: none +Xft.rgba: none