]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vt: introduce gen_ucs_width_table.py to create ucs_width_table.h
authorNicolas Pitre <npitre@baylibre.com>
Thu, 17 Apr 2025 18:45:06 +0000 (14:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Apr 2025 09:22:03 +0000 (11:22 +0200)
commitb11a041179e70abac27e0e4a6a3cb1f8781b9750
treed64ef2b72711daecaa40f1ad4a068ccc4bf3cf0e
parent95b05de0a56699392e67590d000df76fedec609a
vt: introduce gen_ucs_width_table.py to create ucs_width_table.h

The table in ucs.c is terribly out of date and incomplete. We also need a
second table to store zero-width code points. Properly maintaining those
tables manually is impossible. So here's a script to generate them.

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