[PATCH v3 1/1] video: add DejaVu Mono font

Simon Glass sjg at chromium.org
Fri Nov 21 00:40:34 CET 2025


On Thu, 20 Nov 2025 at 12:34, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> A TrueType font for U-Boot should fulfill the following requirements:
>
> * mono spaced
> * support full code page 437
> * easily readable
>
> Unfortunately none of the fonts provided with U-Boot fulfills all of these
> requirements.
>
> Let's add the DejaVu Mono font. To reduce the code size the characters are
> limited to code page 437.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> v3:
>         Don't change the default TrueType font
>         Add all special code page 437 characters in the range 0x01-0x1F
> v2:
>         add two symbols used by GRUB
>         add the FontForge script used to generate the reduce font
> ---
>  drivers/video/console_truetype.c    |   4 +
>  drivers/video/fonts/437.ff          | 291 ++++++++++++++++++++++++++++
>  drivers/video/fonts/Kconfig         |   8 +
>  drivers/video/fonts/Makefile        |   1 +
>  drivers/video/fonts/dejavu_mono.ttf | Bin 0 -> 44508 bytes
>  5 files changed, 304 insertions(+)
>  create mode 100755 drivers/video/fonts/437.ff
>  create mode 100644 drivers/video/fonts/dejavu_mono.ttf
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list