[PATCH 4/5] video console: add 16x32 ter font from linux
Simon Glass
sjg at chromium.org
Wed Jan 11 22:08:25 CET 2023
Hi Dzmitry,
On Wed, 11 Jan 2023 at 09:59, Dzmitry Sankouski <dsankouski at gmail.com> wrote:
>
> I tested on qemu q35 with RUFSCRIPT, CANTORAONE font, it uses
> RUFSCRIPT, and works fine.
> Not sure how to switch it on runtime, though.
It is nice to use automated tests where we can.
You could add a way to select the font by moving the font info out of
hard-coded C defines and into a struct, allowing an array of fonts.
Regards,
Simon
>
>
>
> пт, 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