1HVECTEXT(1gv) HVECTEXT(1gv)
2
3
4
6 hvectext - construct Geomview VECT text object from Hershey fonts
7
9 hvectext [-w totallength] [-s textheight] [-plane xy|xz|yz] [-at X Y Z]
10 [-align n|s|e|w|ne|nw|se|sw|c] [-hershey fontfile.gsf] [--] text
11 string ...
12
14 Hvectext generates a Geomview/OOGL vector-text object, of given height
15 or total length (default -s .25). It aligns the given 3-D point
16 (default -at 0 0 0) with the given corner of the text (default
17 -align c). Alignment specs are like geographic directions; -align sw
18 puts the ``at'' point at the ``southwest'' corner of the text, so that
19 its lower left corner is at that coordinate.
20
21 The corresponding VECT object is written to standard output. If no
22 non-blank text characters are given, hvectext produces a null geom
23 object ("{ }") as output.
24
25 The special option -- marks the end of options; it's useful in case the
26 text itself begins with a hyphen.
27
28 Hvectext accepts Ghostscript Hershey fonts; the built-in default is
29 Hershey-Plain-Simplex a.k.a. hrpl_s.gsf. Others of interest:
30 hrsy_r.gsf (Symbol), hrpl_t.gsf (Triplex). For a complete list, see
31 all the Ghostscript font files of nontrivial size whose names begin
32 with "hr".
33
34 Although there's no way to switch fonts within the string, the first
35 line of output from hvectext is an OOGL comment resembling:
36 # Continue with: -align sw -plane xy -s 0.25 -at 1.24378 0 0
37 giving options for hvectext to continue the string where it left off.
38
40 GS_FONTPATH, if present, is a colon-separated list of directories in
41 which Hershey font files are sought.
42
44 perl (either version 4 or 5) must be installed.
45
46 /usr/local/lib/ghostscript/fonts is searched if -hershey is given and
47 GS_FONTPATH isn't set.
48
49
50
51Geometry Center 1 Nov 1996 HVECTEXT(1gv)