Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 5164

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Prepare font for later use [deprecated]</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.pdf-fill.html">PDF_fill</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.pdf-fit-image.html">PDF_fit_image</a></div>
 <div class="up"><a href="ref.pdf.html">PDF Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.pdf-findfont" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">PDF_findfont</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.5, PECL pdflib &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">PDF_findfont</span> &mdash; <span class="dc-title">Prepare font for later use [deprecated]</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.pdf-findfont-description">
  <h3 class="title">Description</h3>
   <div class="methodsynopsis dc-description">
    <span class="type">int</span> <span class="methodname"><strong>PDF_findfont</strong></span>
     ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$p</code></span>
    , <span class="methodparam"><span class="type">string</span> <code class="parameter">$fontname</code></span>
    , <span class="methodparam"><span class="type">string</span> <code class="parameter">$encoding</code></span>
    , <span class="methodparam"><span class="type">int</span> <code class="parameter">$embed</code></span>
    )</div>

  <p class="para rdfs-comment">
   Search for a font and prepare it for later use with  <span class="function"><a href="function.pdf-setfont.html" class="function">PDF_setfont()</a></span>.
   The metrics will be loaded, and if <em><code class="parameter">embed</code></em> is
   nonzero, the font file will be checked, but not yet used.
   <em><code class="parameter">encoding</code></em> is one of <em>builtin</em>,
   <em>macroman</em>, <em>winansi</em>,
   <em>host</em>, a user-defined encoding name or the name of
   a CMap.
   Parameter <em><code class="parameter">embed</code></em> is optional before PHP 4.3.5 or
   with PDFlib less than 5.
  </p>
  <p class="para">
   This function is deprecated since PDFlib version 5, use
    <span class="function"><a href="function.pdf-load-font.html" class="function">PDF_load_font()</a></span> instead.
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.pdf-fill.html">PDF_fill</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.pdf-fit-image.html">PDF_fit_image</a></div>
 <div class="up"><a href="ref.pdf.html">PDF Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>