[PATCH] New framebuffer fonts + updated 12x22 font available
Improve the fonts for use with the framebuffer. I've added all the characters marked 'FIXME' in the sun12x22 font and created a 10x18 font (based on the sun12x22 font) and a 7x14 font (based on the vga8x16 font). This patch is non-intrusive, no options are enabled by default so most users won't notice a thing. I am placing my changes under the GPL, however, I've not seen any copyright notices on the sun12x22 font and the vga8x16 font which I derived my new fonts from so I don't know what the copyright status is. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
d5881eb488
commit
303b86d991
|
@ -153,6 +153,15 @@ config FONT_6x11
|
|||
Small console font with Macintosh-style high-half glyphs. Some Mac
|
||||
framebuffer drivers don't support this one at all.
|
||||
|
||||
config FONT_7x14
|
||||
bool "console 7x14 font (not supported by all drivers)" if FONTS
|
||||
depends on FRAMEBUFFER_CONSOLE
|
||||
default y if !SPARC32 && !SPARC64 && !FONTS
|
||||
help
|
||||
Console font with characters just a bit smaller than the default.
|
||||
If the standard 8x16 font is a little too big for you, say Y.
|
||||
Otherwise, say N.
|
||||
|
||||
config FONT_PEARL_8x8
|
||||
bool "Pearl (old m68k) console 8x8 font" if FONTS
|
||||
depends on FRAMEBUFFER_CONSOLE
|
||||
|
@ -187,5 +196,13 @@ config FONT_SUN12x22
|
|||
big letters (like the letters used in the SPARC PROM). If the
|
||||
standard font is unreadable for you, say Y, otherwise say N.
|
||||
|
||||
config FONT_10x18
|
||||
bool "console 10x18 font (not supported by all drivers)"
|
||||
depends on FONTS
|
||||
help
|
||||
This is a high resolution console font for machines with very
|
||||
big letters. It fits between the sun 12x22 and the normal 8x16 font.
|
||||
If other fonts are too big or too small for you, say Y, otherwise say N.
|
||||
|
||||
endmenu
|
||||
|
||||
|
|
|
@ -10,6 +10,8 @@ font-objs-$(CONFIG_FONT_SUN12x22) += font_sun12x22.o
|
|||
font-objs-$(CONFIG_FONT_8x8) += font_8x8.o
|
||||
font-objs-$(CONFIG_FONT_8x16) += font_8x16.o
|
||||
font-objs-$(CONFIG_FONT_6x11) += font_6x11.o
|
||||
font-objs-$(CONFIG_FONT_7x14) += font_7x14.o
|
||||
font-objs-$(CONFIG_FONT_10x18) += font_10x18.o
|
||||
font-objs-$(CONFIG_FONT_PEARL_8x8) += font_pearl_8x8.o
|
||||
font-objs-$(CONFIG_FONT_ACORN_8x8) += font_acorn_8x8.o
|
||||
font-objs-$(CONFIG_FONT_MINI_4x6) += font_mini_4x6.o
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -36,6 +36,10 @@ static struct font_desc *fonts[] = {
|
|||
#undef NO_FONTS
|
||||
&font_vga_6x11,
|
||||
#endif
|
||||
#ifdef CONFIG_FONT_7x14
|
||||
#undef NO_FONTS
|
||||
&font_7x14,
|
||||
#endif
|
||||
#ifdef CONFIG_FONT_SUN8x16
|
||||
#undef NO_FONTS
|
||||
&font_sun_8x16,
|
||||
|
@ -44,6 +48,10 @@ static struct font_desc *fonts[] = {
|
|||
#undef NO_FONTS
|
||||
&font_sun_12x22,
|
||||
#endif
|
||||
#ifdef CONFIG_FONT_10x18
|
||||
#undef NO_FONTS
|
||||
&font_10x18,
|
||||
#endif
|
||||
#ifdef CONFIG_FONT_ACORN_8x8
|
||||
#undef NO_FONTS
|
||||
&font_acorn_8x8,
|
||||
|
|
|
@ -25,19 +25,23 @@ struct font_desc {
|
|||
#define VGA8x16_IDX 1
|
||||
#define PEARL8x8_IDX 2
|
||||
#define VGA6x11_IDX 3
|
||||
#define SUN8x16_IDX 4
|
||||
#define SUN12x22_IDX 5
|
||||
#define ACORN8x8_IDX 6
|
||||
#define MINI4x6_IDX 7
|
||||
#define FONT7x14_IDX 4
|
||||
#define FONT10x18_IDX 5
|
||||
#define SUN8x16_IDX 6
|
||||
#define SUN12x22_IDX 7
|
||||
#define ACORN8x8_IDX 8
|
||||
#define MINI4x6_IDX 9
|
||||
|
||||
extern struct font_desc font_vga_8x8,
|
||||
font_vga_8x16,
|
||||
font_pearl_8x8,
|
||||
font_vga_6x11,
|
||||
font_sun_8x16,
|
||||
font_sun_12x22,
|
||||
font_acorn_8x8,
|
||||
font_mini_4x6;
|
||||
font_vga_8x16,
|
||||
font_pearl_8x8,
|
||||
font_vga_6x11,
|
||||
font_7x14,
|
||||
font_10x18,
|
||||
font_sun_8x16,
|
||||
font_sun_12x22,
|
||||
font_acorn_8x8,
|
||||
font_mini_4x6;
|
||||
|
||||
/* Find a font with a specific name */
|
||||
|
||||
|
|
Loading…
Reference in New Issue