mirror of
https://github.com/opnsense/src.git
synced 2026-05-17 19:50:52 -04:00
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).
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| arch | ||
| autoload.c | ||
| bootinfo.c | ||
| conf.c | ||
| copy.c | ||
| efi_main.c | ||
| efiserialio.c | ||
| framebuffer.c | ||
| framebuffer.h | ||
| loader_efi.h | ||
| main.c | ||
| Makefile | ||
| Makefile.depend | ||
| version | ||