mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
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>
This commit is contained in:
parent
c43c43cd48
commit
7ad4e30dec
4 changed files with 14 additions and 0 deletions
|
@ -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 */
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
BIN
drivers/video/fonts/rufscript010.ttf
Normal file
BIN
drivers/video/fonts/rufscript010.ttf
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue