[PATCH RFC 0/3] Automatically choose a bigger font for high resolution screens
From: Takashi Iwai
Date: Tue Jun 18 2019 - 16:39:52 EST
Hi,
this is an RFC patch for automatically selecting a bigger font for
high resolution monitors if available. Although we recently got a
16x32 sized font support in the kernel, using it still requires some
extra kernel option. This patch reduces this and the kernel will pick
up a bigger font.
The logic is simply checking the text screen size. If it's over a
threshold, the penalty is given to the function that chooses the
default font.
The threshold was chosen so that the normal display up to Full HD
won't be affected.
There are two preliminary patches and they are merely cleanups. They
can be applied no matter whether to take the last patch or not.
thanks,
Takashi
===
Takashi Iwai (3):
fonts: Fix coding style
fonts: Use BUILD_BUG_ON() for checking empty font table
fonts: Prefer a bigger font for high resolution screens
lib/fonts/fonts.c | 103 ++++++++++++++++++++++++------------------------------
1 file changed, 46 insertions(+), 57 deletions(-)
--
2.16.4