GSTXFP(3NCARG) | NCAR GRAPHICS | GSTXFP(3NCARG) |
GSTXFP (Set text font and precision) - sets the text font and precision.
CALL GSTXFP (FONT, PREC)
#include <ncarg/gks.h>
void gset_text_font_prec(const Gtext_font_prec *text_font_prec);
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).
If 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.
To use GKS routines, load the NCAR GKS-0A library ncarg_gks.
Online: gtx, gstxp, gstxal, gschh, gschsp, gschup, gschxp, gscr, gstxci, gqtxp, gqtxal, gqtxfp, gqchh, gqchsp, gqchup, gqchxp, plotchar, gset_text_font_prec
Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
March 1993 | UNIX |