[PATCH 4/5] video console: add 16x32 ter font from linux

Dzmitry Sankouski dsankouski at gmail.com
Wed Jan 11 17:59:21 CET 2023


I tested on qemu q35 with RUFSCRIPT, CANTORAONE font, it uses
RUFSCRIPT, and works fine.
Not sure how to switch it on runtime, though.



пт, 30 дек. 2022 г. в 01:41, Simon Glass <sjg at chromium.org>:
>
> Hi Dzmitry,
>
> On Tue, 27 Dec 2022 at 07:44, Dzmitry Sankouski <dsankouski at gmail.com> wrote:
> >
> > Modern mobile phones typically have high pixel density.
> > Bootmenu is hardly readable on those with 8x16 font.
> >
> > Add 16x32 ter font from linux, and allow font size configuration.
>
> That second bit should really be in a separate (previous) commit.
>
> > Set 16x32 font for starqltechn board.
>
> This should be in the next commit.
>
> >
> > Signed-off-by: Dzmitry Sankouski <dsankouski at gmail.com>
> > ---
> >  configs/starqltechn_defconfig |    1 +
> >  drivers/video/Kconfig         |   23 +
> >  include/video_font.h          |    6 +-
> >  include/video_font_ter16x32.h | 2068 +++++++++++++++++++++++++++++++++
> >  4 files changed, 2096 insertions(+), 2 deletions(-)
> >  create mode 100644 include/video_font_ter16x32.h
>
> Can we test this? With truetype we actually allow multiple fonts to be
> built, so we can select one at runtime.
>
> Regards,
> Simon


More information about the U-Boot mailing list