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:
Daniel Eklöf 2025-03-12 10:03:06 +01:00
parent cfa178ab25
commit 7f11ba59ef
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 12 additions and 6 deletions

View file

@ -1716,9 +1716,8 @@ any of these options.
*scaling-filter*
Overrides the default scaling filter used when down-scaling bitmap
fonts (e.g. emoji fonts). Possible values are *none*, *nearest*,
*bilinear*, *cubic* or *lanczos3*. *cubic* and *lanczos3* produce
the best results, but are slower (with *lanczos3* being the best
_and_ slowest).
*bilinear*, *impulse*, *box*, *linear*, *cubic* *gaussian*,
*lanczos2*, *lanczos3* or *lanczos3-stretched*.
Default: _lanczos3_.