diff options
author | 2020-08-05 13:56:06 +0000 | |
---|---|---|
committer | 2020-08-05 13:56:06 +0000 | |
commit | 442ef12c5cd5d8de0ade0c1d27d834ce9816d23e (patch) | |
tree | 9a50ec1118829e010163620ee2c0ea21b7d64ab8 /sys/dev | |
parent | Allow the WSDISPLAYIO_GETSCREENTYPE ioctl on the tty*cfg device, passing (diff) | |
download | wireguard-openbsd-442ef12c5cd5d8de0ade0c1d27d834ce9816d23e.tar.xz wireguard-openbsd-442ef12c5cd5d8de0ade0c1d27d834ce9816d23e.zip |
Get the default values for font height and width in wsfontload(8) using
the WSDISPLAYIO_GETSCREENTYPE ioctl. This ensures that they always match
the currently loaded font metrics.
Previously, wsfontload(8) hardcoded the default height and width values
for the font to be loaded as 12x22 when using framebuffer consoles, and
as 8x16 when in text mode. The 12x22 value wasn't correct in case we
felt back to the smaller 8x16 font for screen widths smaller than 960px,
and wasn't valid anymore since we replaced Gallant 12x22 by Spleen 12x24
on all architectures but sparc64.
OK jcs@, mpi@
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions