mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-10 05:33:51 -04:00
config: enable allow-overflowing-double-width-glyphs by default
This commit is contained in:
parent
4b645376fd
commit
5b43477cc2
3 changed files with 9 additions and 5 deletions
|
|
@ -62,6 +62,10 @@
|
||||||
**foot.ini**(5)::KEYPAD, or
|
**foot.ini**(5)::KEYPAD, or
|
||||||
[README.md](README.md#user-content-keypad) for details
|
[README.md](README.md#user-content-keypad) for details
|
||||||
(https://codeberg.org/dnkl/foot/issues/194).
|
(https://codeberg.org/dnkl/foot/issues/194).
|
||||||
|
* Single-width characters with double-width glyphs are now allowed to
|
||||||
|
overflow into neighboring cells by default. Set
|
||||||
|
**tweak.allow-overflowing-double-width-glyphs** to ‘no’ to disable
|
||||||
|
this.
|
||||||
|
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
|
||||||
6
config.c
6
config.c
|
|
@ -1618,8 +1618,8 @@ parse_section_tweak(
|
||||||
|
|
||||||
else if (strcmp(key, "allow-overflowing-double-width-glyphs") == 0) {
|
else if (strcmp(key, "allow-overflowing-double-width-glyphs") == 0) {
|
||||||
conf->tweak.allow_overflowing_double_width_glyphs = str_to_bool(value);
|
conf->tweak.allow_overflowing_double_width_glyphs = str_to_bool(value);
|
||||||
if (conf->tweak.allow_overflowing_double_width_glyphs)
|
if (!conf->tweak.allow_overflowing_double_width_glyphs)
|
||||||
LOG_WARN("tweak: allow overflowing double-width glyphs");
|
LOG_WARN("tweak: disabled overflowing double-width glyphs");
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (strcmp(key, "damage-whole-window") == 0) {
|
else if (strcmp(key, "damage-whole-window") == 0) {
|
||||||
|
|
@ -2084,7 +2084,7 @@ config_load(struct config *conf, const char *conf_path,
|
||||||
|
|
||||||
.tweak = {
|
.tweak = {
|
||||||
.fcft_filter = FCFT_SCALING_FILTER_LANCZOS3,
|
.fcft_filter = FCFT_SCALING_FILTER_LANCZOS3,
|
||||||
.allow_overflowing_double_width_glyphs = false,
|
.allow_overflowing_double_width_glyphs = true,
|
||||||
.delayed_render_lower_ns = 500000, /* 0.5ms */
|
.delayed_render_lower_ns = 500000, /* 0.5ms */
|
||||||
.delayed_render_upper_ns = 16666666 / 2, /* half a frame period (60Hz) */
|
.delayed_render_upper_ns = 16666666 / 2, /* half a frame period (60Hz) */
|
||||||
.max_shm_pool_size = 512 * 1024 * 1024,
|
.max_shm_pool_size = 512 * 1024 * 1024,
|
||||||
|
|
|
||||||
|
|
@ -565,7 +565,7 @@ any of these options.
|
||||||
Note: this feature uses _heuristics_ to determine *which* glyphs
|
Note: this feature uses _heuristics_ to determine *which* glyphs
|
||||||
should be allowed to overflow.
|
should be allowed to overflow.
|
||||||
|
|
||||||
Default: _false_.
|
Default: _yes_.
|
||||||
|
|
||||||
*render-timer*
|
*render-timer*
|
||||||
Enables a frame rendering timer, that prints the time it takes to
|
Enables a frame rendering timer, that prints the time it takes to
|
||||||
|
|
@ -652,7 +652,7 @@ any of these options.
|
||||||
GPU usage (by the compositor, not by foot), and may have a
|
GPU usage (by the compositor, not by foot), and may have a
|
||||||
negative impact on battery life.
|
negative impact on battery life.
|
||||||
|
|
||||||
Default: _false_.
|
Default: _no_.
|
||||||
|
|
||||||
*max-shm-pool-size-mb*
|
*max-shm-pool-size-mb*
|
||||||
This option controls the amount of *virtual* memory used by the
|
This option controls the amount of *virtual* memory used by the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue