video: Add a way to get the default font height
authorSimon Glass <sjg@chromium.org>
Thu, 6 Oct 2022 14:36:18 +0000 (08:36 -0600)
committerAnatolij Gustschin <agust@denx.de>
Sun, 30 Oct 2022 19:01:40 +0000 (20:01 +0100)
commitc830e285f475e580eb45290d54e9d174a57a7d71
tree55e62ac2c9900f40b178fb0092638948bcfb7a3e
parente90322f87c97a4829c44fe77435c9faca87cbfc8
video: Add a way to get the default font height

This is not as simple as it seems. Add a function to provide it so that
the upcoming menu feature can space lines out correctly.

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