mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-23 12:14:32 +08:00
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
@ -38,6 +38,13 @@ config VIDEO_FONT_SUN12X22
|
||||
Provides character bitmap data in header file.
|
||||
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
|
||||
bool "Show the U-Boot logo on the display"
|
||||
default y if !SPLASH_SCREEN
|
||||
|
@ -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)
|
||||
@ -28,6 +31,9 @@ static struct video_fontdata __maybe_unused fonts[] = {
|
||||
#endif
|
||||
#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 */}
|
||||
};
|
||||
|
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 New Issue
Block a user