Project

General

Profile

Feature #13575

loader: use display pixel density for font autoselection

Added by Toomas Soome 15 days ago. Updated 15 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Calculate font size from 16 density independent pixels (dp) by using: size = 16 * ppi/160 * display_factor

We are specifying font size 16dp, and assuming 1dp = 160ppi. Also apply scaling factor 2 (display_factor).

This should pick "better" font compared to "lets try to get terminal size 80x24" method.

Testing done: I only do have one system with external monitor and EDID data, I did test all available video modes with it and the result is as expected. More testing is very welcome.

#1

Updated by Electric Monk 15 days ago

  • Gerrit CR set to 1282

Also available in: Atom PDF