cvs: peardoc /en/pecl ps.xml

From: Date: Tue, 27 Apr 2004 07:59:44 +0000
Subject: cvs: peardoc /en/pecl ps.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-3743@lists.php.net to get a copy of this message
steinm Tue Apr 27 03:59:44 2004 EDT Modified files: /peardoc/en/pecl ps.xml Log: - more documentation of ps_findfont() - php 4.3.0 should sufficient for this extension - renamed ps_stringwidth3() to ps_string_geometry() http://cvs.php.net/diff.php/peardoc/en/pecl/ps.xml?r1=1.4&r2=1.5&ty=u Index: peardoc/en/pecl/ps.xml diff -u peardoc/en/pecl/ps.xml:1.4 peardoc/en/pecl/ps.xml:1.5 --- peardoc/en/pecl/ps.xml:1.4 Thu Apr 22 06:01:23 2004 +++ peardoc/en/pecl/ps.xml Tue Apr 27 03:59:43 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- Author: Uwe Steinmann <steinm@php.net> --> <reference id="pecl.ps"> <title>PostScript document creation</title> @@ -98,7 +98,7 @@ <itemizedlist> <listitem> <simpara> - You need at least PHP 5.0.0 and pslib >= 0.1.12 + You need at least PHP 4.3.0 and pslib >= 0.1.12 </simpara> </listitem> <listitem> @@ -902,6 +902,9 @@ list of ligatures derived from the afm file.</para> <para><parameter>encoding</parameter> can be NULL or the empty string if the default encoding (TeXBase1) schall be used.</para> + <para>If the encoding is set to `builtin' then there will be no + reencoding and the font specific encoding will be used. This is + very useful with symbol fonts.</para> </refsect1> <refsect1> @@ -2282,14 +2285,14 @@ <refsect1> <title>See also</title> - <para><function>ps_stringwidth3</function></para> + <para><function>ps_string_geometry</function></para> </refsect1> </refentry> <refentry> <refnamediv> - <refname>ps_stringwidth3</refname> + <refname>ps_string_geometry</refname> <refpurpose>Gets geometry of a string</refpurpose> </refnamediv> @@ -2297,21 +2300,20 @@ <title>Description</title> <funcsynopsis> <funcprototype> - <funcdef>float <function>ps_stringwidth3</function></funcdef> + <funcdef>array <function>ps_string_geometry</function></funcdef> <paramdef>resource <parameter>psdoc</parameter></paramdef> <paramdef>string <parameter>text</parameter></paramdef> <paramdef>int <parameter>fontid</parameter></paramdef> <paramdef>float <parameter>size</parameter></paramdef> - <paramdef>float <parameter>*dimension</parameter></paramdef> </funcprototype> </funcsynopsis> - <para>This function is identical to <function>ps_stringwidth</function> - but has an extra parameter <parameter>dimension</parameter> which, if not - NULL, will be used to return further dimensions of the string.</para> - <para>dimension[0] contains the width as returned by the function. - dimension[1] contains the maximum descender and dimension[2] the maximum - ascender of the string.</para> + <para>This function is similar to <function>ps_stringwidth</function> + but returns an array of dimensions.</para> + <para>The element 'width' contains the width of the string as returned by + <function>ps_stringwidth</function>. + The element 'descender' contains the maximum descender and + 'ascender' the maximum ascender of the string.</para> </refsect1> <refsect1>

« previous php.pear.doc (#3743) next »