mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Some cleanup and closed a para.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@17616 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9861c56baa
commit
ccd17b2add
1 changed files with 15 additions and 13 deletions
|
@ -7,9 +7,9 @@
|
|||
<simpara>
|
||||
You can use the PDF functions in PHP to create PDF files if you
|
||||
have the PDF library by Thomas Merz (available at
|
||||
<ulink url="http://www.pdflib.com/pdflib/index.html">http://www.pdflib.com/pdflib/index.html</ulink>;
|
||||
you will also need <ulink url="ftp://ftp.uu.net/graphics/jpeg/">the JPEG library</ulink>
|
||||
and <ulink url="http://www.libtiff.org/">the TIFF library</ulink> to
|
||||
<ulink url="&url.pdf;">&url.pdf;</ulink>;
|
||||
you will also need <ulink url="&url.jpeg">the JPEG library</ulink>
|
||||
and <ulink url="&url.tiff;">the TIFF library</ulink> to
|
||||
compile this. These two libs also quite often make problems when
|
||||
configuring php. Follow the messages of configure to fix possible
|
||||
problems. If you use pdflib 2.01 check how the lib was installed.
|
||||
|
@ -17,6 +17,8 @@
|
|||
a lib with the name libpdf2.01.so which cannot be found when linking
|
||||
the test programm in configure. You will have to create a symbolic
|
||||
link from libpdf.so to libpdf2.01.so.).
|
||||
</simpara>
|
||||
<simpara>
|
||||
Please consult the excellent documentation for
|
||||
pdflib shipped with the source distribution of pdflib.
|
||||
It provides a very good overview of what pdflib capable of doing.
|
||||
|
@ -26,15 +28,15 @@
|
|||
or Postscript to efficiently use this module.
|
||||
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.</simpara>
|
||||
|
||||
depends on the output resolution.
|
||||
</simpara>
|
||||
<simpara>
|
||||
There is another PHP module for pdf document creation based on
|
||||
<ulink url="http://www.fastio.com">FastIO's</ulink>.
|
||||
<ulink url="&url.cpdf;">FastIO's</ulink>.
|
||||
ClibPDF. It has a slightly different API. Check the
|
||||
<link linkend="ref.cpdf">ClibPDF functions</link> section for
|
||||
details.</simpara>
|
||||
|
||||
details.
|
||||
</simpara>
|
||||
<simpara>
|
||||
Currently all versions of pdflib are supported. It
|
||||
is recommended that you use the newest version since it has more
|
||||
|
@ -42,10 +44,10 @@
|
|||
version. Unfortunately, the changes of the pdflib API in 2.x
|
||||
compared to 0.6 have
|
||||
been so severe that even some PHP functions had to be altered. Here
|
||||
is a list of changes:</simpara>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
is a list of changes:
|
||||
</simpara>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
The Info structure does not exist anymore. Therefore the function
|
||||
<function>pdf_get_info</function> is obsolete and the functions
|
||||
|
@ -2074,7 +2076,7 @@ sgml-always-quote-attributes:t
|
|||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"../manual.ced"
|
||||
sgml-default-dtd-file:"../../manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
|
|
Loading…
Reference in a new issue