From: Dzmitry Sankouski <dsankouski@gmail.com>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Dzmitry Sankouski <dsankouski@gmail.com>,
Alexey Romanov <avromanov@sberdevices.ru>,
Anatolij Gustschin <agust@denx.de>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
John Keeping <john@metanate.com>,
Julien Masson <jmasson@baylibre.com>,
Masahisa Kojima <masahisa.kojima@linaro.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Roger Knecht <rknecht@pm.me>, Simon Glass <sjg@chromium.org>
Subject: [PATCH v8 00/10] vidconsole: refactoring and support for wider fonts
Date: Tue, 7 Mar 2023 13:21:10 +0300 [thread overview]
Message-ID: <20230307102121.1925581-1-dsankouski@gmail.com> (raw)
Version 7 has vidconsole_get_font_size() function reworked to use
driver ops.
Version 6 contains entire rebased patch series.
New patch 'move vidconsole_get_font_size() to test.h' added.
Version 5 contain minor changes:
- move common functions to console-core.c file
- remove static keyword from shared functions
In version 4, only first patch sent, because review fixes to this would add
large rebase & patch formatting overhead. When it'll receive reviewed tag,
I'll resent entire rebased series.
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, 12x22 fonts from linux, and allow font size configuration.
There was significant changes in version 2:
- fix video tests failures
- add runtime font size configuration
- add test for 12x22 font
In version 3,
'video console: add select font logic to vidconsole uclass driver'
patch was removed in favor of already merged patch
'video: Add font functions to the vidconsole API'
Changes in v8:
- fix build with disabled CONFIG_VIDEO_COPY
- add 12X22 font to sandox defconfig
Dzmitry Sankouski (10):
video console: refactoring and optimization
video console: add support for fonts wider than 1 byte
video console: move 8x16 font data in named header
video console: implement multiple fonts configuration
video console: move vidconsole_get_font_size() logic to driver ops
video console: allow font size configuration at runtime
video console: add 12x22 Sun font from linux
video console: add 16x32 Terminus font from linux
video console: sandbox: add 12x22 font defconfigs
video console: add 12x22 console simple font test
cmd/Kconfig | 8 +
cmd/Makefile | 2 +-
cmd/font.c | 6 +-
common/splash.c | 17 +-
configs/sandbox_defconfig | 1 +
configs/sandbox_flattree_defconfig | 1 +
drivers/video/Kconfig | 30 +
drivers/video/Makefile | 6 +
drivers/video/console_core.c | 212 +
drivers/video/console_normal.c | 177 +-
drivers/video/console_rotate.c | 371 +-
drivers/video/console_truetype.c | 3 +-
drivers/video/vidconsole-uclass.c | 11 +
drivers/video/vidconsole_internal.h | 120 +
include/video_console.h | 17 +-
include/video_font.h | 31 +-
include/video_font_4x6.h | 11 +-
include/video_font_8x16.h | 4624 ++++++++++++++++++++
include/video_font_data.h | 4644 +-------------------
include/video_font_sun12x22.h | 6158 +++++++++++++++++++++++++++
include/video_font_ter16x32.h | 2062 +++++++++
test/cmd/font.c | 13 +-
test/dm/video.c | 41 +
23 files changed, 13518 insertions(+), 5048 deletions(-)
create mode 100644 drivers/video/console_core.c
create mode 100644 drivers/video/vidconsole_internal.h
create mode 100644 include/video_font_8x16.h
create mode 100644 include/video_font_sun12x22.h
create mode 100644 include/video_font_ter16x32.h
--
2.30.2
next reply other threads:[~2023-03-07 10:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-07 10:21 Dzmitry Sankouski [this message]
2023-03-07 10:21 ` [PATCH v8 01/10] video console: refactoring and optimization Dzmitry Sankouski
2023-03-07 10:21 ` [PATCH v8 02/10] video console: add support for fonts wider than 1 byte Dzmitry Sankouski
2023-03-07 10:21 ` [PATCH v8 03/10] video console: move 8x16 font data in named header Dzmitry Sankouski
2023-03-07 10:21 ` [PATCH v8 04/10] video console: implement multiple fonts configuration Dzmitry Sankouski
2023-03-07 15:22 ` Anatolij Gustschin
2023-03-10 8:35 ` Dzmitry Sankouski
2023-03-10 9:24 ` Anatolij Gustschin
2023-03-07 10:21 ` [PATCH v8 05/10] video console: move vidconsole_get_font_size() logic to driver ops Dzmitry Sankouski
2023-03-07 10:21 ` [PATCH v8 06/10] video console: allow font size configuration at runtime Dzmitry Sankouski
2023-03-07 10:21 ` [PATCH v8 07/10] video console: add 12x22 Sun font from linux Dzmitry Sankouski
2023-03-07 10:21 ` [PATCH v8 08/10] video console: add 16x32 Terminus " Dzmitry Sankouski
2023-03-07 10:21 ` [PATCH v8 09/10] video console: sandbox: add 12x22 font defconfigs Dzmitry Sankouski
2023-03-07 10:21 ` [PATCH v8 10/10] video console: add 12x22 console simple font test Dzmitry Sankouski
2023-03-10 9:26 ` [PATCH v8 00/10] vidconsole: refactoring and support for wider fonts Anatolij Gustschin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230307102121.1925581-1-dsankouski@gmail.com \
--to=dsankouski@gmail.com \
--cc=agust@denx.de \
--cc=avromanov@sberdevices.ru \
--cc=ilias.apalodimas@linaro.org \
--cc=jmasson@baylibre.com \
--cc=john@metanate.com \
--cc=masahisa.kojima@linaro.org \
--cc=neil.armstrong@linaro.org \
--cc=rknecht@pm.me \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox