cvs: peardoc /en/pecl ps.xml
| From: | Uwe Steinmann | Date: | Fri, 30 Apr 2004 07:47:20 +0000 |
| Subject: | cvs: peardoc /en/pecl ps.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3794@lists.php.net to get a copy of this message | ||
steinm Fri Apr 30 03:47:20 2004 EDT
Modified files:
/peardoc/en/pecl ps.xml
Log:
- fixed some copy and paste errors
- added two more possible value names to ps_set_value()
http://cvs.php.net/diff.php/peardoc/en/pecl/ps.xml?r1=1.7&r2=1.8&ty=u
Index: peardoc/en/pecl/ps.xml
diff -u peardoc/en/pecl/ps.xml:1.7 peardoc/en/pecl/ps.xml:1.8
--- peardoc/en/pecl/ps.xml:1.7 Thu Apr 29 08:36:16 2004
+++ peardoc/en/pecl/ps.xml Fri Apr 30 03:47:20 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- Author: Uwe Steinmann <steinm@php.net> -->
<reference id="pecl.ps">
<title>PostScript document creation</title>
@@ -1905,7 +1905,7 @@
<title>Description</title>
<funcsynopsis>
<funcprototype>
- <funcdef>bool <function>ps_set_test_pos</function></funcdef>
+ <funcdef>bool <function>ps_set_text_pos</function></funcdef>
<paramdef>resource <parameter>psdoc</parameter></paramdef>
<paramdef>float <parameter>x</parameter></paramdef>
<paramdef>float <parameter>y</parameter></paramdef>
@@ -1957,6 +1957,18 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term>textx</term>
+ <listitem>
+ <para>The x coordinate for text output.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>texty</term>
+ <listitem>
+ <para>The y coordinate for text output.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term>wordspacing</term>
<listitem>
<para>The distance between words relativ to the width of a space.
@@ -2410,7 +2422,10 @@
</funcprototype>
</funcsynopsis>
- <para></para>
+ <para>Output the glyph at position <parameter>ord</parameter> in
+ the font encoding vector of the current font. The font encoding for
+ a font can be set when loading the font with
+ <function>ps_findfont</function>.</para>
</refsect1>
<refsect1>
@@ -2425,7 +2440,7 @@
<refnamediv>
<refname>ps_symbol_name</refname>
- <refpurpose>Gets width of a glyph</refpurpose>
+ <refpurpose>Gets name of a glyph</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@@ -2441,7 +2456,7 @@
<para>Returns the name of a glyph in the given font.
This function needs an Adobe font
- metrics file to calculate the precise width. The parameter
+ metrics file to know which glyphs are available. The parameter
<parameter>ord</parameter> is the position of the glyph in the font
encoding vector.</para>