dslinux/linux-2.6.x/drivers/video/console Kconfig Makefile font_mini_4x9.c fonts.c
stsp
stsp at user.in-berlin.de
Sat Oct 7 17:00:22 CEST 2006
Update of /cvsroot/dslinux/dslinux/linux-2.6.x/drivers/video/console
In directory antilope:/tmp/cvs-serv442/drivers/video/console
Modified Files:
Kconfig Makefile fonts.c
Added Files:
font_mini_4x9.c
Log Message:
Add 4x9 font.
Patch by Cayenne Boyer:
Here's the patch for the 4x9 font I created because you can get a lot more
readability without sacrificing characters per line by letting the font be
a little taller.
Index: fonts.c
===================================================================
RCS file: /cvsroot/dslinux/dslinux/linux-2.6.x/drivers/video/console/fonts.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- fonts.c 20 Feb 2006 20:29:31 -0000 1.4
+++ fonts.c 7 Oct 2006 15:00:20 -0000 1.5
@@ -64,6 +64,10 @@
#undef NO_FONTS
&font_mini_4x6,
#endif
+#ifdef CONFIG_FONT_MINI_4x9
+#undef NO_FONTS
+ &font_mini_4x9,
+#endif
#ifdef CONFIG_FONT_MINI_6x6
#undef NO_FONTS
&font_mini_6x6,
Index: Makefile
===================================================================
RCS file: /cvsroot/dslinux/dslinux/linux-2.6.x/drivers/video/console/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Makefile 20 Feb 2006 20:29:31 -0000 1.4
+++ Makefile 7 Oct 2006 15:00:20 -0000 1.5
@@ -16,6 +16,7 @@
font-objs-$(CONFIG_FONT_ACORN_8x8) += font_acorn_8x8.o
font-objs-$(CONFIG_FONT_MINI_4x6) += font_mini_4x6.o
font-objs-$(CONFIG_FONT_MINI_6x6) += font_mini_6x6.o
+font-objs-$(CONFIG_FONT_MINI_4x9) += font_mini_4x9.o
font-objs += $(font-objs-y)
--- NEW FILE: font_mini_4x9.c ---
/* This 4x9 font was created by Cayenne Boyer to fit as many characters
* as possible per row but to be more readable and visually appealing than
* a font that is also as short as possible. This is ideal for purely text
* applications but does not work as well for some situations where the number
* of rows on the screen is also important.
*
* Some of the punctuation and possibly some elements of some other characters
* were based on a font included in the OnboardC suite for the palm pilot.
*
* Binary data generated using Perl stub copied from font_mini_4x6.c by
* Kenneth Albonowski.
*
* Use 'perl -x font_mini_4x9.c < font_mini_4x9.c > new_version.c' to regenerate
* binary data.
*
* Version 1.0
*
* This file is subject to the terms and conditions of the GNU General Public
* License.
[...2896 lines suppressed...]
0xee, /*= [*** ] */
0xee, /*= [*** ] */
0xee, /*= [*** ] */
0xee, /*= [*** ] */
0xee, /*= [*** ] */
0xee, /*= [*** ] */
0x00, /*= [ ] */
0x00, /*= [ ] */
/*}*/
};
const struct font_desc font_mini_4x9 = {
MINI4x9_IDX,
"MINI4x9",
4,
9,
fontdata_mini_4x9,
3
};
Index: Kconfig
===================================================================
RCS file: /cvsroot/dslinux/dslinux/linux-2.6.x/drivers/video/console/Kconfig,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Kconfig 20 Feb 2006 20:29:31 -0000 1.4
+++ Kconfig 7 Oct 2006 15:00:20 -0000 1.5
@@ -181,6 +181,16 @@
bool "Mini 4x6 font"
depends on !SPARC32 && !SPARC64 && FONTS
+config FONT_MINI_4x9
+ bool "Mini 4x9 font"
+ depends on !SPARC32 && !SPARC64 && FONTS
+ help
+ This 4x9 font was created by Cayenne Boyer to fit as many characters
+ as possible per row but to be more readable and visually appealing than
+ a font that is also as short as possible. This is ideal for purely text
+ applications but does not work as well for some situations where the number
+ of rows on the screen is also important.
+
config FONT_MINI_6x6
bool "Mini 6x6 font"
depends on !SPARC32 && !SPARC64 && FONTS
More information about the dslinux-commit
mailing list