]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vt: introduce gen_ucs_fallback_table.py to create ucs_fallback_table.h
authorNicolas Pitre <npitre@baylibre.com>
Wed, 7 May 2025 14:13:19 +0000 (10:13 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 May 2025 11:39:45 +0000 (13:39 +0200)
commit5071ddc18e17797248151ca2bea1b8d4e67d996f
treeb0548c39f203d1d89dffd456c08d7e5f86efeb34
parentbb9a1516765252619ef0e36e9ecf3aedbe7b5710
vt: introduce gen_ucs_fallback_table.py to create ucs_fallback_table.h

The generated table maps complex characters to their simpler fallback
forms for a terminal display when corresponding glyphs are unavailable.
This includes diacritics, symbols as well as many drawing characters.
Fallback characters aren't perfect replacements, obviously. But they are
still far more useful than a bunch of squared question marks.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250507141535.40655-5-nico@fluxnic.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/gen_ucs_fallback_table.py [new file with mode: 0755]