video: Add a function to select the truetype metrics
authorSimon Glass <sjg@chromium.org>
Thu, 6 Oct 2022 14:36:13 +0000 (08:36 -0600)
committerAnatolij Gustschin <agust@denx.de>
Sun, 30 Oct 2022 19:01:40 +0000 (20:01 +0100)
commit518d844a5e5032dacfc73271dacc9bce497a1f46
tree2c22f208ecaed59e308d4bcb625154a70783348b
parent39fa02d95504b9743aea7c789b1ba11aff19bae7
video: Add a function to select the truetype metrics

Move this code into a function so we can call it later when we want to
change the font.

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