aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-03-12 09:03:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-03-12 09:03:06 +0000
commit7f11ba59efad352b1ff0bb11c0286942ae3d1edb (patch)
treec7a5c315d41c63621a1c38599ad0aefcce732f8c /terminal.c
parentinput: kitty: unittest: don't fail if system has no compose tables (diff)
fcft: require fcft >= 3.3.0, add support for new scaling-filters
Update tweak.scaling-filter to recognize the new scaling filters added in fcft-3.3.0. Since fcft_set_scaling_filter() is deprecated in 3.3.0, don't use it anymore, and set the scaling filter via fcft_font_options instead.
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.c b/terminal.c
index 2ba85276..ae1adb1a 100644
--- a/terminal.c
+++ b/terminal.c
@@ -1071,6 +1071,7 @@ reload_fonts(struct terminal *term, bool resize_grid)
struct fcft_font_options *options = fcft_font_options_create();
+ options->scaling_filter = conf->tweak.fcft_filter;
options->color_glyphs.format = PIXMAN_a8r8g8b8;
options->color_glyphs.srgb_decode = render_do_linear_blending(term);