aboutsummaryrefslogtreecommitdiff
path: root/contrib/com_err
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2021-02-20 08:51:28 +0000
committerToomas Soome <tsoome@FreeBSD.org>2021-02-27 09:26:02 +0000
commitbecaac3972f1fde4e3c44516399468ba5ca65c9b (patch)
tree124942a742ecd89c75f58de230945b723540d175 /contrib/com_err
parentc01da939b0998f8de068a23c9016c377e761255e (diff)
downloadsrc-becaac3972f1fde4e3c44516399468ba5ca65c9b.tar.gz
src-becaac3972f1fde4e3c44516399468ba5ca65c9b.zip
loader: use display pixel density for font autoselection
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). MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D28849
Diffstat (limited to 'contrib/com_err')
0 files changed, 0 insertions, 0 deletions