APPLIED: [X/B/D][SRU][PATCH 0/2] Enable framebuffer fonts auto selection for HighDPI screen

Khaled Elmously khalid.elmously at canonical.com
Thu Nov 28 07:43:11 UTC 2019


On 2019-11-07 19:43:56 , Po-Hsu Lin wrote:
> == Justification ==
> After bug 1819881 - [CONFIG] please enable highdpi font FONT_TER16x32,
> many of our kernel now support TER16x32 font for high resolution screen.
> 
> With Takashi Iwai's patch:
>   dfd19a50 (fonts: Prefer a bigger font for high resolution screens)
> 
> The framebuffer can now decide which font to use base on the screen
> resolution. It will be great to have this feature in older kernels as
> well.
> 
> == Fixes ==
> * aa1d19f1 (fonts: Fix coding style)
> * dfd19a50 (fonts: Prefer a bigger font for high resolution screens)
> 
> First patch just changes the coding style, no actual changes were made.
> The second patch added an extra check to see if we can use highDPI font.
> 
> These two patches can be cherry-picked into X/B/D
> 
> For Eoan and onward, they already have these patches.
> 
> == Test ==
> Test kernels can be found here:
> https://people.canonical.com/~phlin/kernel/lp-1851623-fb-font-detect/
> 
> Patch tested on a Dell G7 UHD laptop and it works as expected, the
> font displayed in the early boot stage (before switching to color
> frame buffer device) will be set to a more readable one.
> 
> Screenshots can be found in the attachment of the bug report.
> 
> == Regression Potential ==
> Low, this only affects the frame buffer, changing the way to decide
> which font to use.
> 
> Takashi Iwai (2):
>   fonts: Fix coding style
>   fonts: Prefer a bigger font for high resolution screens
> 
>  lib/fonts/fonts.c | 88 ++++++++++++++++++++++++++++---------------------------
>  1 file changed, 45 insertions(+), 43 deletions(-)
> 
> -- 
> 2.7.4
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list