This commit is contained in:
fofolee
2019-04-28 19:00:34 +08:00
parent a895309fba
commit f782158fb7
4705 changed files with 471929 additions and 471947 deletions

View File

@@ -1,86 +1,86 @@
<!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>释放一个 PostScript Type 1 字体所占用的内存</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.imagepsfreefont" class="refentry">
<div class="refnamediv">
<h1 class="refname">imagepsfreefont</h1>
<p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">imagepsfreefont</span> &mdash; <span class="dc-title">释放一个 PostScript Type 1 字体所占用的内存</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.imagepsfreefont-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>imagepsfreefont</strong></span>
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$font_index</code></span>
) : <span class="type">bool</span></div>
<p class="para rdfs-comment"><span class="function"><strong>imagepsfreefont()</strong></span> 释放一个
PostScript Type 1 字体所占用的内存。
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.imagepsfreefont-parameters">
<h3 class="title">参数</h3>
<p class="para">
<dl>
<dt>
<code class="parameter">font_index</code></dt>
<dd>
<p class="para"> <span class="function"><a href="imagepsloadfont.html" class="function">imagepsloadfont()</a></span> 返回的字体资源。
</p>
</dd>
</dl>
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.imagepsfreefont-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
成功时返回 <strong><code>TRUE</code></strong> 或者在失败时返回 <strong><code>FALSE</code></strong>
</p>
</div>
<div class="refsect1 examples" id="refsect1-function.imagepsfreefont-examples">
<h3 class="title">范例</h3>
<p class="para">
<div class="example" id="example-3729">
<p><strong>Example #1 <span class="function"><strong>imagepsfreefont()</strong></span> 例子</strong></p>
<div class="example-contents">
<div class="phpcode"><pre><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #FF8000">//&nbsp;Load&nbsp;a&nbsp;.pfb&nbsp;font&nbsp;file<br /></span><span style="color: #0000BB">$font&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">imagepsloadfont</span><span style="color: #007700">(</span><span style="color: #DD0000">'./bchbi.pfb'</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;Do&nbsp;any&nbsp;operations&nbsp;with&nbsp;the&nbsp;font&nbsp;here<br /><br />//&nbsp;Free&nbsp;the&nbsp;font&nbsp;from&nbsp;memory<br /></span><span style="color: #0000BB">imagepsfreefont</span><span style="color: #007700">(</span><span style="color: #0000BB">$font</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</pre></div>
</div>
</div>
</p>
</div>
<div class="refsect1 notes" id="refsect1-function.imagepsfreefont-notes">
<h3 class="title">注释</h3>
<blockquote class="note"><p><strong class="note">Note</strong>: <span class="simpara">此函数仅在 PHP
编译时指定了 <strong class="option configure">--with-t1lib[=DIR]</strong>
时可用。</span></p></blockquote>
</div>
<div class="refsect1 seealso" id="refsect1-function.imagepsfreefont-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="imagepsloadfont.html" class="function" rel="rdfs-seeAlso">imagepsloadfont()</a> - 从文件中加载一个 PostScript Type 1 字体</span></li>
</ul>
</p>
</div>
<!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>释放一个 PostScript Type 1 字体所占用的内存</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.imagepsfreefont" class="refentry">
<div class="refnamediv">
<h1 class="refname">imagepsfreefont</h1>
<p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">imagepsfreefont</span> &mdash; <span class="dc-title">释放一个 PostScript Type 1 字体所占用的内存</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.imagepsfreefont-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>imagepsfreefont</strong></span>
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$font_index</code></span>
) : <span class="type">bool</span></div>
<p class="para rdfs-comment"><span class="function"><strong>imagepsfreefont()</strong></span> 释放一个
PostScript Type 1 字体所占用的内存。
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.imagepsfreefont-parameters">
<h3 class="title">参数</h3>
<p class="para">
<dl>
<dt>
<code class="parameter">font_index</code></dt>
<dd>
<p class="para"> <span class="function"><a href="imagepsloadfont.html" class="function">imagepsloadfont()</a></span> 返回的字体资源。
</p>
</dd>
</dl>
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.imagepsfreefont-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
成功时返回 <strong><code>TRUE</code></strong> 或者在失败时返回 <strong><code>FALSE</code></strong>
</p>
</div>
<div class="refsect1 examples" id="refsect1-function.imagepsfreefont-examples">
<h3 class="title">范例</h3>
<p class="para">
<div class="example" id="example-3729">
<p><strong>Example #1 <span class="function"><strong>imagepsfreefont()</strong></span> 例子</strong></p>
<div class="example-contents">
<div class="phpcode"><pre><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #FF8000">//&nbsp;Load&nbsp;a&nbsp;.pfb&nbsp;font&nbsp;file<br /></span><span style="color: #0000BB">$font&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">imagepsloadfont</span><span style="color: #007700">(</span><span style="color: #DD0000">'./bchbi.pfb'</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;Do&nbsp;any&nbsp;operations&nbsp;with&nbsp;the&nbsp;font&nbsp;here<br /><br />//&nbsp;Free&nbsp;the&nbsp;font&nbsp;from&nbsp;memory<br /></span><span style="color: #0000BB">imagepsfreefont</span><span style="color: #007700">(</span><span style="color: #0000BB">$font</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</pre></div>
</div>
</div>
</p>
</div>
<div class="refsect1 notes" id="refsect1-function.imagepsfreefont-notes">
<h3 class="title">注释</h3>
<blockquote class="note"><p><strong class="note">Note</strong>: <span class="simpara">此函数仅在 PHP
编译时指定了 <strong class="option configure">--with-t1lib[=DIR]</strong>
时可用。</span></p></blockquote>
</div>
<div class="refsect1 seealso" id="refsect1-function.imagepsfreefont-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="imagepsloadfont.html" class="function" rel="rdfs-seeAlso">imagepsloadfont()</a> - 从文件中加载一个 PostScript Type 1 字体</span></li>
</ul>
</p>
</div>
</div></div></div></body></html>