blob: 6fb0823270346a34057b5b74480c3a471cbea9bc [file] [log] [blame]
Simon Glass430e1672022-10-06 08:36:16 -06001.. SPDX-License-Identifier: GPL-2.0+:
2
3font command
4============
5
6Synopis
7-------
8
9::
10
11 font list
12 font select <name> [<size>]
13 font size <size>
14
15
16Description
17-----------
18
19The *font* command allows selection of the font to use on the video console.
20This is available when the Truetype console is in use. This is the case when
21`CONFIG_CONSOLE_TRUETYPE` is enabled.
22
23
24font list
25~~~~~~~~~
26
27This lists the available fonts, using the name of the font file in the build.
28
29
30font select
31~~~~~~~~~~~
32
33This selects a new font and optionally changes the size.
34
35
36font size
37~~~~~~~~~
38
39This changes the font size only.
40
41
42Examples
43--------
44
45::
46
47 => font list
48 nimbus_sans_l_regular
49 cantoraone_regular
50 => font size 40
51 => font select cantoraone_regular 20
52 =>