Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 New sentence, new line. Use more markup. Bump...
details: https://anonhg.NetBSD.org/src/rev/75ec8a0803a0
branches: trunk
changeset: 772717:75ec8a0803a0
user: wiz <wiz%NetBSD.org@localhost>
date: Fri Jan 13 23:09:51 2012 +0000
description:
New sentence, new line. Use more markup. Bump date for previous.
diffstat:
share/man/man9/rasops.9 | 9 ++++++---
share/man/man9/wsfont.9 | 30 ++++++++++++++++--------------
2 files changed, 22 insertions(+), 17 deletions(-)
diffs (117 lines):
diff -r e0dacec6f0ac -r 75ec8a0803a0 share/man/man9/rasops.9
--- a/share/man/man9/rasops.9 Fri Jan 13 21:46:00 2012 +0000
+++ b/share/man/man9/rasops.9 Fri Jan 13 23:09:51 2012 +0000
@@ -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 @@
.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
diff -r e0dacec6f0ac -r 75ec8a0803a0 share/man/man9/wsfont.9
--- a/share/man/man9/wsfont.9 Fri Jan 13 21:46:00 2012 +0000
+++ b/share/man/man9/wsfont.9 Fri Jan 13 23:09:51 2012 +0000
@@ -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 @@
.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 @@
.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 @@
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 @@
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,
Home |
Main Index |
Thread Index |
Old Index