From 51a7e44fa295b95404cb9b9373fb9b9a44664fda Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 13 Sep 2020 17:59:56 +0200 Subject: config: add tweak.scaling-filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- doc/foot.ini.5.scd | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index b404d716..6829b0cb 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -460,9 +460,21 @@ should not change these unless you understand what they do and note that changing the default values *will* print a warning when launching foot. +Note that these options may change, or be removed at any time, without +prior notice. + When reporting bugs, please mention if, and to what, you have changed 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). + + Default: _lanczos3_. + *allow-overflowing-double-width-glyphs* Boolean. when enabled, double width glyphs with a character width of 1 are allowed to overflow into the neighbouring cell. -- cgit v1.3