1 | <?php include("head.inc"); ?> |
---|
2 | |
---|
3 | <a name="overview"> </a> |
---|
4 | <h2>Overview</h2> |
---|
5 | |
---|
6 | <p>dompdf is an HTML to PDF converter. At its heart, dompdf is (mostly) |
---|
7 | CSS2.1 compliant HTML layout and rendering engine written in PHP. It is |
---|
8 | a style-driven renderer: it will download and read external stylesheets, |
---|
9 | inline style tags, and the style attributes of individual HTML elements. It |
---|
10 | also supports most presentational HTML attributes.</p> |
---|
11 | |
---|
12 | <p>PDF rendering is currently provided either by PDFLib (<a |
---|
13 | href="http://www.pdflib.com">www.pdflib.com</a>) or by a bundled |
---|
14 | version the R&OS CPDF class written by Wayne Munro (<a |
---|
15 | href="http://www.ros.co.nz/pdf/">www.ros.co.nz/pdf</a>). (Some |
---|
16 | performance related changes have been made to the R&OS class, |
---|
17 | however). In order to use PDFLib with dompdf, the PDFLib PECL |
---|
18 | extension is required. Using PDFLib improves performance and reduces |
---|
19 | the memory requirements of dompdf somewhat, while the R&OS CPDF class, |
---|
20 | though slightly slower, eliminates any dependencies on external PDF |
---|
21 | libraries.</p> |
---|
22 | |
---|
23 | <p>dompdf was entered in the <a |
---|
24 | href="http://www.zend.com/php5/contest/contest.php">Zend PHP 5 |
---|
25 | Contest</a> and placed 20th overall.</p> |
---|
26 | |
---|
27 | <p>Please note that dompdf works only with PHP 5. There are no plans for |
---|
28 | a PHP 4 port. If your web host does not offer PHP 4, I suggest either pestering |
---|
29 | them, or setting up your own PHP 5 box and using it to run dompdf. Your scripts |
---|
30 | on your web host can redirect PDF requests to your PHP 5 box.</p> |
---|
31 | |
---|
32 | <?php include("foot.inc"); ?> |
---|