]> git.sur5r.net Git - u-boot/commit
video: Add a console driver that uses TrueType fonts
authorSimon Glass <sjg@chromium.org>
Fri, 15 Jan 2016 01:10:42 +0000 (18:10 -0700)
committerAnatolij Gustschin <agust@denx.de>
Sat, 30 Jan 2016 09:55:47 +0000 (10:55 +0100)
commita29b012037cc454ec811dbcd29a3aeffe59d86bc
treeae4ef91422d8b36e00b0ac087c3446d5cf7f995d
parent7b9f7e445e13de4f3169d9e5ba5e3b28c4d79ce4
video: Add a console driver that uses TrueType fonts

The existing 8x16 font is adequate for most purposes. It is small and fast.
However for boot screens where information must be presented to the user,
the console font is not ideal. Common requirements are larger and
better-looking fonts.

This console driver can use TrueType fonts built into U-Boot, and render
them at any size. This can be used in scripts to place text as needed on
the display.

This driver is not really designed to operate with the command line. Much
of U-Boot expects a fixed-width font. But to keep things working correctly,
rudimentary support for the console is provided. The main missing feature is
support for command-line editing.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/video/Kconfig
drivers/video/Makefile
drivers/video/console_truetype.c [new file with mode: 0644]
drivers/video/fonts/Kconfig [new file with mode: 0644]
drivers/video/fonts/Makefile [new file with mode: 0644]
drivers/video/video-uclass.c