summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-14 18:10:45 -0700
committerAnatolij Gustschin <agust@denx.de>2016-01-30 10:56:22 +0100
commit7ad4e30decfdc5aed3a1a0ac459ad12dd4d0f6ae (patch)
tree3e06135ba055e98b1302705b12f8d0e3fd933bd9 /drivers
parentc43c43cd48c49624339a83d5263d0b866818fc9b (diff)
downloadu-boot-imx-7ad4e30decfdc5aed3a1a0ac459ad12dd4d0f6ae.zip
u-boot-imx-7ad4e30decfdc5aed3a1a0ac459ad12dd4d0f6ae.tar.gz
u-boot-imx-7ad4e30decfdc5aed3a1a0ac459ad12dd4d0f6ae.tar.bz2
video: Add the Rufscript handwriting font
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/console_truetype.c4
-rw-r--r--drivers/video/fonts/Kconfig9
-rw-r--r--drivers/video/fonts/Makefile1
-rw-r--r--drivers/video/fonts/rufscript010.ttfbin0 -> 23080 bytes
4 files changed, 14 insertions, 0 deletions
diff --git a/drivers/video/console_truetype.c b/drivers/video/console_truetype.c
index a18611b..405e065 100644
--- a/drivers/video/console_truetype.c
+++ b/drivers/video/console_truetype.c
@@ -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
@@ -454,6 +455,9 @@ static struct font_info font_table[] = {
#ifdef CONFIG_CONSOLE_TRUETYPE_ANKACODER
FONT_ENTRY(ankacoder_c75_r),
#endif
+#ifdef CONFIG_CONSOLE_TRUETYPE_RUFSCRIPT
+ FONT_ENTRY(rufscript010),
+#endif
{} /* sentinel */
};
diff --git a/drivers/video/fonts/Kconfig b/drivers/video/fonts/Kconfig
index ba1ccca..d3bf742 100644
--- a/drivers/video/fonts/Kconfig
+++ b/drivers/video/fonts/Kconfig
@@ -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
diff --git a/drivers/video/fonts/Makefile b/drivers/video/fonts/Makefile
index 58b1813..a3f6ea3 100644
--- a/drivers/video/fonts/Makefile
+++ b/drivers/video/fonts/Makefile
@@ -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
index 0000000..887a449
--- /dev/null
+++ b/drivers/video/fonts/rufscript010.ttf
Binary files differ