mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-11 05:33:55 -04:00
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.
This commit is contained in:
parent
cfa178ab25
commit
7f11ba59ef
6 changed files with 12 additions and 6 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue