diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-15 04:10:43 +0300 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2016-01-30 12:55:57 +0300 |
commit | 84b4791ada7754b65fd200002f92ac8684c2b5ec (patch) | |
tree | 1a3db715f86533be61f9804832df503442fe5b55 /drivers/video/fonts | |
parent | a29b012037cc454ec811dbcd29a3aeffe59d86bc (diff) | |
download | u-boot-84b4791ada7754b65fd200002f92ac8684c2b5ec.tar.xz |
video: Add the Nimbus sans font
This provides a good-looking font for user prompts.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video/fonts')
-rw-r--r-- | drivers/video/fonts/Kconfig | 13 | ||||
-rw-r--r-- | drivers/video/fonts/Makefile | 2 | ||||
-rw-r--r-- | drivers/video/fonts/nimbus_sans_l_regular.ttf | bin | 0 -> 61660 bytes |
3 files changed, 15 insertions, 0 deletions
diff --git a/drivers/video/fonts/Kconfig b/drivers/video/fonts/Kconfig index ad16ce655e..ded3e5ef64 100644 --- a/drivers/video/fonts/Kconfig +++ b/drivers/video/fonts/Kconfig @@ -4,4 +4,17 @@ 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 diff --git a/drivers/video/fonts/Makefile b/drivers/video/fonts/Makefile index 6ab46473b2..68f4c3be2a 100644 --- a/drivers/video/fonts/Makefile +++ b/drivers/video/fonts/Makefile @@ -4,3 +4,5 @@ # # SPDX-License-Identifier: GPL-2.0+ # + +obj-$(CONFIG_CONSOLE_TRUETYPE_NIMBUS) += nimbus_sans_l_regular.o diff --git a/drivers/video/fonts/nimbus_sans_l_regular.ttf b/drivers/video/fonts/nimbus_sans_l_regular.ttf Binary files differnew file mode 100644 index 0000000000..3bd694d8ee --- /dev/null +++ b/drivers/video/fonts/nimbus_sans_l_regular.ttf |