[PATCH 00/13] video: Enhancements related to truetype and console
Simon Glass
sjg at chromium.org
Tue Apr 1 19:29:31 CEST 2025
This series includes some precursor patches needed for forthcoming expo
enhancements.
- truetype support for multiple lines
- make white-on-black a runtime option
- support drawing a rectangle
This series was split out from schd2
Simon Glass (13):
console: Support a format string for stderr output
video: Make white-on-black a video-device property
sandbox: Select white-on-black
video: Add a test for font measurement
video: Begin support for measuring multiple lines of text
video: truetype: Fill in the measured line
video: truetype: Support newlines in the measured string
video: truetype: Support a limit on the width of a line
video: Add a way to write a partial string to the console
test: video: Export the video-checking functions
video: Allow console output to be silenced
video: Add a function to draw a rectangle
vidconsole: Avoid kerning against an unrelated character
arch/sandbox/dts/test.dts | 1 +
boot/expo.c | 2 +-
boot/scene.c | 10 +-
common/console.c | 18 ++
drivers/video/console_truetype.c | 90 +++++++-
drivers/video/vidconsole-uclass.c | 36 ++-
drivers/video/video-uclass.c | 52 ++++-
include/console.h | 15 ++
include/test/video.h | 45 ++++
include/video.h | 31 ++-
include/video_console.h | 83 +++++--
test/dm/video.c | 352 +++++++++++++++++++++---------
12 files changed, 594 insertions(+), 141 deletions(-)
create mode 100644 include/test/video.h
--
2.43.0
base-commit: 3f76d803db9b500f43bc534465945a8d2836bb3e
branch: schg
More information about the U-Boot
mailing list