path: root/lib/fonts/fonts.c
diff options
authorMaarten ter Huurne <maarten@treewalker.org>2014-09-09 13:46:28 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-10-09 11:35:48 +0300
commit33ac9dba859b07d40e9ec826057d20c857fdede5 (patch)
tree22780a9fad022a9bb0be2ca2b386bc0e5210e0ce /lib/fonts/fonts.c
parent422b67e0b31a0ed132f8091b6f3d5465d9df9387 (diff)
fonts: Add 6x10 font
This font is suitable for framebuffer consoles on devices with a 320x240 screen, to get a reasonable number of characters (53x24) that are still at a readable size. The font is derived from the existing 6x11 font, but gets 3 extra lines without sacrificing readability. Also I redesigned a some glyhps so they are more distinct and better fill the available space. Signed-off-by: Maarten ter Huurne <maarten@treewalker.org> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'lib/fonts/fonts.c')
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/fonts/fonts.c b/lib/fonts/fonts.c
index f947189efe6d..823376ca0a8b 100644
--- a/lib/fonts/fonts.c
+++ b/lib/fonts/fonts.c
@@ -63,6 +63,10 @@ static const struct font_desc *fonts[] = {
#undef NO_FONTS
+#ifdef CONFIG_FONT_6x10
+#undef NO_FONTS
+ &font_6x10,
#define num_fonts ARRAY_SIZE(fonts)