]> git.ipfire.org Git - thirdparty/u-boot.git/commit
lib/charset: Map Unicode code points to CP437 code points 1-31
authorJanne Grunau <j@jannau.net>
Sat, 16 Mar 2024 21:50:20 +0000 (22:50 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 21 Mar 2024 05:56:13 +0000 (06:56 +0100)
commitac72d17fd8fadd62df71547ef2446ef54e3c8ee5
treea115746e618ed9af41a026aa18a09cb87676bba3
parent5ea38f95c474563de7e0a1fe2fb0e652121b25d5
lib/charset: Map Unicode code points to CP437 code points 1-31

Code page 437 uses code points 1-31 for glyphs instead of control
characters. Map the appropriate Unicode code points to this code points.
Fixes rendering of grub2's menu as EFI application using the
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL on a console with bitmap fonts.

Signed-off-by: Janne Grunau <j@jannau.net>
include/charset.h
include/cp1250.h
include/cp437.h
lib/charset.c
lib/efi_loader/efi_unicode_collation.c