Feature #13575
loader: use display pixel density for font autoselection
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.