DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5 SCO OpenServer 5, and AIX 5L

text2(1Mcert)


text2 -- verify that fonts are displayed correctly for a graphics adapter driver

Synopsis

startx
/usr/bin/X11/text2 [-help -s -f# <num> -f1 <num> -fs -fn <fontname> -o -t -fg <color> -bg <color> -v -ls -k -a -p -tfg <color> -tbg <color> -bitmap <filename> -q
-geo[metry] <width>x<height> {+-}<xoffset>{+-}<yoffset>

Description

text2 is run with color3(1Mcert) to verify that the resolution and modes configured on vt01 (tty01) and vt02 (tty02) display correctly.

Options

The following options are supported:

-help
display this message on stderr.

-s
use smooth scrolling instead of window jump scrolling.

-f# <num>
display only font number num.

-f1 <num>
start display from font number num. ELI "-fs" use font server to scale fonts when possible.

-fn <fontname>
display only the font with this fontname.

-k
do NOT free the font after printing. Keep them all open.

-q
exit after displaying all fonts. Otherwise the window remains.

-a
display ALL the glyphs of the font.

-v
verbose mode. Printout more statistics to stderr.

-ls
List names of fonts when displaying.

-p
use a stipple pattern.

-o
draw stipple with Opaque Fill style.

-t
use a tile pattern. If Opaque requested means FillSolid.

-fg <color>
use named color for foreground.

-bg <color>
use named color for background.

-tfg <color>
use named color for tile foreground.

-tbg <color>
use named color for tile background.

-bitmap <filename>
use this specified bitmap for stipple or tile.

-geo[metry] <width>x<height>

Keystrokes


Left button
stop drawing. To restart, cause an expose event.

Middle button
exit

Right button
stop drawing. To restart, cause an expose event.

Usage

Installation

The text2 test is included in the xtests package that can be downloaded from the HDK homepage or installed from the HDK CD-ROM.

Version applicability

NFB graphical drivers for SVR5, SCO OpenServer 5, and AIX 5L.

Differences between versions

The SCO OpenServer 5 syntax for this test is

startx
/xtests/fonts/text2 -a &

References

color3(1Mcert), graftest(1Mcert), uts(1Mcert), x11perf(1Mcert), xbench(1Mcert)

``Testing and debugging SVR5 NFB drivers'' in Developing NFB graphics adapter drivers
``NFB driver coding guidelines'' in Developing NFB graphics adapter drivers

text2 Version: 2.01 - usage message (man page)


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005