<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.ps.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'function.ps-symbol-name.php',
    1 => 'ps_symbol_name',
    2 => 'Gets name of a glyph',
  ),
  'up' => 
  array (
    0 => 'ref.ps.php',
    1 => 'PS 函数',
  ),
  'prev' => 
  array (
    0 => 'function.ps-symbol.php',
    1 => 'ps_symbol',
  ),
  'next' => 
  array (
    0 => 'function.ps-symbol-width.php',
    1 => 'ps_symbol_width',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/ps/functions/ps-symbol-name.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.ps-symbol-name" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ps_symbol_name</h1>
  <p class="verinfo">(PECL ps &gt;= 1.2.0)</p><p class="refpurpose"><span class="refname">ps_symbol_name</span> &mdash; <span class="dc-title">Gets name of a glyph</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ps-symbol-name-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ps_symbol_name</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$psdoc</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$ord</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$fontid</code><span class="initializer"> = 0</span></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="para rdfs-comment">
   This function needs an Adobe font metrics file to know which glyphs are
   available.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ps-symbol-name-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">psdoc</code></dt>
     <dd>
      <p class="para">
       Resource identifier of the postscript file
       as returned by <span class="function"><a href="function.ps-new.php" class="function">ps_new()</a></span>.
      </p>
     </dd>
    
    
     <dt><code class="parameter">ord</code></dt>
     <dd>
      <p class="para">
       The parameter <code class="parameter">ord</code> is the position of the glyph
       in the font encoding vector.
      </p>
     </dd>
    
    
     <dt><code class="parameter">fontid</code></dt>
     <dd>
      <p class="para">
       The identifier of the font to be used. If not font is specified
       the current font will be used.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ps-symbol-name-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   The name of a glyph in the given font.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ps-symbol-name-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.ps-symbol.php" class="function" rel="rdfs-seeAlso">ps_symbol()</a> - Output a glyph</span></li>
    <li><span class="function"><a href="function.ps-symbol-width.php" class="function" rel="rdfs-seeAlso">ps_symbol_width()</a> - Gets width of a glyph</span></li>
   </ul>
  </p>
 </div>

</div><?php manual_footer($setup); ?>