mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04:00
render: optionally enable heuristics that deal with private usage area chars
Try to detect double-width *glyphs* for single-width *characters*, and allow them to overflow into the next cell. This is only done for single-width chars with a glyph width that is at least 1.5 cells wide, but at most 3 cells. The feature is gated by the new ‘tweak.allow-overflowing-double-width-glyphs’, and is disabled by default. Closes #116
This commit is contained in:
parent
bb8d9378c9
commit
b71016c25d
5 changed files with 52 additions and 1 deletions
1
config.h
1
config.h
|
|
@ -144,6 +144,7 @@ struct config {
|
|||
bool hold_at_exit;
|
||||
|
||||
struct {
|
||||
bool allow_overflowing_double_width_glyphs;
|
||||
bool render_timer_osd;
|
||||
bool render_timer_log;
|
||||
uint64_t delayed_render_lower_ns;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue