]> git.sur5r.net Git - u-boot/commitdiff
video: Add the Rufscript handwriting font
authorSimon Glass <sjg@chromium.org>
Fri, 15 Jan 2016 01:10:45 +0000 (18:10 -0700)
committerAnatolij Gustschin <agust@denx.de>
Sat, 30 Jan 2016 09:56:22 +0000 (10:56 +0100)
This can be used when a a friendly 'hand-writing' font is needed. It helps
to make the device feel familiar.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/console_truetype.c
drivers/video/fonts/Kconfig
drivers/video/fonts/Makefile
drivers/video/fonts/rufscript010.ttf [new file with mode: 0644]

index a18611b16c986153eb140ca36993a6ebe61d3707..405e0659f01d8cd70a777d7c8bac468df9d62ac2 100644 (file)
@@ -446,6 +446,7 @@ struct font_info {
 
 FONT_DECL(nimbus_sans_l_regular);
 FONT_DECL(ankacoder_c75_r);
+FONT_DECL(rufscript010);
 
 static struct font_info font_table[] = {
 #ifdef CONFIG_CONSOLE_TRUETYPE_NIMBUS
@@ -453,6 +454,9 @@ static struct font_info font_table[] = {
 #endif
 #ifdef CONFIG_CONSOLE_TRUETYPE_ANKACODER
        FONT_ENTRY(ankacoder_c75_r),
+#endif
+#ifdef CONFIG_CONSOLE_TRUETYPE_RUFSCRIPT
+       FONT_ENTRY(rufscript010),
 #endif
        {} /* sentinel */
 };
index ba1ccca62abc8358dd8817003c5b882df8494083..d3bf7429ac0fec6bd587c2f5ee632d183b5aad1c 100644 (file)
@@ -29,4 +29,13 @@ config CONSOLE_TRUETYPE_ANKACODER
          License: SIL Open Font Licence
          http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
 
+config CONSOLE_TRUETYPE_RUFSCRIPT
+       bool "Ruf Script"
+       depends on CONSOLE_TRUETYPE
+       help
+         A laid-back handwritten font.
+         Font: https://fontlibrary.org/en/font/rufscript
+         License: GPL with font exception
+         http://www.gnu.org/copyleft/gpl.html
+
 endmenu
index 58b181357578bf8dfc13b0d4d58be184c4efac43..a3f6ea3229c66e93dc7132fb8c04b84a2e5c19fe 100644 (file)
@@ -7,3 +7,4 @@
 
 obj-$(CONFIG_CONSOLE_TRUETYPE_NIMBUS) += nimbus_sans_l_regular.o
 obj-$(CONFIG_CONSOLE_TRUETYPE_ANKACODER) += ankacoder_c75_r.o
+obj-$(CONFIG_CONSOLE_TRUETYPE_RUFSCRIPT) += rufscript010.o
diff --git a/drivers/video/fonts/rufscript010.ttf b/drivers/video/fonts/rufscript010.ttf
new file mode 100644 (file)
index 0000000..887a449
Binary files /dev/null and b/drivers/video/fonts/rufscript010.ttf differ