Sophie

Sophie

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

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>Output text</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ps-show2.html">ps_show2</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ps-string-geometry.html">ps_string_geometry</a></div>
 <div class="up"><a href="ref.ps.html">PS Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.ps-show" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ps_show</h1>
  <p class="verinfo">(PECL ps &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">ps_show</span> &mdash; <span class="dc-title">Output text</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ps-show-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>ps_show</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$psdoc</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$text</code></span>
   )</div>

  <p class="para rdfs-comment">
   Output a text at the current text position. The text position can be set
   by storing the x and y coordinates into the values <em>textx</em>
   and <em>texty</em> with the function
    <span class="function"><a href="function.ps-set-value.html" class="function">ps_set_value()</a></span>. The function will issue an
   error if a font was not set before with  <span class="function"><a href="function.ps-setfont.html" class="function">ps_setfont()</a></span>.
  </p>
  <p class="para">
    <span class="function"><strong>ps_show()</strong></span> evaluates the following parameters and values
   as set by  <span class="function"><a href="function.ps-set-parameter.html" class="function">ps_set_parameter()</a></span> and
    <span class="function"><a href="function.ps-set-value.html" class="function">ps_set_value()</a></span>.
  </p>
  <dl>

   <dt>

    <span class="term">charspacing (value)</span>
    <dd>

     <p class="para">
      Distance between two consecutive glyphs. If this value is unequal to
      zero then all ligatures will be resolved. Values less than zero are
      allowed.
     </p>
    </dd>

   </dt>

   <dt>

    <span class="term">kerning (parameter)</span>
    <dd>

     <p class="para">
      Setting this parameter to &quot;false&quot; will turn off kerning. Kerning is
      turned on by default.
     </p>
    </dd>

   </dt>

   <dt>

    <span class="term">ligatures (parameter)</span>
    <dd>

     <p class="para">
      Setting this parameter to &quot;false&quot; will turn off the use of ligatures. 
      Ligatures are turned on by default.
     </p>
    </dd>

   </dt>

   <dt>

    <span class="term">underline (parameter)</span>
    <dd>

     <p class="para">
      Setting this parameter to &quot;true&quot; will turn on underlining. Underlining
      is turned off by default.
     </p>
    </dd>

   </dt>

   <dt>

    <span class="term">overline (parameter)</span>
    <dd>

     <p class="para">
      Setting this parameter to &quot;true&quot; will turn on overlining. Overlining is
      turned off by default.
     </p>
    </dd>

   </dt>

   <dt>

    <span class="term">strikeout (parameter)</span>
    <dd>
 
     <p class="para">
      Setting this parameter to &quot;true&quot; will turn on striking out. Striking out
      is turned off by default.
     </p>
    </dd>

   </dt>

  </dl>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.ps-show-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">psdoc</code></em></span>
     <dd>

      <p class="para">
       Resource identifier of the postscript file
       as returned by  <span class="function"><a href="function.ps-new.html" class="function">ps_new()</a></span>.
      </p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">text</code></em></span>
     <dd>

      <p class="para">
       The text to be output.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ps-show-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> on success or <strong><code>FALSE</code></strong> on failure.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ps-show-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.ps-continue-text.html" class="function" rel="rdfs-seeAlso">ps_continue_text()</a> - Continue text in next line</span></li>
    <li class="member"> <span class="function"><a href="function.ps-show-xy.html" class="function" rel="rdfs-seeAlso">ps_show_xy()</a> - Output text at given position</span></li>
    <li class="member"> <span class="function"><a href="function.ps-setfont.html" class="function" rel="rdfs-seeAlso">ps_setfont()</a> - Sets font to use for following output</span></li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ps-show2.html">ps_show2</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ps-string-geometry.html">ps_string_geometry</a></div>
 <div class="up"><a href="ref.ps.html">PS Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>