mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
video: menu "TrueType Fonts" depends on TrueType enabled
The Kconfig menu "TrueType Fonts" should only be shown if TrueType is enabled. Put all TrueType dependent customization within one if statement. Remove `depends TRUETYPE` clauses. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
committed by
Tom Rini
parent
5f0b0ad722
commit
b5213bbfdc
@@ -211,9 +211,10 @@ config CONSOLE_TRUETYPE
|
||||
With this option you can adjust the text size and use a variety of
|
||||
fonts. Note that this is noticeably slower than with normal console.
|
||||
|
||||
if CONSOLE_TRUETYPE
|
||||
|
||||
config CONSOLE_TRUETYPE_SIZE
|
||||
int "TrueType font size"
|
||||
depends on CONSOLE_TRUETYPE
|
||||
default 18
|
||||
help
|
||||
This sets the font size for the console. The size is measured in
|
||||
@@ -226,7 +227,6 @@ config CONSOLE_TRUETYPE_SIZE
|
||||
|
||||
config CONSOLE_TRUETYPE_MAX_METRICS
|
||||
int "TrueType maximum number of font / size combinations"
|
||||
depends on CONSOLE_TRUETYPE
|
||||
default 10 if EXPO
|
||||
default 1
|
||||
help
|
||||
@@ -239,6 +239,10 @@ config CONSOLE_TRUETYPE_MAX_METRICS
|
||||
font metrics which are expensive to regenerate each time the font
|
||||
size changes.
|
||||
|
||||
source "drivers/video/fonts/Kconfig"
|
||||
|
||||
endif
|
||||
|
||||
config SYS_WHITE_ON_BLACK
|
||||
bool "Display console as white on a black background"
|
||||
default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || ARCH_TEGRA || X86 || ARCH_SUNXI
|
||||
@@ -309,8 +313,6 @@ config PANEL_HX8238D
|
||||
It can drive a maximum 960x240 dot graphics on a-TFT panel
|
||||
displays in 16M colors with dithering.
|
||||
|
||||
source "drivers/video/fonts/Kconfig"
|
||||
|
||||
config VIDEO_BOCHS
|
||||
bool "Enable Bochs video emulation for QEMU"
|
||||
help
|
||||
|
||||
@@ -6,7 +6,6 @@ menu "TrueType Fonts"
|
||||
|
||||
config CONSOLE_TRUETYPE_NIMBUS
|
||||
bool "Nimbus Sans Regular"
|
||||
depends on CONSOLE_TRUETYPE
|
||||
default y
|
||||
help
|
||||
Nimbus Sans L is a version of Nimbus Sans using Adobe font sources.
|
||||
@@ -20,7 +19,6 @@ config CONSOLE_TRUETYPE_NIMBUS
|
||||
|
||||
config CONSOLE_TRUETYPE_ANKACODER
|
||||
bool "Anka Coder Narrow"
|
||||
depends on CONSOLE_TRUETYPE
|
||||
help
|
||||
The Anka/Coder family is a monospaced, courier-width font for source
|
||||
code and terminals, in two styles and weights. Anka/Coder Narrow was
|
||||
@@ -32,7 +30,6 @@ config CONSOLE_TRUETYPE_ANKACODER
|
||||
|
||||
config CONSOLE_TRUETYPE_RUFSCRIPT
|
||||
bool "Ruf Script"
|
||||
depends on CONSOLE_TRUETYPE
|
||||
help
|
||||
A laid-back handwritten font.
|
||||
Font: https://fontlibrary.org/en/font/rufscript
|
||||
@@ -41,7 +38,6 @@ config CONSOLE_TRUETYPE_RUFSCRIPT
|
||||
|
||||
config CONSOLE_TRUETYPE_CANTORAONE
|
||||
bool "Cantoraone"
|
||||
depends on CONSOLE_TRUETYPE
|
||||
help
|
||||
Cantora is a friendly semi formal, semi condensed, semi sans-serif
|
||||
with a hint of handwriting. Perfect for headlines.
|
||||
|
||||
Reference in New Issue
Block a user