Simon Glass | 430e167 | 2022-10-06 08:36:16 -0600 | [diff] [blame^] | 1 | .. SPDX-License-Identifier: GPL-2.0+: |
| 2 | |
| 3 | font command |
| 4 | ============ |
| 5 | |
| 6 | Synopis |
| 7 | ------- |
| 8 | |
| 9 | :: |
| 10 | |
| 11 | font list |
| 12 | font select <name> [<size>] |
| 13 | font size <size> |
| 14 | |
| 15 | |
| 16 | Description |
| 17 | ----------- |
| 18 | |
| 19 | The *font* command allows selection of the font to use on the video console. |
| 20 | This is available when the Truetype console is in use. This is the case when |
| 21 | `CONFIG_CONSOLE_TRUETYPE` is enabled. |
| 22 | |
| 23 | |
| 24 | font list |
| 25 | ~~~~~~~~~ |
| 26 | |
| 27 | This lists the available fonts, using the name of the font file in the build. |
| 28 | |
| 29 | |
| 30 | font select |
| 31 | ~~~~~~~~~~~ |
| 32 | |
| 33 | This selects a new font and optionally changes the size. |
| 34 | |
| 35 | |
| 36 | font size |
| 37 | ~~~~~~~~~ |
| 38 | |
| 39 | This changes the font size only. |
| 40 | |
| 41 | |
| 42 | Examples |
| 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 | => |