video: Refactor to allow more than one font size
authorSimon Glass <sjg@chromium.org>
Thu, 6 Oct 2022 14:36:11 +0000 (08:36 -0600)
committerAnatolij Gustschin <agust@denx.de>
Sun, 30 Oct 2022 19:01:40 +0000 (20:01 +0100)
commit31efa2509566efcad58ff425a97e542c89f34efa
tree4f51850c94e2cf63dc81a3b722c8553bfbb03b58
parent5330612f219bcd98f99b977a1fdec51c6b265ad2
video: Refactor to allow more than one font size

At present the truetype console supports only a single font and size. It
is useful to be able to support different combinations. As a first step,
move the metrics into there own structure and allow having multiple
metrics.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/Kconfig
drivers/video/console_truetype.c