diff options
author | Maarten ter Huurne <maarten@treewalker.org> | 2014-09-09 13:46:28 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-10-09 11:35:48 +0300 |
commit | 33ac9dba859b07d40e9ec826057d20c857fdede5 (patch) | |
tree | 22780a9fad022a9bb0be2ca2b386bc0e5210e0ce /include/linux/font.h | |
parent | 422b67e0b31a0ed132f8091b6f3d5465d9df9387 (diff) | |
download | blackbird-op-linux-33ac9dba859b07d40e9ec826057d20c857fdede5.tar.gz blackbird-op-linux-33ac9dba859b07d40e9ec826057d20c857fdede5.zip |
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 'include/linux/font.h')
-rw-r--r-- | include/linux/font.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/font.h b/include/linux/font.h index 40a24ab41b36..d6821769dd1e 100644 --- a/include/linux/font.h +++ b/include/linux/font.h @@ -31,6 +31,7 @@ struct font_desc { #define SUN12x22_IDX 7 #define ACORN8x8_IDX 8 #define MINI4x6_IDX 9 +#define FONT6x10_IDX 10 extern const struct font_desc font_vga_8x8, font_vga_8x16, @@ -41,7 +42,8 @@ extern const struct font_desc font_vga_8x8, font_sun_8x16, font_sun_12x22, font_acorn_8x8, - font_mini_4x6; + font_mini_4x6, + font_6x10; /* Find a font with a specific name */ |