diff options
author | Sven Schneider | 2020-08-20 10:21:37 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz | 2020-09-08 13:33:21 +0200 |
commit | e2028c8e6bf9a12dfe83fc12ce6d5d9ab1628b0b (patch) | |
tree | 54711187e4869b8314bd51c45a531983f49f9f65 /lib/fonts/fonts.c | |
parent | a91df118990083a47ab644f8ef63f17eeae4b1ad (diff) |
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
Diffstat (limited to 'lib/fonts/fonts.c')
-rw-r--r-- | lib/fonts/fonts.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/fonts/fonts.c b/lib/fonts/fonts.c index e7258d8c252b..5f4b07b56cd9 100644 --- a/lib/fonts/fonts.c +++ b/lib/fonts/fonts.c @@ -57,6 +57,9 @@ static const struct font_desc *fonts[] = { #ifdef CONFIG_FONT_TER16x32 &font_ter_16x32, #endif +#ifdef CONFIG_FONT_6x8 + &font_6x8, +#endif }; #define num_fonts ARRAY_SIZE(fonts) |