video: Add the Nimbus sans font
This provides a good-looking font for user prompts. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
a29b012037
commit
84b4791ada
|
@ -444,7 +444,12 @@ struct font_info {
|
||||||
.end = __ttf_ ## _name ## _end, \
|
.end = __ttf_ ## _name ## _end, \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FONT_DECL(nimbus_sans_l_regular);
|
||||||
|
|
||||||
static struct font_info font_table[] = {
|
static struct font_info font_table[] = {
|
||||||
|
#ifdef CONFIG_CONSOLE_TRUETYPE_NIMBUS
|
||||||
|
FONT_ENTRY(nimbus_sans_l_regular),
|
||||||
|
#endif
|
||||||
{} /* sentinel */
|
{} /* sentinel */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -4,4 +4,17 @@
|
||||||
|
|
||||||
menu "TrueType Fonts"
|
menu "TrueType Fonts"
|
||||||
|
|
||||||
|
config CONSOLE_TRUETYPE_NIMBUS
|
||||||
|
bool "Nimbus Sans Regular"
|
||||||
|
depends on CONSOLE_TRUETYPE
|
||||||
|
help
|
||||||
|
Nimbus Sans L is a version of Nimbus Sans using Adobe font sources.
|
||||||
|
It was designed in 1987. A subset of Nimbus Sans L were released
|
||||||
|
under the GPL. Although the characters are not exactly the same,
|
||||||
|
Nimbus Sans L has metrics almost identical to Helvetica and Arial.
|
||||||
|
(From Wikipedia, the free encyclopedia)
|
||||||
|
From: https://fontlibrary.org/en/font/nimbus-sans-l
|
||||||
|
License: GNU GPL v3
|
||||||
|
http://www.gnu.org/copyleft/gpl.html
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
|
@ -4,3 +4,5 @@
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-2.0+
|
# SPDX-License-Identifier: GPL-2.0+
|
||||||
#
|
#
|
||||||
|
|
||||||
|
obj-$(CONFIG_CONSOLE_TRUETYPE_NIMBUS) += nimbus_sans_l_regular.o
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue