config: add tweak.scaling-filter

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.
This commit is contained in:
Daniel Eklöf 2020-09-13 17:59:56 +02:00
parent 6a9725c7a6
commit 51a7e44fa2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 46 additions and 2 deletions

2
main.c
View file

@ -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()) {