libpayload: video: Add support for font scaling with a factor
This introduces support for font scaling with a factor provided via Kconfig. In practice, the font itself is not scaled at any point in memory and only the logic to determine whether a pixel should be filled or not is changed. Thus, it should not significantly impact either the access time or memory use. Change-Id: Idff210617c9ec08c6034aef107cfdb34c7cdf029 Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Reviewed-on: https://review.coreboot.org/20709 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
committed by
Martin Roth
parent
1c0b603673
commit
d85e485c58
@@ -321,6 +321,14 @@ config COREBOOT_VIDEO_CONSOLE
|
||||
Say Y here if coreboot switched to a graphics mode and
|
||||
your payload wants to use it.
|
||||
|
||||
config FONT_SCALE_FACTOR
|
||||
int "Scale factor for the included font"
|
||||
depends on GEODELX_VIDEO_CONSOLE || COREBOOT_VIDEO_CONSOLE
|
||||
default 0
|
||||
help
|
||||
By default (value of 0), the scale factor is automatically
|
||||
calculated to ensure at least 130 columns (when possible).
|
||||
|
||||
config PC_KEYBOARD
|
||||
bool "Allow input from a PC keyboard"
|
||||
default y if ARCH_X86 # uses IO
|
||||
|
Reference in New Issue
Block a user