mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
lib/fonts: add font 6x8 for OLED display
This font is derived from lib/fonts/font_6x10.c and is useful for small OLED displays Signed-off-by: Sven Schneider <s.schneider@arkona-technologies.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200820082137.5907-1-s.hauer@pengutronix.de
This commit is contained in:
committed by
Bartlomiej Zolnierkiewicz
parent
a91df11899
commit
e2028c8e6b
@@ -33,6 +33,7 @@ struct font_desc {
|
||||
#define MINI4x6_IDX 9
|
||||
#define FONT6x10_IDX 10
|
||||
#define TER16x32_IDX 11
|
||||
#define FONT6x8_IDX 12
|
||||
|
||||
extern const struct font_desc font_vga_8x8,
|
||||
font_vga_8x16,
|
||||
@@ -45,7 +46,8 @@ extern const struct font_desc font_vga_8x8,
|
||||
font_acorn_8x8,
|
||||
font_mini_4x6,
|
||||
font_6x10,
|
||||
font_ter_16x32;
|
||||
font_ter_16x32,
|
||||
font_6x8;
|
||||
|
||||
/* Find a font with a specific name */
|
||||
|
||||
|
Reference in New Issue
Block a user