[PATCH 0/5] vidconsole: refactoring and support for wider fonts

Dzmitry Sankouski dsankouski at gmail.com
Mon Dec 26 20:49:24 CET 2022


Modern mobile phones typically have high pixel density.
Bootmenu is hardly readable on those with 8x16 font.

This patch series aims to add wider fonts for devices with high ppi.

Add 16x32 ter font from linux, and allow font size configuration.
Use new font in starqltechn board.

Note: Only tested with 32BPP configuration. 8BPP and 16BPP testing may needed.
I cannot do it, because I don't have such devices.

Dzmitry Sankouski (5):
  video console: unite normal and rotated files
  video console: refactoring and optimization
  video console: add support for fonts wider than 1 byte
  video console: add 16x32 ter font from linux
  video console: remove unused 4x6 font

 configs/starqltechn_defconfig                 |    1 +
 drivers/video/Kconfig                         |   25 +-
 drivers/video/Makefile                        |    3 +-
 drivers/video/console_normal.c                |  178 --
 .../{console_rotate.c => console_simple.c}    |  497 ++--
 include/video_font.h                          |    6 +-
 include/video_font_4x6.h                      | 2153 -----------------
 include/video_font_data.h                     |    2 +
 include/video_font_ter16x32.h                 | 2068 ++++++++++++++++
 9 files changed, 2361 insertions(+), 2572 deletions(-)
 delete mode 100644 drivers/video/console_normal.c
 rename drivers/video/{console_rotate.c => console_simple.c} (53%)
 delete mode 100644 include/video_font_4x6.h
 create mode 100644 include/video_font_ter16x32.h

-- 
2.30.2



More information about the U-Boot mailing list