raster pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=45efe06cda1f4957cea2ef5e7ff8129a31cbded4
commit 45efe06cda1f4957cea2ef5e7ff8129a31cbded4 Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Mon Jan 18 12:55:29 2021 +0000 e - force fonts to render clearly with FREETYPE_PROPERTIES set by e as per comments in commit. force this if you have set_xapp_dpi onwhich is a sign u want everyone to agree on rendering fonts. --- src/bin/e_main.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/bin/e_main.c b/src/bin/e_main.c index 3a43c837b..5457daa6b 100644 --- a/src/bin/e_main.c +++ b/src/bin/e_main.c @@ -601,6 +601,21 @@ main(int argc, char **argv) e_util_env_set("QT_QPA_PLATFORMTHEME", "gtk2"); e_util_env_set("QT_STYLE_OVERRIDE", "gtk2"); } + // make fonts NOT BLURRY. after 35 (v 38, v40 of interpreter) fonts become + // horizontally blurry - they seemingly want the interpreter for hinting to + // sub-pixel position on sub-pixel boundaries. this ends up with blurry + // horizontal positioning/hinting that is on a sub-pixel. yes - this + // requires logging out and logging in to get e to not set this env var. + // for now that's good enough. the aim is to get everyone to render the + // same way and this does it. efl, gtk, qt, chromium, firtefox, ... + if (e_config->scale.set_xapp_dpi) + { + s = getenv("FREETYPE_PROPERTIES"); + if (!s) + { + e_util_env_set("FREETYPE_PROPERTIES", "truetype:interpreter-version=35"); + } + } TS("E_Env Init"); if (!e_env_init()) --