diff options
author | Dzmitry Sankouski | 2023-02-27 20:37:07 +0300 |
---|---|---|
committer | Anatolij Gustschin | 2023-03-07 15:59:47 +0100 |
commit | e24db8645fae2a22fc17540f8351abe6fe24f6a5 (patch) | |
tree | 13b0ea1ffb8fb286f0db32571370986ae8e34337 /include/video_font.h | |
parent | e7ee1fd567b266214a3a413e76ae5cde84b11cb7 (diff) |
video console: add 12x22 Sun 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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/video_font.h b/include/video_font.h index 00310d09265..f354d0cc4dc 100644 --- a/include/video_font.h +++ b/include/video_font.h @@ -15,6 +15,9 @@ #if defined(CONFIG_VIDEO_FONT_8X16) #include <video_font_8x16.h> #endif +#if defined(CONFIG_VIDEO_FONT_SUN12X22) +#include <video_font_sun12x22.h> +#endif static struct video_fontdata __maybe_unused fonts[] = { #if defined(CONFIG_VIDEO_FONT_8X16) @@ -23,6 +26,9 @@ static struct video_fontdata __maybe_unused fonts[] = { #if defined(CONFIG_VIDEO_FONT_4X6) FONT_ENTRY(4, 6, 4x6), #endif +#if defined(CONFIG_VIDEO_FONT_SUN12X22) + FONT_ENTRY(12, 22, 12x22), +#endif {/* list terminator */} }; |