167 lines
3.4 KiB
HTML
167 lines
3.4 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of pbmtextps</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>pbmtextps</H1>
|
|
Section: User Commands (1)<BR>Updated: 02 January 2003<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="ixAAB"></A>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
pbmtextps - render text into a bitmap via postscript
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>pbmtextps</B>
|
|
|
|
[<B>-font</B>
|
|
|
|
<I>fontfile</I>]
|
|
|
|
[<B>-fontsize</B>
|
|
|
|
<I>fontsize</I>]
|
|
|
|
[<B>-resolution</B>
|
|
|
|
<I>resolution</I>]
|
|
|
|
[<B>-stroke</B>
|
|
|
|
<I>strokesize</I>]
|
|
|
|
[<B>-verbose</B>
|
|
|
|
[<I>text</I>]
|
|
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
<B>pbmtextps</B>
|
|
|
|
takes a single line of text from the command line and renders it into a PBM
|
|
image.
|
|
<P>
|
|
The image is cropped at the top and the right. It is not cropped at the
|
|
left or bottom so that the text begins at the same position relative to the
|
|
origin. You can use
|
|
<B>pnmcrop</B>
|
|
|
|
to crop it all the way.
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-font</B>
|
|
|
|
<DD>
|
|
By default,
|
|
<B>pbmtextps</B>
|
|
|
|
uses TimesRoman.
|
|
You can specify the font to use with the
|
|
<B>-font</B>
|
|
|
|
option. This is the name of any valid postscript font which is installed on
|
|
your system.
|
|
<P>
|
|
<DT id="2"><B>-fontsize</B>
|
|
|
|
<DD>
|
|
Size of font in points. See the
|
|
<B>-resolution</B>
|
|
|
|
option for information on how to interpret this size.
|
|
<P>
|
|
Default is 24 points.
|
|
<P>
|
|
<DT id="3"><B>-resolution</B>
|
|
|
|
<DD>
|
|
Resolution in dots per inch of distance measurements pertaining to
|
|
generation of the image. PBM images don't have any inherent resolution, so
|
|
a distance such as "1 inch" doesn't mean anything unless you separately
|
|
specify what resolution you're talking about. That's what this option does.
|
|
<P>
|
|
In particular, the meaning of the font size is determined by this
|
|
resolution. If the font size is 24 points and the resolution is 150 dpi,
|
|
then the font size is 50 pixels.
|
|
<P>
|
|
Default is 150 dpi.
|
|
<P>
|
|
<P>
|
|
<DT id="4"><B>-stroke</B>
|
|
|
|
<DD>
|
|
Width of line to use for stroke font. There is no default stroke width
|
|
because the letters are solid by default.
|
|
<BR>
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>USAGE</H2>
|
|
|
|
<P>
|
|
See
|
|
<B>pbmtext</B>
|
|
|
|
for usage examples.
|
|
<P>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pbmtext">pbmtext</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pnmcut">pnmcut</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pnmcrop">pnmcrop</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pnmcomp">pnmcomp</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+ppmchange">ppmchange</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+pnmrotate">pnmrotate</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+ppmlabel">ppmlabel</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+pbm">pbm</A></B>(5)
|
|
|
|
<P>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Copyright (C) 2002 by James McCann
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<P>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="8"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="9"><A HREF="#lbAF">USAGE</A><DD>
|
|
<DT id="10"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
<DT id="11"><A HREF="#lbAH">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:21 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|