From d85e485c5892f2d96e8c5d10828c13af154a5481 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Sun, 23 Jul 2017 16:05:47 +0300 Subject: 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 Reviewed-on: https://review.coreboot.org/20709 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- payloads/libpayload/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'payloads/libpayload/Kconfig') diff --git a/payloads/libpayload/Kconfig b/payloads/libpayload/Kconfig index 63cc1527b6..8fd6a9c763 100644 --- a/payloads/libpayload/Kconfig +++ b/payloads/libpayload/Kconfig @@ -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 -- cgit v1.2.3