aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-09-13 15:59:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-09-13 15:59:56 +0000
commit51a7e44fa295b95404cb9b9373fb9b9a44664fda (patch)
treeae2a42a206afa538e7d33ce83c6640851e7adcd0 /main.c
parentconfig: log warning when new boolean tweak options have been enabled (diff)
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.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
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()) {