[PATCH v3 3/9] video console: add support for fonts wider than 1 byte

Simon Glass sjg at chromium.org
Thu Feb 16 00:49:53 CET 2023


jOn Wed, 15 Feb 2023 at 04:44, Dzmitry Sankouski <dsankouski at gmail.com> wrote:
>
> 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 at gmail.com>
> ---
> Charges for v2:
> - replace TAIL_BIT_COUNT macro with c code
> - rename refactoring
> Charges for v3: none
>
>  drivers/video/console_simple.c | 93 +++++++++++++++++++++-------------
>  1 file changed, 59 insertions(+), 34 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list