]> git.baikalelectronics.ru Git - uboot.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)
commita353aba0dc508ba7eaaba496fe0b46aa541e0ccf
tree9b288cfd7cb83b40720b8fb999f95a76e18ca835
parent74e4745eaf9d7202a99b0f4a073c7f0e0447f3c1
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