aboutsummaryrefslogtreecommitdiff
path: root/include/video_font.h
diff options
context:
space:
mode:
authorDzmitry Sankouski2023-02-27 20:37:08 +0300
committerAnatolij Gustschin2023-03-07 15:59:58 +0100
commit0d6c089f84491e9565272d50a159935b85092c22 (patch)
treec08f91370f46877f0c2876e7f0f47e0c6d2b9d97 /include/video_font.h
parente24db8645fae2a22fc17540f8351abe6fe24f6a5 (diff)
video console: add 16x32 Terminus font from linux
Modern mobile phones typically have high pixel density. Bootmenu is hardly readable on those with 8x16 font. Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/video_font.h')
-rw-r--r--include/video_font.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/video_font.h b/include/video_font.h
index f354d0cc4dc..05d3f989a77 100644
--- a/include/video_font.h
+++ b/include/video_font.h
@@ -18,6 +18,9 @@
#if defined(CONFIG_VIDEO_FONT_SUN12X22)
#include <video_font_sun12x22.h>
#endif
+#if defined(CONFIG_VIDEO_FONT_16X32)
+#include <video_font_ter16x32.h>
+#endif
static struct video_fontdata __maybe_unused fonts[] = {
#if defined(CONFIG_VIDEO_FONT_8X16)
@@ -29,6 +32,9 @@ static struct video_fontdata __maybe_unused fonts[] = {
#if defined(CONFIG_VIDEO_FONT_SUN12X22)
FONT_ENTRY(12, 22, 12x22),
#endif
+#if defined(CONFIG_VIDEO_FONT_16X32)
+ FONT_ENTRY(16, 32, 16x32),
+#endif
{/* list terminator */}
};