[347] | 1 | # TCPDF
|
---|
| 2 | *PHP PDF Library*
|
---|
| 3 |
|
---|
| 4 | [![Donate via PayPal](https://img.shields.io/badge/donate-paypal-87ceeb.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations¤cy_code=GBP&business=paypal@tecnick.com&item_name=donation%20for%20TCPDF%20project)
|
---|
| 5 | *Please consider supporting this project by making a donation via [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations¤cy_code=GBP&business=paypal@tecnick.com&item_name=donation%20for%20TCPDF%20project)*
|
---|
| 6 |
|
---|
| 7 | * **category** Library
|
---|
| 8 | * **author** Nicola Asuni <info@tecnick.com>
|
---|
| 9 | * **copyright** 2002-2020 Nicola Asuni - Tecnick.com LTD
|
---|
| 10 | * **license** http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)
|
---|
| 11 | * **link** http://www.tcpdf.org
|
---|
| 12 | * **source** https://github.com/tecnickcom/TCPDF
|
---|
| 13 |
|
---|
| 14 |
|
---|
| 15 | ## IMPORTANT
|
---|
| 16 | A new version of this library is under development at https://github.com/tecnickcom/tc-lib-pdf and as a consequence this version will not receive any additional development or support.
|
---|
| 17 | This version should be considered obsolete, new projects should use the new version as soon it will become stable.
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 |
|
---|
| 21 | ## Description
|
---|
| 22 |
|
---|
| 23 | PHP library for generating PDF documents on-the-fly.
|
---|
| 24 |
|
---|
| 25 | ### Main Features:
|
---|
| 26 | * no external libraries are required for the basic functions;
|
---|
| 27 | * all standard page formats, custom page formats, custom margins and units of measure;
|
---|
| 28 | * UTF-8 Unicode and Right-To-Left languages;
|
---|
| 29 | * TrueTypeUnicode, OpenTypeUnicode v1, TrueType, OpenType v1, Type1 and CID-0 fonts;
|
---|
| 30 | * font subsetting;
|
---|
| 31 | * methods to publish some XHTML + CSS code, Javascript and Forms;
|
---|
| 32 | * images, graphic (geometric figures) and transformation methods;
|
---|
| 33 | * supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http://www.imagemagick.org/script/formats.php)
|
---|
| 34 | * 1D and 2D barcodes: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extension, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS, Datamatrix, QR-Code, PDF417;
|
---|
| 35 | * JPEG and PNG ICC profiles, Grayscale, RGB, CMYK, Spot Colors and Transparencies;
|
---|
| 36 | * automatic page header and footer management;
|
---|
| 37 | * document encryption up to 256 bit and digital signature certifications;
|
---|
| 38 | * transactions to UNDO commands;
|
---|
| 39 | * PDF annotations, including links, text and file attachments;
|
---|
| 40 | * text rendering modes (fill, stroke and clipping);
|
---|
| 41 | * multiple columns mode;
|
---|
| 42 | * no-write page regions;
|
---|
| 43 | * bookmarks, named destinations and table of content;
|
---|
| 44 | * text hyphenation;
|
---|
| 45 | * text stretching and spacing (tracking);
|
---|
| 46 | * automatic page break, line break and text alignments including justification;
|
---|
| 47 | * automatic page numbering and page groups;
|
---|
| 48 | * move and delete pages;
|
---|
| 49 | * page compression (requires php-zlib extension);
|
---|
| 50 | * XOBject Templates;
|
---|
| 51 | * Layers and object visibility.
|
---|
| 52 | * PDF/A-1b support.
|
---|
| 53 |
|
---|
| 54 | ### Third party fonts:
|
---|
| 55 |
|
---|
| 56 | This library may include third party font files released with different licenses.
|
---|
| 57 |
|
---|
| 58 | All the PHP files on the fonts directory are subject to the general TCPDF license (GNU-LGPLv3),
|
---|
| 59 | they do not contain any binary data but just a description of the general properties of a particular font.
|
---|
| 60 | These files can be also generated on the fly using the font utilities and TCPDF methods.
|
---|
| 61 |
|
---|
| 62 | All the original binary TTF font files have been renamed for compatibility with TCPDF and compressed using the gzcompress PHP function that uses the ZLIB data format (.z files).
|
---|
| 63 |
|
---|
| 64 | The binary files (.z) that begins with the prefix "free" have been extracted from the GNU FreeFont collection (GNU-GPLv3).
|
---|
| 65 | The binary files (.z) that begins with the prefix "pdfa" have been derived from the GNU FreeFont, so they are subject to the same license.
|
---|
| 66 | For the details of Copyright, License and other information, please check the files inside the directory fonts/freefont-20120503
|
---|
| 67 | Link : http://www.gnu.org/software/freefont/
|
---|
| 68 |
|
---|
| 69 | The binary files (.z) that begins with the prefix "dejavu" have been extracted from the DejaVu fonts 2.33 (Bitstream) collection.
|
---|
| 70 | For the details of Copyright, License and other information, please check the files inside the directory fonts/dejavu-fonts-ttf-2.33
|
---|
| 71 | Link : http://dejavu-fonts.org
|
---|
| 72 |
|
---|
| 73 | The binary files (.z) that begins with the prefix "ae" have been extracted from the Arabeyes.org collection (GNU-GPLv2).
|
---|
| 74 | Link : http://projects.arabeyes.org/
|
---|
| 75 |
|
---|
| 76 | ### ICC profile:
|
---|
| 77 |
|
---|
| 78 | TCPDF includes the sRGB.icc profile from the icc-profiles-free Debian package:
|
---|
| 79 | https://packages.debian.org/source/stable/icc-profiles-free
|
---|
| 80 |
|
---|
| 81 |
|
---|
| 82 | ## Developer(s) Contact
|
---|
| 83 |
|
---|
| 84 | * Nicola Asuni <info@tecnick.com>
|
---|