Hi Dzmitry, On Wed, 11 Jan 2023 at 09:59, Dzmitry Sankouski <dsankou...@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 <s...@chromium.org>: > > > > Hi Dzmitry, > > > > On Tue, 27 Dec 2022 at 07:44, Dzmitry Sankouski <dsankou...@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 <dsankou...@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