mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-15 05:33:58 -04:00
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:
parent
6a9725c7a6
commit
51a7e44fa2
6 changed files with 46 additions and 2 deletions
2
main.c
2
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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue