From 51a7e44fa295b95404cb9b9373fb9b9a44664fda Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 13 Sep 2020 17:59:56 +0200 Subject: config: add tweak.scaling-filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the new fcft_set_scaling_filter() API to use a non-default scaling filter. By default, we use lanczo3, the ‘best’ filter. This overrides the default in fcft, which is ‘cubic’ filtering. --- main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index 8ce4c7b0..192a00f0 100644 --- a/main.c +++ b/main.c @@ -363,6 +363,8 @@ main(int argc, char *const *argv) return EXIT_SUCCESS; } + fcft_set_scaling_filter(conf.tweak.fcft_filter); + setlocale(LC_CTYPE, ""); LOG_INFO("locale: %s", setlocale(LC_CTYPE, NULL)); if (!locale_is_utf8()) { -- cgit v1.3