You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
4.7 KiB

  1. # TCPDF
  2. *PHP PDF Library*
  3. [![Donate via PayPal](https://img.shields.io/badge/donate-paypal-87ceeb.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&currency_code=GBP&business=paypal@tecnick.com&item_name=donation%20for%20TCPDF%20project)
  4. *Please consider supporting this project by making a donation via [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&currency_code=GBP&business=paypal@tecnick.com&item_name=donation%20for%20TCPDF%20project)*
  5. * **category** Library
  6. * **author** Nicola Asuni <info@tecnick.com>
  7. * **copyright** 2002-2020 Nicola Asuni - Tecnick.com LTD
  8. * **license** http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)
  9. * **link** http://www.tcpdf.org
  10. * **source** https://github.com/tecnickcom/TCPDF
  11. ## IMPORTANT
  12. 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.
  13. This version should be considered obsolete, new projects should use the new version as soon it will become stable.
  14. ## Description
  15. PHP library for generating PDF documents on-the-fly.
  16. ### Main Features:
  17. * no external libraries are required for the basic functions;
  18. * all standard page formats, custom page formats, custom margins and units of measure;
  19. * UTF-8 Unicode and Right-To-Left languages;
  20. * TrueTypeUnicode, OpenTypeUnicode v1, TrueType, OpenType v1, Type1 and CID-0 fonts;
  21. * font subsetting;
  22. * methods to publish some XHTML + CSS code, Javascript and Forms;
  23. * images, graphic (geometric figures) and transformation methods;
  24. * 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)
  25. * 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;
  26. * JPEG and PNG ICC profiles, Grayscale, RGB, CMYK, Spot Colors and Transparencies;
  27. * automatic page header and footer management;
  28. * document encryption up to 256 bit and digital signature certifications;
  29. * transactions to UNDO commands;
  30. * PDF annotations, including links, text and file attachments;
  31. * text rendering modes (fill, stroke and clipping);
  32. * multiple columns mode;
  33. * no-write page regions;
  34. * bookmarks, named destinations and table of content;
  35. * text hyphenation;
  36. * text stretching and spacing (tracking);
  37. * automatic page break, line break and text alignments including justification;
  38. * automatic page numbering and page groups;
  39. * move and delete pages;
  40. * page compression (requires php-zlib extension);
  41. * XOBject Templates;
  42. * Layers and object visibility.
  43. * PDF/A-1b support.
  44. ### Third party fonts:
  45. This library may include third party font files released with different licenses.
  46. All the PHP files on the fonts directory are subject to the general TCPDF license (GNU-LGPLv3),
  47. they do not contain any binary data but just a description of the general properties of a particular font.
  48. These files can be also generated on the fly using the font utilities and TCPDF methods.
  49. 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).
  50. The binary files (.z) that begins with the prefix "free" have been extracted from the GNU FreeFont collection (GNU-GPLv3).
  51. 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.
  52. For the details of Copyright, License and other information, please check the files inside the directory fonts/freefont-20120503
  53. Link : http://www.gnu.org/software/freefont/
  54. The binary files (.z) that begins with the prefix "dejavu" have been extracted from the DejaVu fonts 2.33 (Bitstream) collection.
  55. For the details of Copyright, License and other information, please check the files inside the directory fonts/dejavu-fonts-ttf-2.33
  56. Link : http://dejavu-fonts.org
  57. The binary files (.z) that begins with the prefix "ae" have been extracted from the Arabeyes.org collection (GNU-GPLv2).
  58. Link : http://projects.arabeyes.org/
  59. ### ICC profile:
  60. TCPDF includes the sRGB.icc profile from the icc-profiles-free Debian package:
  61. https://packages.debian.org/source/stable/icc-profiles-free
  62. ## Developer(s) Contact
  63. * Nicola Asuni <info@tecnick.com>