From 00df12f1a3cfee6c0f876f4e082ce3efbeba0bda Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 10 May 2020 17:10:33 +0200 Subject: unicode-combine: simplify - remove -Dunicode-precompose option Since the pre-composing functionality is now part of fcft, it makes little sense to have a compile time option - there's no size benefit to be had. Furthermore, virtually all terminal emulators do pre-composing (alacritty being an exception), this really isn't that controversial. --- vt.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'vt.c') diff --git a/vt.c b/vt.c index 9c639431..d80a7d86 100644 --- a/vt.c +++ b/vt.c @@ -595,7 +595,6 @@ action_utf8_print(struct terminal *term, uint8_t c) term->grid->cursor.point.col = base_col; term->grid->cursor.lcf = false; -#if FOOT_UNICODE_PRECOMPOSE if (composed == NULL) { bool base_from_primary; bool comb_from_primary; @@ -627,7 +626,6 @@ action_utf8_print(struct terminal *term, uint8_t c) return; } } -#endif size_t wanted_count = composed != NULL ? composed->count + 1 : 1; if (wanted_count > ALEN(composed->combining)) { -- cgit v1.3