video: truetype: Support newlines in the measured string
authorSimon Glass <sjg@chromium.org>
Tue, 1 Apr 2025 17:29:38 +0000 (06:29 +1300)
committerTom Rini <trini@konsulko.com>
Fri, 2 May 2025 19:40:25 +0000 (13:40 -0600)
commit030e53aaaa0f050a4059d4ae6297c224c9013d88
tree2172382c49c43bc31152a1e8fca4483e51cb7606
parenta7bbc59c31f4099a8da3acccf6919b886fb590f6
video: truetype: Support newlines in the measured string

It is useful to be able to embed newline characters in the string and
have the text measured into multiple lines. Add support for this.

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