Re: [PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml

2006-03-31 Thread Nuno Lopes
OK, but at least remove the tabs from the files. Our howto 
(http://doc.php.net/php/dochowto/) says to use spaces instead of tabs.
I asked you for the description of the commits because you removed a lot of 
documentation from some files, like:


para
- Adds a circle with center (parameterx/parameter,
- parametery/parameter) and radius parameterr/parameter
- to the current path. The actual drawing of the circle is performed by
- the next stroke or fill operation.
-/para
-para
- return.success;
+ Adds a circle. return.success;

Why did you remove that information about the parameters? Wasn't it accurate 
enough?


Nuno


- Original Message - 

Hi,

sorry, I didn't answer since I don't know what to answer. I worked on more 
than 300 functions in english and german, which I committed in one batch. 
Unfortunately, I'm not able to add individual comments to 300 functions. 
We wanted to reach an up-to-date and consistent state for the PDFlib 
documentation. It was a huge effort and I hope that the result is more 
useful than the previous descriptions.


Katja

Nuno Lopes wrote:


Could you care to answer to my e-mail, please?

Nuno


- Original Message - From: Nuno Lopes [EMAIL PROTECTED]
To: Katja Schnelle Romaus [EMAIL PROTECTED]; phpdoc@lists.php.net
Sent: Sunday, March 19, 2006 7:17 PM
Subject: Re: [PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml



Some thoughs about your recent commits:
* you are using tabs for indenting, which aren't allowed by our standard
* could you please write more usefull cvs logs? you have removed a lot 
of text from several functions. I would like to know what was wrong, or 
why did you remove that text.



Nuno 


Re: [PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml

2006-03-28 Thread Nuno Lopes

Could you care to answer to my e-mail, please?

Nuno


- Original Message - 
From: Nuno Lopes [EMAIL PROTECTED]

To: Katja Schnelle Romaus [EMAIL PROTECTED]; phpdoc@lists.php.net
Sent: Sunday, March 19, 2006 7:17 PM
Subject: Re: [PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml



Some thoughs about your recent commits:
* you are using tabs for indenting, which aren't allowed by our standard
* could you please write more usefull cvs logs? you have removed a lot of 
text from several functions. I would like to know what was wrong, or why 
did you remove that text.



Nuno 


[PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml

2006-03-19 Thread Katja Schnelle Romaus
katja   Sun Mar 19 17:23:57 2006 UTC

  Modified files:  
/phpdoc/en/reference/pdfreference.xml 
  Log:
  PDF doc updated
  http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pdf/reference.xml?r1=1.22r2=1.23diff_format=u
Index: phpdoc/en/reference/pdf/reference.xml
diff -u phpdoc/en/reference/pdf/reference.xml:1.22 
phpdoc/en/reference/pdf/reference.xml:1.23
--- phpdoc/en/reference/pdf/reference.xml:1.22  Mon Feb 20 01:59:10 2006
+++ phpdoc/en/reference/pdf/reference.xml   Sun Mar 19 17:23:56 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.22 $ --
+!-- $Revision: 1.23 $ --
 !-- Purpose: utilspec.nontext --
 !-- Membership: pecl, external --
 
@@ -12,42 +12,48 @@
 reftitle.intro;
 para
  The PDF functions in PHP can create PDF files using the PDFlib
- library created by ulink url=url.pdflib.merz;Thomas Merz/ulink.
+ library which was initially created by Thomas Merz and is now
+ maintained by ulink url=url.pdf;PDFlib GmbH/ulink.
 /para
 para
  The documentation in this section is only meant to be an overview
  of the available functions in the PDFlib library and should not be
  considered an exhaustive reference. For the full and detailed 
- explanation of each function, consult the PDFlib Reference Manual
- which is included in all PDFlib packages distributed by PDFlib GmbH.
+explanation of each function, consult the PDFlib Reference Manual
+which is included in all PDFlib packages distributed by PDFlib GmbH.
  It provides a very good overview of what PDFlib is capable of doing
  and contains the most up-to-date documentation of all functions.
 /para
 para
- All of the functions in PDFlib and the PHP module have identical
- function names and parameters. You will need to understand some
- of the basic concepts of PDF and PostScript to efficiently use
- this extension. All lengths and coordinates are measured in
- PostScript points. There are generally 72 PostScript points to an
- inch, but this depends on the output resolution. Please see the
- PDFlib Reference Manual included in the PDFlib distribution for a more
- thorough explanation of the coordinate system used.
+ For a jump start we urge you to take a look at the programming samples
+ which are contained in all PDFlib distribution packages. These samples
+ demonstrate basic text, vector, and graphics output as well as 
+ higher-level functions, such as the PDF import facility (PDI).
 /para
 para
- With version 6, PDFlib offers an object oriented API for PHP 5 in 
- addition to the function oriented API for PHP 4. The main difference is
+ All of the functions in PDFlib and the PHP module have identical
+ function names and parameters. Unless configured otherwise, all
+ lengths and coordinates are measured in PostScript points. There are
+ generally 72 PostScript points to an inch, but this depends on the 
+ output resolution. Please see the PDFlib Reference Manual
+ included in the PDFlib distribution for a more thorough explanation
+ of the coordinate system used.
+/para
+   para
+ With version 6, PDFlib offers an object-oriented API for PHP 5 in 
+ addition to the function-oriented API for PHP 4. The main difference is
  the following:
-/para   
+   /para   
 para
- In PHP 4, first a PDF resource has to be retrieved 
- with a function call like 
+ In PHP 4, first a PDF resource has to be retrieved with a function call
+ like 
 /para   
 para
  $p = PDF_new().
 /para   
 para
- This PDF resource is used as the first parameter in all further function 
calls, such
- as in
+ This PDF resource is used as the first parameter in all further function
+ calls, such as in
 /para   
 para
  PDF_begin_document($p, , ).
@@ -56,21 +62,21 @@
  In PHP 5 however, a PDFlib object is created with
 /para   
 para
- $p = new PDFlib().
+$p = new PDFlib().
 /para   
 para
  This object offers all PDFlib API functions as methods, e.g. as with
-/para   
+   /para   
 para
  $p-begin_document(, ).
 /para   
 para
  In addition, exceptions have been introduced in PHP 5 which are
  supported by PDFlib 6 and later as well.
-/para   
+   /para   
 para 
  Please see the link linkend=pdf.examplesexamples/link below for
- more information.
+more information.
 /para
 note
  para
@@ -79,20 +85,17 @@
   this related FAQ/link.
  /para
 /note
-note
- para
-  This extension has been moved to ulink url=url.pecl;PECL/ulink as
-  of PHP 4.3.9.
- /para
-/note
/section
 
section id=pdf.requirements
 reftitle.required;
 para
- PDFlib is available for download at ulink
- url=url.pdf;url.pdf;/ulink, 

Re: [PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml

2006-03-19 Thread Nuno Lopes

Some thoughs about your recent commits:
* you are using tabs for indenting, which aren't allowed by our standard
* could you please write more usefull cvs logs? you have removed a lot of 
text from several functions. I would like to know what was wrong, or why did 
you remove that text.



Nuno 


[PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml

2006-02-19 Thread Jean-S�bastien Goupil
jsgoupilMon Feb 20 01:59:10 2006 UTC

  Modified files:  
/phpdoc/en/reference/pdfreference.xml 
  Log:
  fix WS
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pdf/reference.xml?r1=1.21r2=1.22diff_format=u
Index: phpdoc/en/reference/pdf/reference.xml
diff -u phpdoc/en/reference/pdf/reference.xml:1.21 
phpdoc/en/reference/pdf/reference.xml:1.22
--- phpdoc/en/reference/pdf/reference.xml:1.21  Sat Feb 18 21:43:04 2006
+++ phpdoc/en/reference/pdf/reference.xml   Mon Feb 20 01:59:10 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.21 $ --
+!-- $Revision: 1.22 $ --
 !-- Purpose: utilspec.nontext --
 !-- Membership: pecl, external --
 
@@ -18,8 +18,8 @@
  The documentation in this section is only meant to be an overview
  of the available functions in the PDFlib library and should not be
  considered an exhaustive reference. For the full and detailed 
-explanation of each function, consult the PDFlib Reference Manual
-which is included in all PDFlib packages distributed by PDFlib GmbH.
+ explanation of each function, consult the PDFlib Reference Manual
+ which is included in all PDFlib packages distributed by PDFlib GmbH.
  It provides a very good overview of what PDFlib is capable of doing
  and contains the most up-to-date documentation of all functions.
 /para
@@ -31,13 +31,13 @@
  PostScript points. There are generally 72 PostScript points to an
  inch, but this depends on the output resolution. Please see the
  PDFlib Reference Manual included in the PDFlib distribution for a more
-thorough explanation of the coordinate system used.
+ thorough explanation of the coordinate system used.
 /para
-   para
+para
  With version 6, PDFlib offers an object oriented API for PHP 5 in 
  addition to the function oriented API for PHP 4. The main difference is
  the following:
-   /para   
+/para   
 para
  In PHP 4, first a PDF resource has to be retrieved 
  with a function call like 
@@ -56,21 +56,21 @@
  In PHP 5 however, a PDFlib object is created with
 /para   
 para
-$p = new PDFlib().
+ $p = new PDFlib().
 /para   
 para
  This object offers all PDFlib API functions as methods, e.g. as with
-   /para   
+/para   
 para
  $p-begin_document(, ).
 /para   
 para
  In addition, exceptions have been introduced in PHP 5 which are
  supported by PDFlib 6 and later as well.
-   /para   
+/para   
 para 
  Please see the link linkend=pdf.examplesexamples/link below for
-more information.
+ more information.
 /para
 note
  para
@@ -122,12 +122,12 @@
 functions described in the PDFlib Reference Manual (PDFlib V3.0 or higher) 
are
 supported by PHP 4 with exactly the same meaning and the same
 parameters. However, with PDFlib V5.0.4 or higher all parameters
-   have to be specified. For compatibility reasons,
+have to be specified. For compatibility reasons,
 this binding for PDFlib still supports most of the deprecated functions, 
but they
 should be replaced by their new versions. PDFlib GmbH will not
 support any problems arising from the use of these deprecated
 functions. The documentation in this section indicates old functions as
-   Deprecated and gives the replacement function to be used instead. 
+Deprecated and gives the replacement function to be used instead. 
/para
/section
 
@@ -138,8 +138,8 @@
  is probably creating your first PDF document. The following
  example should help to get you started. It is developed for PHP 4 and 
  creates the file filenamehello.pdf/filename with one page.
-It defines some document info field contents, loads the Helvetica-Bold
-font and outputs the text Hello world! (says PHP).
+ It defines some document info field contents, loads the Helvetica-Bold
+ font and outputs the text Hello world! (says PHP).
 /para
 para
  example
@@ -184,13 +184,13 @@
   /programlisting
  /example
 /para
-  
+
 para
  The following example comes with the PDFlib distribution for PHP 5.
-It uses the new exception handling and object encapsulation features
-available in PHP 5. It creates the file filenamehello.pdf/filename 
with one page.
-It defines some document info field contents, loads the Helvetica-Bold
-font and outputs the text Hello world! (says PHP).
+ It uses the new exception handling and object encapsulation features
+ available in PHP 5. It creates the file filenamehello.pdf/filename 
with one page.
+ It defines some document info field contents, loads the Helvetica-Bold
+ font and outputs the text Hello world! (says PHP).
 /para
 para
  example
@@ -233,8 +233,8 @@
 }
 catch (PDFlibException $e) {
 

[PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml

2006-02-18 Thread Katja Schnelle Romaus
katja   Sat Feb 18 21:43:04 2006 UTC

  Modified files:  
/phpdoc/en/reference/pdfreference.xml 
  Log:
  update or add pdf functions
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pdf/reference.xml?r1=1.20r2=1.21diff_format=u
Index: phpdoc/en/reference/pdf/reference.xml
diff -u phpdoc/en/reference/pdf/reference.xml:1.20 
phpdoc/en/reference/pdf/reference.xml:1.21
--- phpdoc/en/reference/pdf/reference.xml:1.20  Mon Dec 12 23:01:59 2005
+++ phpdoc/en/reference/pdf/reference.xml   Sat Feb 18 21:43:04 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.20 $ --
+!-- $Revision: 1.21 $ --
 !-- Purpose: utilspec.nontext --
 !-- Membership: pecl, external --
 
@@ -34,18 +34,39 @@
 thorough explanation of the coordinate system used.
 /para
para
-With version 6, PDFlib offers an object oriented API for PHP 5 in 
-addition to the function oriented API for PHP 4. The main difference is
-the following: In PHP 4, first a PDF resource has to be retrieved 
-with a function call like function$p = PDF_new();/function
-which is used as the first parameter in all further function calls, 
e.g.
-as in functionPDF_begin_document($p, , )/function.
-In PHP 5, a PDFlib object is created with
-function$p = new PDFlib()/function instead. This object offers
-all PDFlib API functions as methods, e.g. as with
-function$p-begin_document(, )/function. 
-In addition, exceptions have been introduced in PHP 5 which are
-supported by PDFlib 6 and later as well.
+ With version 6, PDFlib offers an object oriented API for PHP 5 in 
+ addition to the function oriented API for PHP 4. The main difference is
+ the following:
+   /para   
+para
+ In PHP 4, first a PDF resource has to be retrieved 
+ with a function call like 
+/para   
+para
+ $p = PDF_new().
+/para   
+para
+ This PDF resource is used as the first parameter in all further function 
calls, such
+ as in
+/para   
+para
+ PDF_begin_document($p, , ).
+/para   
+para
+ In PHP 5 however, a PDFlib object is created with
+/para   
+para
+$p = new PDFlib().
+/para   
+para
+ This object offers all PDFlib API functions as methods, e.g. as with
+   /para   
+para
+ $p-begin_document(, ).
+/para   
+para
+ In addition, exceptions have been introduced in PHP 5 which are
+ supported by PDFlib 6 and later as well.
/para   
 para 
  Please see the link linkend=pdf.examplesexamples/link below for


[PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml /en/reference/pdf/functions pdf-set-leading.xml

2005-12-12 Thread Nuno Lopes
nlopess Mon Dec 12 23:01:59 2005 EDT

  Modified files:  
/phpdoc/en/reference/pdfreference.xml 
/phpdoc/en/reference/pdf/functions  pdf-set-leading.xml 
  Log:
  fix build
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pdf/reference.xml?r1=1.19r2=1.20diff_format=u
Index: phpdoc/en/reference/pdf/reference.xml
diff -u phpdoc/en/reference/pdf/reference.xml:1.19 
phpdoc/en/reference/pdf/reference.xml:1.20
--- phpdoc/en/reference/pdf/reference.xml:1.19  Thu Dec  8 13:45:05 2005
+++ phpdoc/en/reference/pdf/reference.xml   Mon Dec 12 23:01:59 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.19 $ --
+!-- $Revision: 1.20 $ --
 !-- Purpose: utilspec.nontext --
 !-- Membership: pecl, external --
 
@@ -87,7 +87,6 @@
/section
 
reference.pdf.configure;
-   reference.pdf.ini;
 
section id=pdf.resources
 reftitle.resources;
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pdf/functions/pdf-set-leading.xml?r1=1.4r2=1.5diff_format=u
Index: phpdoc/en/reference/pdf/functions/pdf-set-leading.xml
diff -u phpdoc/en/reference/pdf/functions/pdf-set-leading.xml:1.4 
phpdoc/en/reference/pdf/functions/pdf-set-leading.xml:1.5
--- phpdoc/en/reference/pdf/functions/pdf-set-leading.xml:1.4   Thu Dec  8 
13:45:02 2005
+++ phpdoc/en/reference/pdf/functions/pdf-set-leading.xml   Mon Dec 12 
23:01:59 2005
@@ -1,5 +1,5 @@
- ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+?xml version=1.0 encoding=iso-8859-1?
+!-- $Revision: 1.5 $ --
 !-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 --
   refentry id=function.pdf-set-leading
refnamediv
@@ -10,8 +10,8 @@
 reftitle.description;
 para
  This function is deprecated since PDFlib version 3, use
-functionpdf_set_value/function with the parameter
-parameterleading/parameter instead.
+ functionpdf_set_value/function with the parameter
+ parameterleading/parameter instead.
 /para
/refsect1
   /refentry


[PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml

2003-07-16 Thread Damien Seguy
damsWed Jul 16 11:07:38 2003 EDT

  Modified files:  
/phpdoc/en/reference/pdfreference.xml 
  Log:
  removed informalexample
  
Index: phpdoc/en/reference/pdf/reference.xml
diff -u phpdoc/en/reference/pdf/reference.xml:1.8 
phpdoc/en/reference/pdf/reference.xml:1.9
--- phpdoc/en/reference/pdf/reference.xml:1.8   Thu May 15 12:28:26 2003
+++ phpdoc/en/reference/pdf/reference.xml   Wed Jul 16 11:07:38 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.8 $ --
+!-- $Revision: 1.9 $ --
  reference id=ref.pdf
   titlePDF functions /title
   titleabbrevPDF/titleabbrev
@@ -290,8 +290,9 @@
   simpara
The script filenamegetpdf.php/filename just returns the pdf document.
   /simpara
-  informalexample
-   programlisting
+  example
+   titleOutputing a precalculated PDF/title
+   programlisting
 ![CDATA[
 ?php
 $len = filesize($filename);
@@ -302,7 +303,7 @@
 ?
 ]]
/programlisting
-  /informalexample
+  /example
  /example
 /para
 para



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml

2003-07-16 Thread Damien Seguy
damsWed Jul 16 11:11:05 2003 EDT

  Modified files:  
/phpdoc/en/reference/pdfreference.xml 
  Log:
  tag mismatch
  
Index: phpdoc/en/reference/pdf/reference.xml
diff -u phpdoc/en/reference/pdf/reference.xml:1.9 
phpdoc/en/reference/pdf/reference.xml:1.10
--- phpdoc/en/reference/pdf/reference.xml:1.9   Wed Jul 16 11:07:38 2003
+++ phpdoc/en/reference/pdf/reference.xml   Wed Jul 16 11:11:05 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.9 $ --
+!-- $Revision: 1.10 $ --
  reference id=ref.pdf
   titlePDF functions /title
   titleabbrevPDF/titleabbrev
@@ -287,12 +287,13 @@
 ?
 ]]
   /programlisting
-  simpara
-   The script filenamegetpdf.php/filename just returns the pdf document.
-  /simpara
-  example
-   titleOutputing a precalculated PDF/title
-   programlisting
+ /example
+ simpara
+  The script filenamegetpdf.php/filename just returns the pdf document.
+ /simpara
+ example
+  titleOutputing a precalculated PDF/title
+ programlisting
 ![CDATA[
 ?php
 $len = filesize($filename);
@@ -302,8 +303,7 @@
 readfile($filename);
 ?
 ]]
-   /programlisting
-  /example
+  /programlisting
  /example
 /para
 para



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml

2003-07-16 Thread Damien Seguy
damsWed Jul 16 11:16:06 2003 EDT

  Modified files:  
/phpdoc/en/reference/pdfreference.xml 
  Log:
  useless tag
  
Index: phpdoc/en/reference/pdf/reference.xml
diff -u phpdoc/en/reference/pdf/reference.xml:1.10 
phpdoc/en/reference/pdf/reference.xml:1.11
--- phpdoc/en/reference/pdf/reference.xml:1.10  Wed Jul 16 11:11:05 2003
+++ phpdoc/en/reference/pdf/reference.xml   Wed Jul 16 11:16:05 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.10 $ --
+!-- $Revision: 1.11 $ --
  reference id=ref.pdf
   titlePDF functions /title
   titleabbrevPDF/titleabbrev
@@ -288,9 +288,9 @@
 ]]
   /programlisting
  /example
- simpara
+
   The script filenamegetpdf.php/filename just returns the pdf document.
- /simpara
+
  example
   titleOutputing a precalculated PDF/title
  programlisting



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml

2003-07-16 Thread Derick Rethans
On Wed, 16 Jul 2003, Damien Seguy wrote:

 dams  Wed Jul 16 11:16:06 2003 EDT
 
   Modified files:  
 /phpdoc/en/reference/pdf  reference.xml 
   Log:
   useless tag

It was not useles, please put it back.

Derick

 Index: phpdoc/en/reference/pdf/reference.xml
 diff -u phpdoc/en/reference/pdf/reference.xml:1.10 
 phpdoc/en/reference/pdf/reference.xml:1.11
 --- phpdoc/en/reference/pdf/reference.xml:1.10Wed Jul 16 11:11:05 2003
 +++ phpdoc/en/reference/pdf/reference.xml Wed Jul 16 11:16:05 2003
 @@ -1,5 +1,5 @@
  ?xml version=1.0 encoding=iso-8859-1?
 -!-- $Revision: 1.10 $ --
 +!-- $Revision: 1.11 $ --
   reference id=ref.pdf
titlePDF functions /title
titleabbrevPDF/titleabbrev
 @@ -288,9 +288,9 @@
  ]]
/programlisting
   /example
 - simpara
 +
The script filenamegetpdf.php/filename just returns the pdf document.
 - /simpara
 +
   example
titleOutputing a precalculated PDF/title
 programlisting
 
 
 
 

-- 
Interpreting what the GPL actually means is a job best left to those
that read the future by examining animal entrails.
-
 Derick Rethans http://derickrethans.nl/ 
 International PHP Magazine  http://php-mag.net/
-


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml

2003-01-17 Thread Philip Olson
philip  Sat Jan 18 02:13:16 2003 EDT

  Modified files:  
/phpdoc/en/reference/pdfreference.xml 
  Log:
  Replace deprecated function from example as per bug #20521
  
  
Index: phpdoc/en/reference/pdf/reference.xml
diff -u phpdoc/en/reference/pdf/reference.xml:1.6 
phpdoc/en/reference/pdf/reference.xml:1.7
--- phpdoc/en/reference/pdf/reference.xml:1.6   Sun Dec  1 12:10:16 2002
+++ phpdoc/en/reference/pdf/reference.xml   Sat Jan 18 02:13:16 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.6 $ --
+!-- $Revision: 1.7 $ --
  reference id=ref.pdf
   titlePDF functions /title
   titleabbrevPDF/titleabbrev
@@ -266,7 +266,8 @@
 pdf_set_info($pdf, Subject, Testing);
 pdf_begin_page($pdf, 595, 842);
 pdf_add_outline($pdf, Page 1);
-pdf_set_font($pdf, Times-Roman, 30, host);
+$font = pdf_findfont($pdf, Times New Roman, winansi, 1);
+pdf_setfont($pdf, $font, 10);
 pdf_set_value($pdf, textrendering, 1);
 pdf_show_xy($pdf, Times Roman outlined, 50, 750);
 pdf_moveto($pdf, 50, 740);



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml

2002-09-17 Thread Erica Douglass

erica   Tue Sep 17 05:58:38 2002 EDT

  Modified files:  
/phpdoc/en/reference/pdfreference.xml 
  Log:
  Corrected grammatical errors. Please note correct usage of its.
  
  
Index: phpdoc/en/reference/pdf/reference.xml
diff -u phpdoc/en/reference/pdf/reference.xml:1.4 
phpdoc/en/reference/pdf/reference.xml:1.5
--- phpdoc/en/reference/pdf/reference.xml:1.4   Fri Aug  9 06:26:09 2002
+++ phpdoc/en/reference/pdf/reference.xml   Tue Sep 17 05:58:38 2002
 -1,5 +1,5 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
  reference id=ref.pdf
   titlePDF functions /title
   titleabbrevPDF/titleabbrev
 -34,7 +34,7 
 /simpara
 simpara 
  Please note that most of the PDF functions require a
- parameterpdf object/parameter as it's first parameter. Please
+ parameterpdf object/parameter as its first parameter. Please
  see the link linkend=pdf.examplesexamples/link below for more
  information.
 /simpara
 -93,7 +93,7 
 supported by PHP 4 with exactly the same meaning and the same
 parameters. Only the return values may differ from the PDFlib
 manual, because the PHP convention of returning
-false; was adopted. For compatibility reasons
+false; was adopted. For compatibility reasons,
 this binding for PDFlib still supports the old functions, but they
 should be replaced by their new versions. PDFlib GmbH will not
 support any problems arising from the use of these deprecated
 -101,7 +101,7 
/simpara
 para
  table
-  titleDeprecated functions and its replacements/title
+  titleDeprecated functions and their replacements/title
   tgroup cols=2
thead
 row
 -259,8 +259,8 
 reftitle.examples;
 simpara
  Most of the functions are fairly easy to use. The most difficult part
- is probably creating a very simple PDF document at all. The following
- example should help to get started. 
+ is probably creating your first PDF document. The following
+ example should help to get you started. 
  It creates filenametest.pdf/filename
  with one page. The page contains the text Times Roman outlined in an
  outlined, 30pt font. The text is also underlined.
 -312,10 +312,10 
 /para
 para
  The PDFlib distribution contains a more complex example which
- creates a page with an analog clock. Here we use the in memory
+ creates a page with an analog clock. Here we use the in-memory
  creation feature of PDFlib to alleviate the need to use temporary
- files. The example, converted to PHP from the PDFlib example, is
- as follows: (The same example is available in the link
+ files. The example was converted to PHP from the PDFlib example.
+ (The same example is available in the link
  linkend=ref.cpdfCLibPDF/link documentation.)
 /para
 para
 -443,7 +443,7 
   available. Please see the link linkend=ref.cpdfClibPDF/link
   section for details. Note that link
   linkend=ref.cpdfClibPDF/link has a slightly different API
-  compared to PDFlib.
+  than PDFlib.
  /para
 /note
/section



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php