video: truetype: Support a limit on the width of a line
authorSimon Glass <sjg@chromium.org>
Tue, 1 Apr 2025 17:29:39 +0000 (06:29 +1300)
committerTom Rini <trini@konsulko.com>
Fri, 2 May 2025 19:40:25 +0000 (13:40 -0600)
commitcdd095e48a3934b18a3875c658cbb90d70aa8739
treef9fdc6e187622c8ecdd1d4de1e497890107e7ce6
parent030e53aaaa0f050a4059d4ae6297c224c9013d88
video: truetype: Support a limit on the width of a line

Expo needs to be able to word-wrap lines so that they are displayed as
the user expects. Add a limit on the width of each line and support this
in the measurement algorithm.

Add a log category to truetype while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/scene.c
drivers/video/console_truetype.c
drivers/video/vidconsole-uclass.c
include/video_console.h
test/dm/video.c