Update for changes to 'struct wsdisplay_font'.
This commit is contained in:
parent
59a1ab9791
commit
a4eb83847b
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: wsfontload.8,v 1.5 1999/04/06 04:54:22 cgd Exp $
|
||||
.\" $NetBSD: wsfontload.8,v 1.6 2000/01/05 18:46:43 ad Exp $
|
||||
.\"
|
||||
.Dd January 13, 1999
|
||||
.Os
|
||||
|
@ -23,6 +23,12 @@
|
|||
.Bk -words
|
||||
.Op Fl N Ar name
|
||||
.Ek
|
||||
.Bk -words
|
||||
.Op Fl b
|
||||
.Ek
|
||||
.Bk -words
|
||||
.Op Fl B
|
||||
.Ek
|
||||
.Op Ar fontfile
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
|
@ -68,6 +74,12 @@ Specifies a name which can be used later to refer to the font.
|
|||
In none is given, the
|
||||
.Ar fontfile
|
||||
name is used to create one.
|
||||
.It Fl b
|
||||
Specifies that the font data is ordered right-to-left bit wise. The default
|
||||
is left-to-right.
|
||||
.It Fl B
|
||||
Specifies that the font data is ordered right-to-left byte wise. The default
|
||||
is left-to-right.
|
||||
.El
|
||||
.Pp
|
||||
Typically, the
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: wsfontload.c,v 1.1 1999/01/13 19:02:34 drochner Exp $ */
|
||||
/* $NetBSD: wsfontload.c,v 1.2 2000/01/05 18:46:43 ad Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999
|
||||
|
@ -82,8 +82,10 @@ main(argc, argv)
|
|||
f.stride = 0;
|
||||
f.encoding = DEFENC;
|
||||
f.name = 0;
|
||||
f.bitorder = WSDISPLAY_FONTORDER_L2R;
|
||||
f.byteorder = WSDISPLAY_FONTORDER_L2R;
|
||||
|
||||
while ((c = getopt(argc, argv, "f:w:h:e:N:")) != -1) {
|
||||
while ((c = getopt(argc, argv, "f:w:h:e:N:bB")) != -1) {
|
||||
switch (c) {
|
||||
case 'f':
|
||||
wsdev = optarg;
|
||||
|
@ -102,6 +104,12 @@ main(argc, argv)
|
|||
case 'N':
|
||||
f.name = optarg;
|
||||
break;
|
||||
case 'b':
|
||||
f.bitorder = WSDISPLAY_FONTORDER_R2L;
|
||||
break;
|
||||
case 'B':
|
||||
f.byteorder = WSDISPLAY_FONTORDER_R2L;
|
||||
break;
|
||||
case '?':
|
||||
default:
|
||||
usage();
|
||||
|
|
Loading…
Reference in New Issue