1GSTXFP(3NCARG) NCAR GRAPHICS GSTXFP(3NCARG)
2
3
4
6 GSTXFP (Set text font and precision) - sets the text font and preci‐
7 sion.
8
10 CALL GSTXFP (FONT, PREC)
11
13 #include <ncarg/gks.h>
14
15 void gset_text_font_prec(const Gtext_font_prec *text_font_prec);
16
18 FONT (Integer, Input) - Specifies the text font to be used in
19 subsequent calls to the GTX output primitive. Options are:
20
21 1 ASCII font (default)
22
23 -2 Hershey cartographic Roman
24
25 -3 Hershey cartographic Greek
26
27 -4 Hershey simplex Roman
28
29 -5 Hershey simplex Greek
30
31 -6 Hershey simplex script
32
33 -7 Hershey complex Roman
34
35 -8 Hershey complex Greek
36
37 -9 Hershey complex script
38
39 -10 Hershey complex italic
40
41 -11 Hershey complex Cyrillic
42
43 -12 Hershey duplex Roman
44
45 -13 Hershey triplex Roman
46
47 -14 Hershey triplex italic
48
49 -15 Hershey Gothic German
50
51 -16 Hershey Gothic English
52
53 -17 Hershey Gothic Italian
54
55 -18 Hershey math symbols
56
57 -19 Hershey symbol set 1
58
59 -20 Hershey symbol set 2
60
61 The Hershey fonts are not standardized by GKS but are
62 locally implemented in NCAR GKS-0A. GKS requires that such
63 locally implemented fonts be assigned negative font num‐
64 bers. To view the Hershey fonts, look at the plots produced
65 from the PLOTCHAR example (execute "ncargex epltch" to get
66 a metafile) and examine the plot titled "PLCHHQ - FONTCAP
67 DATABASES ADDED 6/90". The font numbers there are the
68 absolute values of the value for FONT described here
69 (PLOTCHAR has no need to follow the strictures that GKS
70 imposes on font names for GSTXFP).
71
72 PREC (Integer, Input) - Gives the precision used in subsequent
73 calls to the GTX output primitive for font type FONT.
74 Options are:
75
76 0 String precision (good). This is the GKS default.
77
78 1 Character precision (better).
79
80 2 Stroke precision (best). This is the default for
81 NCAR GSK-0A.
82
84 If one accesses the Hershey fonts via GSTXFP and GTX, then the charac‐
85 ters are not stroked until viewing time. If one accesses the Hershey
86 fonts via PLOTCHAR, then the characters are stroked by PLOTCHAR itself.
87 This can make a significant difference in metafile sizes.
88
90 To use GKS routines, load the NCAR GKS-0A library ncarg_gks.
91
93 Online: gtx, gstxp, gstxal, gschh, gschsp, gschup, gschxp, gscr,
94 gstxci, gqtxp, gqtxal, gqtxfp, gqchh, gqchsp, gqchup, gqchxp, plotchar,
95 gset_text_font_prec
96
97 Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Funda‐
98 mentals, UNIX Version
99
101 Copyright (C) 1987-2009
102 University Corporation for Atmospheric Research
103 The use of this Software is governed by a License Agreement.
104
105
106
107UNIX March 1993 GSTXFP(3NCARG)