summaryrefslogtreecommitdiffstats
path: root/lib/fonts/Kconfig
diff options
context:
space:
mode:
authorSven Schneider <s.schneider@arkona-technologies.de>2020-08-20 10:21:37 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2020-09-08 13:33:21 +0200
commite2028c8e6bf9a12dfe83fc12ce6d5d9ab1628b0b (patch)
tree54711187e4869b8314bd51c45a531983f49f9f65 /lib/fonts/Kconfig
parentfbdev: arkfb: use generic power management (diff)
downloadlinux-e2028c8e6bf9a12dfe83fc12ce6d5d9ab1628b0b.tar.xz
linux-e2028c8e6bf9a12dfe83fc12ce6d5d9ab1628b0b.zip
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/Kconfig')
-rw-r--r--lib/fonts/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/fonts/Kconfig b/lib/fonts/Kconfig
index 37baa79cdd71..c035fde66aeb 100644
--- a/lib/fonts/Kconfig
+++ b/lib/fonts/Kconfig
@@ -119,6 +119,12 @@ config FONT_TER16x32
This is the high resolution, large version for use with HiDPI screens.
If the standard font is unreadable for you, say Y, otherwise say N.
+config FONT_6x8
+ bool "OLED 6x8 font" if FONTS
+ depends on FRAMEBUFFER_CONSOLE
+ help
+ This font is useful for small displays (OLED).
+
config FONT_AUTOSELECT
def_bool y
depends on !FONT_8x8
@@ -132,6 +138,7 @@ config FONT_AUTOSELECT
depends on !FONT_SUN12x22
depends on !FONT_10x18
depends on !FONT_TER16x32
+ depends on !FONT_6x8
select FONT_8x16
endif # FONT_SUPPORT