1 |
efrain |
1 |
# TCPDF
|
|
|
2 |
*PHP PDF Library*
|
|
|
3 |
|
|
|
4 |
[](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-2023 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 |
## NOTE
|
|
|
16 |
A new version of this library is under development at https://github.com/tecnickcom/tc-lib-pdf and as a consequence this library is in support only mode.
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
## Description
|
|
|
21 |
|
|
|
22 |
PHP library for generating PDF documents on-the-fly.
|
|
|
23 |
|
|
|
24 |
### Main Features:
|
|
|
25 |
* no external libraries are required for the basic functions;
|
|
|
26 |
* all standard page formats, custom page formats, custom margins and units of measure;
|
|
|
27 |
* UTF-8 Unicode and Right-To-Left languages;
|
|
|
28 |
* TrueTypeUnicode, OpenTypeUnicode v1, TrueType, OpenType v1, Type1 and CID-0 fonts;
|
|
|
29 |
* font subsetting;
|
|
|
30 |
* methods to publish some XHTML + CSS code, Javascript and Forms;
|
|
|
31 |
* images, graphic (geometric figures) and transformation methods;
|
|
|
32 |
* 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)
|
|
|
33 |
* 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;
|
|
|
34 |
* JPEG and PNG ICC profiles, Grayscale, RGB, CMYK, Spot Colors and Transparencies;
|
|
|
35 |
* automatic page header and footer management;
|
|
|
36 |
* document encryption up to 256 bit and digital signature certifications;
|
|
|
37 |
* transactions to UNDO commands;
|
|
|
38 |
* PDF annotations, including links, text and file attachments;
|
|
|
39 |
* text rendering modes (fill, stroke and clipping);
|
|
|
40 |
* multiple columns mode;
|
|
|
41 |
* no-write page regions;
|
|
|
42 |
* bookmarks, named destinations and table of content;
|
|
|
43 |
* text hyphenation;
|
|
|
44 |
* text stretching and spacing (tracking);
|
|
|
45 |
* automatic page break, line break and text alignments including justification;
|
|
|
46 |
* automatic page numbering and page groups;
|
|
|
47 |
* move and delete pages;
|
|
|
48 |
* page compression (requires php-zlib extension);
|
|
|
49 |
* XOBject Templates;
|
|
|
50 |
* Layers and object visibility.
|
|
|
51 |
* PDF/A-1b support.
|
|
|
52 |
|
|
|
53 |
### Third party fonts:
|
|
|
54 |
|
|
|
55 |
This library may include third party font files released with different licenses.
|
|
|
56 |
|
|
|
57 |
All the PHP files on the fonts directory are subject to the general TCPDF license (GNU-LGPLv3),
|
|
|
58 |
they do not contain any binary data but just a description of the general properties of a particular font.
|
|
|
59 |
These files can be also generated on the fly using the font utilities and TCPDF methods.
|
|
|
60 |
|
|
|
61 |
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).
|
|
|
62 |
|
|
|
63 |
The binary files (.z) that begins with the prefix "free" have been extracted from the GNU FreeFont collection (GNU-GPLv3).
|
|
|
64 |
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.
|
|
|
65 |
For the details of Copyright, License and other information, please check the files inside the directory fonts/freefont-20120503
|
|
|
66 |
Link : http://www.gnu.org/software/freefont/
|
|
|
67 |
|
|
|
68 |
The binary files (.z) that begins with the prefix "dejavu" have been extracted from the DejaVu fonts 2.33 (Bitstream) collection.
|
|
|
69 |
For the details of Copyright, License and other information, please check the files inside the directory fonts/dejavu-fonts-ttf-2.33
|
|
|
70 |
Link : http://dejavu-fonts.org
|
|
|
71 |
|
|
|
72 |
The binary files (.z) that begins with the prefix "ae" have been extracted from the Arabeyes.org collection (GNU-GPLv2).
|
|
|
73 |
Link : http://projects.arabeyes.org/
|
|
|
74 |
|
|
|
75 |
### ICC profile:
|
|
|
76 |
|
|
|
77 |
TCPDF includes the sRGB.icc profile from the icc-profiles-free Debian package:
|
|
|
78 |
https://packages.debian.org/source/stable/icc-profiles-free
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
## Developer(s) Contact
|
|
|
82 |
|
|
|
83 |
* Nicola Asuni <info@tecnick.com>
|