aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/vt/gen_ucs_fallback_table.py
Commit message (Collapse)AuthorAgeFilesLines
* vt: process the full-width ASCII fallback range programmaticallyNicolas Pitre2025-05-211-0/+8
| | | | | | | | This shaves about 170 bytes from ucs.o. Signed-off-by: Nicolas Pitre <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
* vt: introduce gen_ucs_fallback_table.py to create ucs_fallback_table.hNicolas Pitre2025-05-211-0/+352
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 <[email protected]> Reviewed-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>