Enable framebuffer fonts auto selection for HighDPI screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Po-Hsu Lin | ||
Bionic |
Fix Released
|
Medium
|
Po-Hsu Lin | ||
Disco |
Fix Released
|
Medium
|
Po-Hsu Lin | ||
Eoan |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
== Justification ==
After bug 1819881 - [CONFIG] please enable highdpi font FONT_TER16x32,
our kernels 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:/
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.
CVE References
Changed in linux (Ubuntu Disco): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → Incomplete |
status: | Incomplete → In Progress |
Changed in linux (Ubuntu Eoan): | |
status: | New → Fix Released |
tags: | added: disco |
Changed in linux (Ubuntu Focal): | |
status: | New → Fix Released |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
tags: | added: bionic |
description: | updated |
Changed in linux (Ubuntu Xenial): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
description: | updated |
description: | updated |
description: | updated |
tags: | added: xenial |
description: | updated |
description: | updated |
Changed in linux (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Disco): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Disco): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-bionic removed: verification-needed-bionic |
tags: |
added: verification-done-disco removed: verification-needed-disco |
Screenshot before applying the patch.