ncl_gstxfp (3) - Linux Man Pages
ncl_gstxfp: sets the text font and precision.
NAMEGSTXFP (Set text font and precision) - sets the text font and precision.
SYNOPSISCALL GSTXFP (FONT, PREC)
C-BINDING SYNOPSIS#include <ncarg/gks.h>
(Integer, Input) - Specifies the text font to be used in
subsequent calls to the GTX output primitive. Options are:
- ASCII font (default)
- Hershey cartographic Roman
- Hershey cartographic Greek
- Hershey simplex Roman
- Hershey simplex Greek
- Hershey simplex script
- Hershey complex Roman
- Hershey complex Greek
- Hershey complex script
- Hershey complex italic
- Hershey complex Cyrillic
- Hershey duplex Roman
- Hershey triplex Roman
- Hershey triplex italic
- Hershey Gothic German
- Hershey Gothic English
- Hershey Gothic Italian
- Hershey math symbols
- Hershey symbol set 1
- Hershey symbol set 2
The Hershey fonts are not standardized by GKS but are locally implemented in NCAR GKS-0A. GKS requires that such locally implemented fonts be assigned negative font numbers. To view the Hershey fonts, look at the plots produced from the PLOTCHAR example (execute "ncargex epltch" to get a metafile) and examine the plot titled "PLCHHQ - FONTCAP DATABASES ADDED 6/90". The font numbers there are the absolute values of the value for FONT described here (PLOTCHAR has no need to follow the strictures that GKS imposes on font names for GSTXFP).
(Integer, Input) -
Gives the precision used in subsequent calls to the GTX output
primitive for font type FONT.
- String precision (good). This is the GKS default.
- Character precision (better).
- Stroke precision (best). This is the default for NCAR GSK-0A.
USAGEIf one accesses the Hershey fonts via GSTXFP and GTX, then the characters are not stroked until viewing time. If one accesses the Hershey fonts via PLOTCHAR, then the characters are stroked by PLOTCHAR itself. This can make a significant difference in metafile sizes.
ACCESSTo use GKS routines, load the NCAR GKS-0A library ncarg_gks.
COPYRIGHTCopyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.