Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 591c941c2fdf0a32dc57bb5f10791cde > files > 462

gnuplot-doc-4.4.0-5.fc14.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2008 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Gd (png, gif, jpeg terminals)</TITLE>
<META NAME="description" CONTENT="Gd (png, gif, jpeg terminals)">
<META NAME="keywords" CONTENT="gnuplot">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="gnuplot.css">

<LINK REL="next" HREF="node35.html">
<LINK REL="previous" HREF="node33.html">
<LINK REL="up" HREF="node32.html">
<LINK REL="next" HREF="node35.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html1225"
  HREF="node35.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html1219"
  HREF="node32.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html1213"
  HREF="node33.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html1221"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html1223"
  HREF="node467.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1226"
  HREF="node35.html">Postscript (also encapsulated postscript</A>
<B> Up:</B> <A NAME="tex2html1220"
  HREF="node32.html">Fonts</A>
<B> Previous:</B> <A NAME="tex2html1214"
  HREF="node33.html">Cairo (pdfcairo, pngcairo, wxt</A>
 &nbsp; <B>  <A NAME="tex2html1222"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html1224"
  HREF="node467.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION020142000000000000000"></A>
<A NAME="gd"></A><A NAME="980"></A>
<A NAME="fonts_gd"></A><A NAME="982"></A>
<A NAME="983"></A>
<A NAME="984"></A>
<A NAME="985"></A>
<BR>
Gd (png, gif, jpeg terminals)
</H2>
Font handling for the png, gif, and jpeg terminals is done by the external
library libgd.  Five basic fonts are provided directly by libgd. These are
<B>tiny</B> (5x8 pixels), <B>small</B> (6x12 pixels), <B>medium</B>, (7x13 Bold), <B>large</B>
(8x16) or <B>giant</B> (9x15 pixels). These fonts cannot be scaled or rotated.
Use one of these keywords instead of the <B>font</B> keyword. E.g.
<BR>
<PRE>
    set term png tiny
</PRE>
<BR>

<P>
On most systems libgd also provides access to Adobe Type 1 fonts (*.pfa) and
TrueType fonts (*.ttf). You must give the name of the font file, not the name
of the font inside it, in the form <TT>"</TT>4#4face5#5 {,4#4pointsize5#5}<TT>"</TT>.
4#4face5#5 is either the full pathname to the font file, or the first part of a
filename in one of the directories listed in the GDFONTPATH environmental
variable. That is, 'set term png font <TT>"</TT>Face<TT>"</TT>' will look for a font file named
either 4#4somedirectory5#5/Face.ttf or 4#4somedirectory5#5/Face.pfa.
For example, if GDFONTPATH contains <B>/usr/local/fonts/ttf:/usr/local/fonts/pfa</B>
then the following pairs of commands are equivalent
<BR>
<PRE>
    set term png font "arial"
    set term png font "/usr/local/fonts/ttf/arial.ttf"
    set term png font "Helvetica"
    set term png font "/usr/local/fonts/pfa/Helvetica.pfa"
</PRE>
<BR>
To request a default font size at the same time:
<BR>
<PRE>
    set term png font "arial,11"
</PRE>
<BR>

<P>
Both TrueType and Adobe Type 1 fonts are fully scalable and rotatable.
If no specific font is requested in the <TT>"</TT>set term<TT>"</TT> command, gnuplot checks
the environmental variable GNUPLOT_DEFAULT_GDFONT to see if there is a
preferred default font.
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1225"
  HREF="node35.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html1219"
  HREF="node32.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html1213"
  HREF="node33.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html1221"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html1223"
  HREF="node467.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1226"
  HREF="node35.html">Postscript (also encapsulated postscript</A>
<B> Up:</B> <A NAME="tex2html1220"
  HREF="node32.html">Fonts</A>
<B> Previous:</B> <A NAME="tex2html1214"
  HREF="node33.html">Cairo (pdfcairo, pngcairo, wxt</A>
 &nbsp; <B>  <A NAME="tex2html1222"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html1224"
  HREF="node467.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>

2010-08-17
</ADDRESS>
</BODY>
</HTML>