[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190618203425.10723-1-tiwai@suse.de>
Date: Tue, 18 Jun 2019 22:34:22 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH RFC 0/3] Automatically choose a bigger font for high resolution screens
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
Powered by blists - more mailing lists