diff options
author | Maarten ter Huurne <maarten@treewalker.org> | 2014-09-09 15:46:28 +0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-10-09 12:35:48 +0400 |
commit | 33ac9dba859b07d40e9ec826057d20c857fdede5 (patch) | |
tree | 22780a9fad022a9bb0be2ca2b386bc0e5210e0ce /lib/fonts/fonts.c | |
parent | 422b67e0b31a0ed132f8091b6f3d5465d9df9387 (diff) | |
download | linux-33ac9dba859b07d40e9ec826057d20c857fdede5.tar.xz |
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')
-rw-r--r-- | lib/fonts/fonts.c | 4 |
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 &font_mini_4x6, #endif +#ifdef CONFIG_FONT_6x10 +#undef NO_FONTS + &font_6x10, +#endif }; #define num_fonts ARRAY_SIZE(fonts) |