]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vt: make use of ucs_get_fallback() when glyph is unavailable
authorNicolas Pitre <npitre@baylibre.com>
Wed, 7 May 2025 14:13:22 +0000 (10:13 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 May 2025 11:39:45 +0000 (13:39 +0200)
commit6802f3591fdc732d2460eed3112b02cc07acab8f
tree131682f7bd0dd956fa11f91f4d8a8058ca694147
parentfe26933cf1e151ce0a5d858c263e8dacb2f12cee
vt: make use of ucs_get_fallback() when glyph is unavailable

Attempt to display a fallback character when given character doesn't
have an available glyph. The substitution may not be as good as the
original character but still way more helpful than a squared question
mark.

Example substitutions: À -> A, ç -> c, ø -> o, ─ -> -, © -> C, etc.

See gen_ucs_fallback_table.py for a comprehensive list.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
Link: https://lore.kernel.org/r/20250507141535.40655-8-nico@fluxnic.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c