From b71016c25dc18a2c098a87439046873c6c9ddb30 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 3 Sep 2020 17:37:44 +0200 Subject: render: optionally enable heuristics that deal with private usage area chars MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'config.h') diff --git a/config.h b/config.h index fac5ea89..2368e53c 100644 --- a/config.h +++ b/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; -- cgit v1.3