plotfont
command-line options
The plotfont
font display utility will produce a character map
for any of the fonts available to the GNU plotting utilities
graph
, plot
, pic2plot
, and tek2plot
, and the
GNU libplot
graphics library on which they are based. The map
may be produced in any supported output format, or displayed on an X
Window System display. The output format or display type is specified
with the `-T' option.
The names of the fonts for which a character map will be produced may
appear anywhere on the plotfont
command line. That is, the
relative order of font names and command-line options does not matter.
The character map is written to standard output, unless the `-T X'
option is specified. In that case the character map is displayed in
a window on an X Window System display, and there is no output file.
The possible options are listed below. There are three sorts of option:
plotfont
, i.e., relevant only if no
display type or output format is specified with the `-T' option.
Each option that takes an argument is followed, in parentheses, by the type and default value of the argument.
The following are general options.
idraw
-editable Postscript, the format used by the xfig
drawing editor, the Hewlett--Packard PCL 5 printer language, the
Hewlett--Packard Graphics Language (by default, HP-GL/2), Tektronix
format, and device-independent GNU graphics metafile format.
Files in PNM, pseudo-GIF, AI, or Fig format may contain only a single
page of graphics. So if the `-T pnm' option, the `-T gif'
option, the `-T ai' option, or the `-T fig' option is used,
a character map will be produced for only the first-specified font.
plotfont -T X
,
plotfont -T pnm
, and plotfont -T gif
. An unrecognized
name sets the color to the default. For information on what names are
recognized, see section Specifying Colors by Name. The environment variable
BG_COLOR
can equally well be used to specify the background
color.
If the `-T gif' option is used, a transparent pseudo-GIF may be
produced by setting the TRANSPARENT_COLOR
environment variable to
the name of the background color. See section Environment variables.
plotfont -T X
,
plotfont -T pnm
, and plotfont -T gif
, for which the
graphics display size can be expressed in terms of pixels. The
environment variable BITMAPSIZE
can equally well be used to
specify the size.
The graphics display used by plotfont -T X
is an X window.
If you choose a rectangular (non-square) window size, the fonts in the
plot will be scaled anisotropically, i.e., by different factors in the
horizontal and vertical direction. This requires an X11R6 display. Any
font that cannot be scaled in this way will be replaced by a default
scalable font, such as the Hershey vector font "HersheySerif".
For backward compatibility, the X resource Xplot.geometry
,
which can be set by the user, may be used to set the window size,
instead of `--bitmap-size' or BITMAPSIZE
.
plotfont -T pnm
,
plotfont -T gif
, plotfont -T pcl
, plotfont -T hpgl
and plotfont -T tek
, for which "HersheySerif" is the default.)
Set the font used for the numbering of the characters in the character
map(s) to be font_name.
plotfont -T ai
, plotfont -T ps
, plotfont -T fig
,
plotfont -T pcl
and plotfont -T hpgl
. "letter" means an
8.5in by 11in page. Any ISO page size in the range
"a0"..."a4" or ANSI page size in the range "a"..."e" may be
specified ("letter" is an alias for "a" and "tabloid" is an alias
for "b"). "legal", "ledger", and "b5" are recognized page sizes
also. The environment variable PAGESIZE
can equally well be used
to specify the page size.
For plotfont -T ai
and plotfont -T ps
, the graphics
display within which each character map is drawn will be a square region
centered on the specified page, occupying its full width (with allowance
being made for margins). For plotfont -T fig
, it will be a
square region of the same size, located in the upper left corner of an
xfig
display. For plotfont -T pcl
and plotfont -T
hpgl
, the graphics display will be a square region of the same size,
but may be positioned differently. Fine control over its positioning on
the page can be accomplished by setting certain environment variables
(see section Environment variables).
The following option is relevant only to raw plotfont
, i.e.,
relevant only if no display type or output format is specified with the
`-T' option. In this case plotfont
outputs a graphics
metafile, which may be translated to other formats by invoking
plot
.
META_PORTABLE
to "yes".
The following options request information.
plotfont -T X
, plotfont -T ai
, plotfont
-T ps
, and plotfont -T fig
each support the 35 standard
Postscript fonts. plotfont -T ai
, plotfont -T pcl
, and
plotfont -T hpgl
support the 45 standard PCL 5 fonts, and
plotfont -T pcl
and plotfont -T hpgl
support a number of
Hewlett--Packard vector fonts. All of the preceding, together with
plotfont -T pnm
, plotfont -T gif
, and plotfont -T
tek
, support a set of 22 Hershey vector fonts. Raw plotfont
in principle supports any of these fonts, since its output must be
translated to other formats with plot
.
plotfont
and the plotting utilities
package, and exit.
Go to the first, previous, next, last section, table of contents.