video: Enhancements to Truetype console
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest16 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | video: Move console colours to the video uclassdrivers/ drivers/ include/ +1 more | +104 | 0 replies | |
| 2/16 | video: Provide a function to set the cursor positiondrivers/ include/ | +25 | 0 replies | |
| 3/16 | video: Use vidconsole_put_string() to write a stringdrivers/ | +5 | 0 replies | |
| 4/16 | video: Move the console commands to cmd/cmd/ cmd/ cmd/ +2 more | +87 | 1 reply | |
| 5/16 | video: Move and rename DM_HX8238D optionarch/ drivers/ drivers/ | +12 | 0 replies | |
| 6/16 | video: Allow filling the display with a colourdrivers/ include/ | +27 | 0 replies | |
| 7/16 | video: Add function to obtain the U-Boot logodrivers/ include/ | +12 | 0 replies | |
| 8/16 | video: Tidy up the check for valid fontsdrivers/ | +13 | 0 replies | |
| 9/16 | video: Refactor to allow more than one font sizedrivers/ drivers/ | +113 | 0 replies | |
| 10/16 | video: Record the truetype font namedrivers/ | +13 | 0 replies | |
| 11/16 | video: Add a function to select the truetype metricsdrivers/ | +17 | 0 replies | |
| 12/16 | video: Add a way to change the font name and sizedrivers/ include/ | +91 | 0 replies | |
| 13/16 | video: Enable the cls command by defaultcmd/ | +1 | 0 replies | |
| 14/16 | video: Add commands to list and change fontscmd/ cmd/ configs/ +8 more | +240 | 0 replies | |
| 15/16 | video: Add a function to get the dimensions of a BMP imagedrivers/ include/ | +23 | 0 replies | |
| 16/16 | video: Add a way to get the default font heightdrivers/ include/ | +20 | 0 replies |
Reviews trailers per patch
1 of 16 patches has a Reviewed-by or Acked-by.
| Patch | Ilias Apalodimas |
|---|---|
| 1/16 | |
| 2/16 | |
| 3/16 | |
| 4/16 | A-b |
| 5/16 | |
| 6/16 | |
| 7/16 | |
| 8/16 | |
| 9/16 | |
| 10/16 | |
| 11/16 | |
| 12/16 | |
| 13/16 | |
| 14/16 | |
| 15/16 | |
| 16/16 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/16] video: Enhancements to Truetype console
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
Signature · 1 line
2.38.0.rc1.362.ged0d419d3c-goog