aboutsummaryrefslogtreecommitdiff
path: root/include/charset.h
diff options
context:
space:
mode:
authorJanne Grunau2024-03-16 22:50:19 +0100
committerHeinrich Schuchardt2024-03-21 06:56:13 +0100
commit5ea38f95c474563de7e0a1fe2fb0e652121b25d5 (patch)
tree865e115f0b2244c5d8f31feadbec16f00d556c0a /include/charset.h
parent7046bfe79e0ac34636fe8ada5f356a947f07740a (diff)
video: console: Parse UTF-8 character sequences
efi_console / UEFI applications (grub2, sd-boot, ...) pass UTF-8 character sequences to vidconsole which results in wrong glyphs for code points outside of ASCII. The truetype console expects Unicode code points and bitmap font based consoles expect code page 437 code points. To support both convert UTF-8 to UTF-32 and pass Unicode code points in vidconsole_ops.putc_xy(). These can be used directly in console_truetype and after conversion to code page 437 in console_{normal,rotate}. This fixes rendering of international, symbol and box drawing characters used by UEFI applications. Signed-off-by: Janne Grunau <j@jannau.net>
Diffstat (limited to 'include/charset.h')
0 files changed, 0 insertions, 0 deletions