public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 00/16] video: Enhancements to Truetype console
@ 2022-10-06 14:36 Simon Glass
  2022-10-06 14:36 ` [PATCH 01/16] video: Move console colours to the video uclass Simon Glass
                   ` (17 more replies)
  0 siblings, 18 replies; 22+ messages in thread
From: Simon Glass @ 2022-10-06 14:36 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Anatolij Gustschin, Simon Glass, Ashok Reddy Soma, Bin Meng,
	Chris Morgan, Heinrich Schuchardt, Huang Jianan, Ilias Apalodimas,
	John Keeping, Kever Yang, Marek Behún, Masahisa Kojima,
	Michal Simek, Ovidiu Panait, Pali Rohár, Rui Miguel Silva,
	Samuel Dionne-Riel, Stefan Roese

This series includes some minor enhancements to the Truetype console to
allow it to support multiple fonts and sizes at the same time. This is
useful for displays where the title needs to be in a larger font than the
rest of the text on the display.

The fonts must still be compiled into U-Boot, but now it is possible to
change fonts as needed.

Some other minor fixes and tweaks are included as well.

This is mostly in service of the upcoming VBE boot menu which needs to
make better use of fonts.


Simon Glass (16):
  video: Move console colours to the video uclass
  video: Provide a function to set the cursor position
  video: Use vidconsole_put_string() to write a string
  video: Move the console commands to cmd/
  video: Move and rename DM_HX8238D option
  video: Allow filling the display with a colour
  video: Add function to obtain the U-Boot logo
  video: Tidy up the check for valid fonts
  video: Refactor to allow more than one font size
  video: Record the truetype font name
  video: Add a function to select the truetype metrics
  video: Add a way to change the font name and size
  video: Enable the cls command by default
  video: Add commands to list and change fonts
  video: Add a function to get the dimensions of a BMP image
  video: Add a way to get the default font height

 arch/arm/mach-omap2/am33xx/Kconfig |   2 +-
 cmd/Kconfig                        |  14 +-
 cmd/Makefile                       |   3 +
 cmd/font.c                         |  81 +++++++++
 cmd/video.c                        |  73 ++++++++
 configs/sandbox_defconfig          |   1 +
 doc/usage/cmd/font.rst             |  52 ++++++
 doc/usage/index.rst                |   1 +
 drivers/video/Kconfig              |  43 +++--
 drivers/video/Makefile             |   2 +-
 drivers/video/console_truetype.c   | 265 +++++++++++++++++++++++------
 drivers/video/vidconsole-uclass.c  | 145 ++--------------
 drivers/video/video-uclass.c       | 102 ++++++++++-
 drivers/video/video_bmp.c          |  16 +-
 include/test/suites.h              |   1 +
 include/video.h                    |  75 +++++++-
 include/video_console.h            |  64 +++----
 test/cmd/Makefile                  |   1 +
 test/cmd/font.c                    |  77 +++++++++
 test/cmd_ut.c                      |   6 +
 20 files changed, 777 insertions(+), 247 deletions(-)
 create mode 100644 cmd/font.c
 create mode 100644 cmd/video.c
 create mode 100644 doc/usage/cmd/font.rst
 create mode 100644 test/cmd/font.c

-- 
2.38.0.rc1.362.ged0d419d3c-goog


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2022-10-31 19:28 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-06 14:36 [PATCH 00/16] video: Enhancements to Truetype console Simon Glass
2022-10-06 14:36 ` [PATCH 01/16] video: Move console colours to the video uclass Simon Glass
2022-10-06 14:36 ` [PATCH 02/16] video: Provide a function to set the cursor position Simon Glass
2022-10-06 14:36 ` [PATCH 03/16] video: Use vidconsole_put_string() to write a string Simon Glass
2022-10-06 14:36 ` [PATCH 04/16] video: Move the console commands to cmd/ Simon Glass
2022-10-13 12:03   ` Ilias Apalodimas
2022-10-06 14:36 ` [PATCH 05/16] video: Move and rename DM_HX8238D option Simon Glass
2022-10-06 14:36 ` [PATCH 06/16] video: Allow filling the display with a colour Simon Glass
2022-10-06 14:36 ` [PATCH 07/16] video: Add function to obtain the U-Boot logo Simon Glass
2022-10-06 14:36 ` [PATCH 08/16] video: Tidy up the check for valid fonts Simon Glass
2022-10-06 14:36 ` [PATCH 09/16] video: Refactor to allow more than one font size Simon Glass
2022-10-06 14:36 ` [PATCH 10/16] video: Record the truetype font name Simon Glass
2022-10-06 14:36 ` [PATCH 11/16] video: Add a function to select the truetype metrics Simon Glass
2022-10-06 14:36 ` [PATCH 12/16] video: Add a way to change the font name and size Simon Glass
2022-10-06 14:36 ` [PATCH 13/16] video: Enable the cls command by default Simon Glass
2022-10-06 14:36 ` [PATCH 14/16] video: Add commands to list and change fonts Simon Glass
2022-10-06 14:36 ` [PATCH 15/16] video: Add a function to get the dimensions of a BMP image Simon Glass
2022-10-06 14:36 ` [PATCH 16/16] video: Add a way to get the default font height Simon Glass
2022-10-24 11:45 ` [PATCH 00/16] video: Enhancements to Truetype console Simon Glass
2022-10-31 13:55   ` Anatolij Gustschin
2022-10-31 19:27     ` Simon Glass
2022-10-31 13:49 ` Anatolij Gustschin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox