[lkml]   [2019]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH RFC 0/3] Automatically choose a bigger font for high resolution screens

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.




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(-)


 \ /
  Last update: 2019-06-18 22:36    [W:0.108 / U:2.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site