mbox series

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

Message ID 20221226194929.166369-1-dsankouski@gmail.com
Headers show
Series vidconsole: refactoring and support for wider fonts | expand

Message

Dzmitry Sankouski Dec. 26, 2022, 7:49 p.m. UTC
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

Comments

Mark Kettenis Dec. 29, 2022, 11:02 p.m. UTC | #1
> From: Dzmitry Sankouski <dsankouski@gmail.com>
> Date: Mon, 26 Dec 2022 22:49:24 +0300
> 
> 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.

There was a patchset related to this earlier this year that is still
in limbo:

  https://patchwork.ozlabs.org/project/uboot/list/?series=280178

No idea which is the better approach.
Simon Glass Dec. 30, 2022, 5:51 p.m. UTC | #2
+Andre Przywara for comment


On Thu, 29 Dec 2022 at 17:02, Mark Kettenis <mark.kettenis@xs4all.nl> wrote:
>
> > From: Dzmitry Sankouski <dsankouski@gmail.com>
> > Date: Mon, 26 Dec 2022 22:49:24 +0300
> >
> > 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.
>
> There was a patchset related to this earlier this year that is still
> in limbo:
>
>   https://patchwork.ozlabs.org/project/uboot/list/?series=280178
>
> No idea which is the better approach.
Dzmitry Sankouski Jan. 11, 2023, 12:25 p.m. UTC | #3
This patchset adds wider fonts only for normal console.

пт, 30 дек. 2022 г. в 02:02, Mark Kettenis <mark.kettenis@xs4all.nl>:
>
> > From: Dzmitry Sankouski <dsankouski@gmail.com>
> > Date: Mon, 26 Dec 2022 22:49:24 +0300
> >
> > 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.
>
> There was a patchset related to this earlier this year that is still
> in limbo:
>
>   https://patchwork.ozlabs.org/project/uboot/list/?series=280178
>
> No idea which is the better approach.