Hi tech@,

We are now getting the default values for font height and width using
the WSDISPLAYIO_GETSCREENTYPE ioctl, so they always match the currently
loaded font metrics. The following diff reflects that in the man page.

As text-mode VGA compatible displays are increasingly uncommon, I took
the liberty to switch the order and to mention raster displays first.

Comments? OK?

Index: usr.sbin/wsfontload/wsfontload.8
===================================================================
RCS file: /cvs/src/usr.sbin/wsfontload/wsfontload.8,v
retrieving revision 1.20
diff -u -p -r1.20 wsfontload.8
--- usr.sbin/wsfontload/wsfontload.8    3 Apr 2017 18:43:41 -0000       1.20
+++ usr.sbin/wsfontload/wsfontload.8    7 Aug 2020 13:40:26 -0000
@@ -85,8 +85,8 @@ Default is
 .Pa /dev/ttyCcfg .
 .It Fl h Ar height
 Sets the height of a font character in pixels.
-Default is 16 for text-mode VGA compatible displays,
-and 22 for raster displays.
+Default is to match the currently loaded font height for raster displays,
+and 16 for text-mode VGA compatible displays.
 .It Fl l
 Specifies to print out a list of loaded fonts, no other
 arguments should be specified.
@@ -97,8 +97,8 @@ If none is given, the
 name is used to create one.
 .It Fl w Ar width
 Sets the width of a font character in pixels.
-Default is 8 for text-mode VGA compatible displays,
-and 12 for raster displays.
+Default is to match the currently loaded font width for raster displays,
+and 8 for text-mode VGA compatible displays.
 .El
 .Pp
 .\" Typically, the

Reply via email to