linux/lib/fonts
Takashi Iwai dfd19a5004 fonts: Prefer a bigger font for high resolution screens
Although we may have multiple fonts in kernel, the small 8x16 font is
chosen as default usually unless user specify the boot option.  This
is suboptimal for monitors with high resolutions.

This patch tries to assign a bigger font for such a high resolution by
calculating some penalty value.  This won't change anything for a
standard monitor like Full HD (1920x1080), but for a high res monitor
like UHD 4K, a bigger font like TER16x32 will be chosen once when
enabled in Kconfig.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-20 10:11:24 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile Fonts: New Terminus large console font 2018-12-19 10:42:08 +01:00
font_6x10.c
font_6x11.c
font_7x14.c lib/fonts: convert comments to utf-8 2018-08-23 18:48:43 -07:00
font_8x8.c lib/fonts: convert comments to utf-8 2018-08-23 18:48:43 -07:00
font_8x16.c lib/fonts: convert comments to utf-8 2018-08-23 18:48:43 -07:00
font_10x18.c
font_acorn_8x8.c
font_mini_4x6.c
font_pearl_8x8.c lib/fonts: convert comments to utf-8 2018-08-23 18:48:43 -07:00
font_sun8x16.c
font_sun12x22.c
font_ter16x32.c Fonts: New Terminus large console font 2018-12-19 10:42:08 +01:00
fonts.c fonts: Prefer a bigger font for high resolution screens 2019-06-20 10:11:24 +02:00