]> git.dujemihanovic.xyz Git - u-boot.git/commit
video console: add support for fonts wider than 1 byte
authorDzmitry Sankouski <dsankouski@gmail.com>
Tue, 7 Mar 2023 10:21:12 +0000 (13:21 +0300)
committerAnatolij Gustschin <agust@denx.de>
Tue, 7 Mar 2023 12:26:08 +0000 (13:26 +0100)
commit02db4ec9027889ee1c0933740c6766a4b6e14b98
tree9b288cfd7cb83b40720b8fb999f95a76e18ca835
parent3154725949f921ac017e0e58fb167fd1b603b025
video console: add support for fonts wider than 1 byte

Devices with high ppi may benefit from wider fonts.

Current width implementation is limited by 1 byte, i.e. 8 bits.
New version iterates VIDEO_FONT_BYTE_WIDTH times, to process all
width bytes, thus allowing fonts wider than 1 byte.

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/video/console_core.c
drivers/video/console_normal.c
drivers/video/console_rotate.c
drivers/video/vidconsole_internal.h