Module Name: src
Committed By: wiz
Date: Fri Jan 13 23:09:51 UTC 2012
Modified Files:
src/share/man/man9: rasops.9 wsfont.9
Log Message:
New sentence, new line. Use more markup. Bump date for previous.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/share/man/man9/rasops.9
cvs rdiff -u -r1.17 -r1.18 src/share/man/man9/wsfont.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/rasops.9
diff -u src/share/man/man9/rasops.9:1.14 src/share/man/man9/rasops.9:1.15
--- src/share/man/man9/rasops.9:1.14 Fri Jan 13 16:50:28 2012
+++ src/share/man/man9/rasops.9 Fri Jan 13 23:09:51 2012
@@ -1,4 +1,4 @@
-.\" $NetBSD: rasops.9,v 1.14 2012/01/13 16:50:28 macallan Exp $
+.\" $NetBSD: rasops.9,v 1.15 2012/01/13 23:09:51 wiz Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd October 7, 2001
+.Dd January 13, 2012
.Dt RASOPS 9
.Os
.Sh NAME
@@ -180,10 +180,13 @@ The arguments
.Fa wantrows
and
.Fa wantcols
-are the number of rows and columns we'd like. Passing zero for either one of
+are the number of rows and columns we'd like.
+Passing zero for either one of
them uses the default - normally 80x25 but it can be changed with
+.Bd -literal -offset indent
options RASOPS_DEFAULT_WIDTH=80
options RASOPS_DEFAULT_HEIGHT=25
+.Ed
If calling
.Fn rasops_reconfig
to change the font and ri_wsfcookie \*[Ge] 0, you must call
Index: src/share/man/man9/wsfont.9
diff -u src/share/man/man9/wsfont.9:1.17 src/share/man/man9/wsfont.9:1.18
--- src/share/man/man9/wsfont.9:1.17 Fri Jan 13 16:06:20 2012
+++ src/share/man/man9/wsfont.9 Fri Jan 13 23:09:51 2012
@@ -1,4 +1,4 @@
-.\" $NetBSD: wsfont.9,v 1.17 2012/01/13 16:06:20 macallan Exp $
+.\" $NetBSD: wsfont.9,v 1.18 2012/01/13 23:09:51 wiz Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd October 7, 2001
+.Dd January 13, 2012
.Dt WSFONT 9
.Os
.Sh NAME
@@ -103,17 +103,17 @@ The
.Nm
framework supports fonts with the following encodings:
.Bl -tag -width compact
-.It WSDISPLAY_FONTENC_ISO
+.It Dv WSDISPLAY_FONTENC_ISO
ISO-encoded fonts.
-.It WSDISPLAY_FONTENC_IBM
+.It Dv WSDISPLAY_FONTENC_IBM
IBM-encoded fonts commonly available for IBM CGA, EGA and VGA display
adapters.
-.It WSDISPLAY_FONTENC_PCVT
+.It Dv WSDISPLAY_FONTENC_PCVT
PCVT-encoding fonts distributed as part of the old PCVT terminal
emulation driver.
-.It WSDISPLAY_FONTENC_ISO7
+.It Dv WSDISPLAY_FONTENC_ISO7
ISO-encoded Greek fonts.
-.It WSDISPLAY_FONTENC_ISO2
+.It Dv WSDISPLAY_FONTENC_ISO2
ISO-encoded East European fonts.
.El
.Sh FUNCTIONS
@@ -127,11 +127,13 @@ with the specifications
.Fa name ,
.Fa width ,
.Fa height ,
-.Fa stride
+.Fa stride
and
.Fa flags .
Return zero if not matched and non-zero if matched.
-The "flags" parameter has the same meaning as in
+The
+.Fa flags
+parameter has the same meaning as in
.Fn wsfont_find .
.It Fn wsfont_find "name" "width" "height" "stride" "bitorder" "byteorder" "flags"
Find the font called
@@ -156,11 +158,11 @@ and
arguments are the bit order and byte order required.
Valid values are:
.Bl -tag -width compact
-.It WSDISPLAY_FONTORDER_KNOWN
+.It Dv WSDISPLAY_FONTORDER_KNOWN
The font is in known ordered format and doesn't need converting.
-.It WSDISPLAY_FONTORDER_L2R
+.It Dv WSDISPLAY_FONTORDER_L2R
The font is ordered left to right.
-.It WSDISPLAY_FONTORDER_R2L
+.It Dv WSDISPLAY_FONTORDER_R2L
The font is ordered right to left.
.El
.Pp
@@ -169,9 +171,9 @@ The
parameter determines what type of font can be returned.
Any combination of the following values is allowed:
.Bl -tag -width compact
-.It WSFONT_FIND_BITMAP
+.It Dv WSFONT_FIND_BITMAP
To search bitmap fonts,
-.It WSFONT_FIND_ALPHA
+.It Dv WSFONT_FIND_ALPHA
to search anti-aliased fonts.
.El
When more flexibility is required,