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>
This commit is contained in:
parent
e24db8645f
commit
0d6c089f84
3 changed files with 2075 additions and 0 deletions
|
@ -38,6 +38,13 @@ config VIDEO_FONT_SUN12X22
|
||||||
Provides character bitmap data in header file.
|
Provides character bitmap data in header file.
|
||||||
When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too.
|
When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too.
|
||||||
|
|
||||||
|
config VIDEO_FONT_16X32
|
||||||
|
bool "16 x 32 font size"
|
||||||
|
help
|
||||||
|
Font for video console driver, 16 x 32 pixels
|
||||||
|
Provides character bitmap data in header file.
|
||||||
|
When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too.
|
||||||
|
|
||||||
config VIDEO_LOGO
|
config VIDEO_LOGO
|
||||||
bool "Show the U-Boot logo on the display"
|
bool "Show the U-Boot logo on the display"
|
||||||
default y if !SPLASH_SCREEN
|
default y if !SPLASH_SCREEN
|
||||||
|
|
|
@ -18,6 +18,9 @@
|
||||||
#if defined(CONFIG_VIDEO_FONT_SUN12X22)
|
#if defined(CONFIG_VIDEO_FONT_SUN12X22)
|
||||||
#include <video_font_sun12x22.h>
|
#include <video_font_sun12x22.h>
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(CONFIG_VIDEO_FONT_16X32)
|
||||||
|
#include <video_font_ter16x32.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
static struct video_fontdata __maybe_unused fonts[] = {
|
static struct video_fontdata __maybe_unused fonts[] = {
|
||||||
#if defined(CONFIG_VIDEO_FONT_8X16)
|
#if defined(CONFIG_VIDEO_FONT_8X16)
|
||||||
|
@ -28,6 +31,9 @@ static struct video_fontdata __maybe_unused fonts[] = {
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_VIDEO_FONT_SUN12X22)
|
#if defined(CONFIG_VIDEO_FONT_SUN12X22)
|
||||||
FONT_ENTRY(12, 22, 12x22),
|
FONT_ENTRY(12, 22, 12x22),
|
||||||
|
#endif
|
||||||
|
#if defined(CONFIG_VIDEO_FONT_16X32)
|
||||||
|
FONT_ENTRY(16, 32, 16x32),
|
||||||
#endif
|
#endif
|
||||||
{/* list terminator */}
|
{/* list terminator */}
|
||||||
};
|
};
|
||||||
|
|
2062
include/video_font_ter16x32.h
Normal file
2062
include/video_font_ter16x32.h
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue