TCPDF Changelog

What's new in TCPDF 6.0.060

Feb 17, 2014
  • This release fixes two bugs in the TCPDF parser.

New in TCPDF 6.0.059 (Feb 4, 2014)

  • Improved SVG support

New in TCPDF 6.0.058 (Feb 1, 2014)

  • This release includes a new SVG feature.

New in TCPDF 6.0.057 (Jan 27, 2014)

  • This release contains a bug fix in the experimental parser.

New in TCPDF 6.0.056 (Jan 25, 2014)

  • This release includes some bug fixes and new features.

New in TCPDF 6.0.054 (Jan 14, 2014)

  • This version fixes a bug related to text justification and corrupted output.

New in TCPDF 6.0.053 (Jan 3, 2014)

  • This release fixes some bugs related to line height calculation.

New in TCPDF 6.0.052 (Dec 13, 2013)

  • This release fixes a Datamatrix barcode bug.

New in TCPDF 6.0.051 (Dec 3, 2013)

  • This release contains some bugfixes.

New in TCPDF 6.0.049 (Nov 28, 2013)

  • Fixes a multiple image PNG bug.

New in TCPDF 6.0.048 (Nov 25, 2013)

  • This release contains some bogfixes for SVG.

New in TCPDF 6.0.047 (Nov 20, 2013)

  • SVG support has been extended.

New in TCPDF 6.0.046 (Nov 18, 2013)

  • This release includes a bugfix for the experimental parser and a fix for some memory-related performance issues.

New in TCPDF 6.0.044 (Nov 11, 2013)

  • This release contains some bugfixes.

New in TCPDF 6.0.043 (Oct 30, 2013)

  • This release fixes a bug related to the CSS property "display:none".

New in TCPDF 6.0.042 (Oct 26, 2013)

  • A bug related to CMYK mode in HTML was fixed.

New in TCPDF 6.0.041 (Oct 22, 2013)

  • A bug related to PNG images with transparencies was fixed.

New in TCPDF 6.0.040 (Oct 21, 2013)

  • This release contains some bugfixes related to images and SVG.

New in TCPDF 6.0.039 (Oct 14, 2013)

  • This release contains some bugfixes for the TCPDF_PARSER class.

New in TCPDF 6.0.038 (Oct 8, 2013)

  • This release fixes a bug related to HTML lists.

New in TCPDF 6.0.037 (Oct 1, 2013)

  • This release includes new methods and features to print color registration marks.

New in TCPDF 6.0.036 (Sep 30, 2013)

  • This release includes support for registration colors.

New in TCPDF 6.0.033 (Sep 24, 2013)

  • Fixed a bug related to PNG image transparency using the GD library.

New in TCPDF 6.0.032 (Sep 23, 2013)

  • Error handling on parsing images was improved.

New in TCPDF 6.0.031 (Sep 19, 2013)

  • This release includes a bugfix for the experimental PDF parser.

New in TCPDF 6.0.030 (Sep 18, 2013)

  • This releases includes a bugfix for the PDF417 barcode class.

New in TCPDF 6.0.029 (Sep 17, 2013)

  • This release includes an improved PDF parser (still experimental).

New in TCPDF 6.0.025 (Sep 5, 2013)

  • This release contains a minor bugfix for PHP 5.2 and some improvements.

New in TCPDF 6.0.024 (Sep 3, 2013)

  • This release fixes a bug related to empty signature fields.

New in TCPDF 6.0.023 (Aug 6, 2013)

  • This release includes better support for PNG images and updated fonts.

New in TCPDF 6.0.020 (Jun 5, 2013)

  • A bug related to TTF font import was fixed.

New in TCPDF 6.0.018 (May 20, 2013)

  • The barcode examples were changed to automatically search for the barcode class path (in case the examples directory is not installed under the TCPDF root).

New in TCPDF 6.0.017 (May 17, 2013)

  • The PHP logic has been removed from configuration files and the tcpdf_autoconfig.php file has been added to automatically set missing configuration values.

New in TCPDF 6.0.016 (May 16, 2013)

  • The command line tool tcpdf_addfonts.php and configuration files were improved.

New in TCPDF 6.0.015 (May 15, 2013)

  • The structure of the directories has been changed to simplify the software packaging.
  • A new commandline font tool was added.

New in TCPDF 6.0.014 (May 14, 2013)

  • This release includes a new feature which allows linking existing fonts.

New in TCPDF 6.0.013 (May 11, 2013)

  • This release includes minor bugfixes.

New in TCPDF 6.0.012 (Apr 25, 2013)

  • This release includes a minor bugfix.

New in TCPDF 6.0.011 (Apr 23, 2013)

  • This version contains minor documentation changes.

New in TCPDF 6.0.009 (Apr 3, 2013)

  • Some files that were not properly committed in the latest release were added back.

New in TCPDF 6.0.007 (Mar 30, 2013)

  • Font units conversion from HTML/CSS was fixed and improved.

New in TCPDF 6.0.006 (Mar 28, 2013)

  • This release fixes a problem related to the use of EPS or SVG images with XObject templates.

New in TCPDF 6.0.005 (Mar 27, 2013)

  • Minor bugs were fixed.

New in TCPDF 6.0.004 (Mar 22, 2013)

  • The return value of the addTTFfont() method has been fixed.

New in TCPDF 6.0.003 (Mar 21, 2013)

  • This release fixes a bug related to non-unicode mode.

New in TCPDF 6.0.002 (Mar 19, 2013)

  • The _getFIXED call on tcpdf_fonts.php was fixed.

New in TCPDF 6.0.000 (Mar 18, 2013)

  • This is a main release with a lot of refactoring and improvements.
  • Note that PHP4 support was dropped.
  • Several TCPDF class methods were converted to static and moved to other classes.
  • Some files were renamed and the directory structure was changed to include an "include" directory.
  • New examples were added to show how to use the barcode classes to produce standalone 1D and 2D barcodes in several output formats (HTML, SVG, PNG).
  • The TCPDF_PARSER class now works better even if the TCPDF_IMPORT class is still incomplete.

New in TCPDF 5.9.209 (Mar 16, 2013)

  • This release includes minor improvements and code cleanups.

New in TCPDF 5.9.207 (Mar 5, 2013)

  • The Datamatrix class was fixed.

New in TCPDF 5.9.206 (Feb 23, 2013)

  • This release solves a problem related to PNG alpha channel.

New in TCPDF 5.9.205 (Feb 7, 2013)

  • This release includes a bugfix for the PDF417 barcode class.

New in TCPDF 5.9.204 (Jan 31, 2013)

  • This release allows you to link embedded files, named destinations, and internal links on bookmarks.

New in TCPDF 5.9.203 (Jan 23, 2013)

  • This version improves the horizontal positioning of radiobuttons and checkboxes.

New in TCPDF 5.9.202 (Dec 17, 2012)

  • This version fixes a problem related to vertical space after closing a table tag.

New in TCPDF 5.9.201 (Dec 11, 2012)

  • This version always includes the first 256 characters when "font subset" is on.

New in TCPDF 5.9.200 (Dec 6, 2012)

  • This version contains three bugfixes.

New in TCPDF 5.9.199 (Nov 30, 2012)

  • This release contains a minor bug fix related to images.

New in TCPDF 5.9.198 (Nov 20, 2012)

  • A Datamatric barcode class bug has been fixed.

New in TCPDF 5.9.197 (Nov 7, 2012)

  • This release contains a bugfix related to the setHeader() method.

New in TCPDF 5.9.196 (Nov 3, 2012)

  • This release contains some bugfixes.

New in TCPDF 5.9.195 (Oct 26, 2012)

  • Minor improvements.

New in TCPDF 5.9.193 (Sep 26, 2012)

  • This release includes support for named destinations on HTML links.

New in TCPDF 5.9.192 (Sep 25, 2012)

  • This release contains the right files that were not updated on previous releases.

New in TCPDF 5.9.189 (Sep 19, 2012)

  • This release includes a bugfix related to the Image() method.

New in TCPDF 5.9.188 (Sep 17, 2012)

  • This release includes a datamatrix barcode bugfix.

New in TCPDF 5.9.187 (Sep 15, 2012)

  • This release extend the font subset feature to the first 256 characters.

New in TCPDF 5.9.186 (Sep 14, 2012)

  • This release includes some new font features.

New in TCPDF 5.9.184 (Sep 12, 2012)

  • This release includes a fix for EAN barcodes.

New in TCPDF 5.9.182 (Sep 6, 2012)

  • This version fixes a bug which caused an infinite loop in certain conditions.

New in TCPDF 5.9.180 (Aug 23, 2012)

  • This version adds a bugfix related to HTML borders.

New in TCPDF 5.9.172 (Jul 3, 2012)

  • This release fixes a PNG-related problem.

New in TCPDF 5.9.171 (Jul 2, 2012)

  • This version fixes SVG rendering problems.

New in TCPDF 5.9.170 (Jun 28, 2012)

  • This version fixes a problem related to the concurrent use of the same image with different instances of TCPDF.

New in TCPDF 5.9.169 (Jun 26, 2012)

  • This release fixes some SVG rendering problems.

New in TCPDF 5.9.168 (Jun 23, 2012)

  • Thai language functions have been fixed.

New in TCPDF 5.9.165 (Jun 8, 2012)

  • Some HTML form related bugs were fixed.

New in TCPDF 5.9.164 (Jun 7, 2012)

  • A bug introduced on the latest release was fixed.

New in TCPDF 5.9.163 (Jun 6, 2012)

  • This version improves rendering performance of PNG images with alpha channels.

New in TCPDF 5.9.162 (May 12, 2012)

  • Fixed a bug related to long text on TD cells.

New in TCPDF 5.9.157 (Apr 18, 2012)

  • This version fixes some SVG-related bugs.

New in TCPDF 5.9.152 (Mar 24, 2012)

  • This release contains several new features.

New in TCPDF 5.9.151 (Mar 23, 2012)

  • This version adds bugfixes.

New in TCPDF 5.9.149 (Feb 22, 2012)

  • This release fixes an SVG-related bug.

New in TCPDF 5.9.148 (Feb 18, 2012)

  • Fixed a problem with checkboxes.

New in TCPDF 5.9.147 (Feb 15, 2012)

  • A problem with SVG gradients was fixed.

New in TCPDF 5.9.146 (Feb 13, 2012)

  • This release contains a minor bugfix.

New in TCPDF 5.9.143 (Jan 9, 2012)

  • CreatorTool name is now set on XMP data.

New in TCPDF 5.9.142 (Dec 24, 2011)

  • The source code documentation was updated.

New in TCPDF 5.9.141 (Dec 15, 2011)

  • This release includes minor bugfixes.

New in TCPDF 5.9.140 (Dec 14, 2011)

  • This release includes SVG support for embedded images.

New in TCPDF 5.9.139 (Dec 12, 2011)

  • Spot color methods were fixed.

New in TCPDF 5.9.134 (Oct 31, 2011)

  • The default value for $defcol parameter on convertHTMLColorToDec() method was fixed.
  • Deafult HTTP headers were changed to avoid browser caching.
  • Some deprecated syntax were replaced.

New in TCPDF 5.9.133 (Oct 27, 2011)

  • This release fixes some problems related to disk caching mode.

New in TCPDF 5.9.129 (Oct 9, 2011)

  • This release contains several bugfixes and improvements, mainly related to fonts and forms.

New in TCPDF 5.9.122 (Sep 30, 2011)

  • The PDF/A-1b compliance was improved to pass some online testing.

New in TCPDF 5.9.120 (Sep 22, 2011)

  • This release includes a minor bugfix related to font subsetting.

New in TCPDF 5.9.119 (Sep 20, 2011)

  • This release includes a minor bugfix related to TOC page numbering in special cases.

New in TCPDF 5.9.118 (Sep 19, 2011)

  • THis version includes some changes that allows you to add a bookmark for a page that do not exist.

New in TCPDF 5.9.117 (Sep 16, 2011)

  • The TCPDFBarcode and TCPDF2DBarcode classes were extended to include a method for exporting 1D and 2D barcodes as PNG images.

New in TCPDF 5.9.114 (Sep 5, 2011)

  • A bug related to column position was fixed.

New in TCPDF 5.9.107 (Aug 9, 2011)

  • This release includes a minor bugfix.

New in TCPDF 5.9.106 (Aug 5, 2011)

  • This release includes support for transparency groups.

New in TCPDF 5.9.105 (Aug 4, 2011)

  • Bug item #3386153 "Check Box not ticked when set to true" was fixed.

New in TCPDF 5.9.104 (Aug 2, 2011)

  • Bug item #3383698 "imagemagick, resize and dpi" was fixed.

New in TCPDF 5.9.103 (Jul 19, 2011)

  • This release fixes a problem related to XHTML line alignments.

New in TCPDF 5.9.100 (Jun 30, 2011)

  • An SVG bug has been fixed.

New in TCPDF 5.9.098 (Jun 24, 2011)

  • This release fixes a Name Destination feature problem.

New in TCPDF 5.9.096 (Jun 20, 2011)

  • Bug item #3322234 "Surrogate pairs codes in arrUTF8ToUTF16BE" was fixed.

New in TCPDF 5.9.095 (Jun 19, 2011)

  • This release includes a fix for font subsetting.

New in TCPDF 5.9.092 (Jun 16, 2011)

  • Method _putpages() was improved.
  • Bug item #3316678 "Memory overflow when use Rotate and SetAutoPageBreak" was fixed.
  • Right alignment of page numbers was improved.

New in TCPDF 5.9.088 (Jun 1, 2011)

  • Method getAutoPageBreak() was added (see example n. 51).
  • Example n. 51 (full page background) was updated.

New in TCPDF 5.9.087 (Jun 1, 2011)

  • Method sendOutputData() was improved to include deflate encoding.
  • Barcode classes on PHP 4 version were fixed.

New in TCPDF 5.9.086 (Jun 1, 2011)

  • This release includes new font files (the ones on the previous release were broken) and new features.
  • The output is now automatically compressed if possible.
  • The barcode classes now includes new methods to export the barcodes as SVG images.

New in TCPDF 5.9.084 (May 30, 2011)

  • This release fixes a font subsetting bug.

New in TCPDF 5.9.083 (May 27, 2011)

  • Bug item #3308387 "line height & SetCellHeightRatio" was fixed.

New in TCPDF 5.9.082 (May 23, 2011)

  • Bug item #3305592 "Setting fill color text color breaks text clipping" was fixed.

New in TCPDF 5.9.079 (May 16, 2011)

  • Footer() method was changed to use C128 barcode as default (instead of the previous C128B).

New in TCPDF 5.9.078 (May 13, 2011)

  • This release includes some bugfixes.

New in TCPDF 5.9.077 (May 9, 2011)

  • Bug item #3298591 "error code93" was fixed.
  • SetLineStyle() function was improved.

New in TCPDF 5.9.075 (May 3, 2011)

  • This release fixes an HTML header alignment problem.

New in TCPDF 5.9.074 (Apr 29, 2011)

  • This release includes a fix for HTML tables.

New in TCPDF 5.9.073 (Apr 27, 2011)

  • This release includes a fix for HTML entities on table cells.

New in TCPDF 5.9.071 (Apr 21, 2011)

  • This release includes better support for CSS selectors.

New in TCPDF 5.9.068 (Apr 18, 2011)

  • Bookmark, addTOC and addHTMLTOC methods were improved to include font style and color (Examples 15, 49 and 59 were updated).
  • Default $_SERVER['DOCUMENT_ROOT'] value on tcpdf_config.php file was changed.

New in TCPDF 5.9.067 (Apr 11, 2011)

  • Performances were drastically improved (PDF documents are now created more quickly).

New in TCPDF 5.9.062 (Mar 24, 2011)

  • This release contains several bugfixes.

New in TCPDF 5.9.059 (Feb 28, 2011)

  • Default Header() method was improved to reduce document size.

New in TCPDF 5.9.057 (Feb 25, 2011)

  • A problem with image caching system was fixed (thanks to Korneliusz JarzÄ™bski for reporting this problem).

New in TCPDF 5.9.055 (Feb 17, 2011)

  • Another bug related to HTML table page break was fixed.

New in TCPDF 5.9.053 (Feb 16, 2011)

  • Support for HTMl attribute display="none" was added.

New in TCPDF 5.9.049 (Feb 4, 2011)

  • Bug #3170777 "TCPDF creates a new page after a single line in writeHTML" was fixed.

New in TCPDF 5.9.047 (Jan 31, 2011)

  • Bug #3167115 "PDF error in (example 48)" was fixed (was introduced in 5.8.046).

New in TCPDF 5.9.040 (Jan 13, 2011)

  • A bug related to empty pages after table was fixed.

New in TCPDF 5.9.038 (Jan 12, 2011)

  • This release contains a minor bugfix.

New in TCPDF 5.9.032 (Dec 19, 2010)

  • DejaVu and GNU Free fonts were updated.

New in TCPDF 5.9.029 (Dec 4, 2010)

  • The $fitbox parameter on Image() method was extended to specify image alignment inside the box

New in TCPDF 5.9.024 (Dec 1, 2010)

  • This release includes a bugfix for SVG.

New in TCPDF 5.9.023 (Nov 26, 2010)

  • This version includes minor improvements and a source code clean-up.

New in TCPDF 5.9.017 (Nov 17, 2010)

  • This release includes a new method to clean up the HTML code.

New in TCPDF 5.9.014 (Nov 15, 2010)

  • This version includes a bugfix for QR-Code

New in TCPDF 5.8.031 (Sep 21, 2010)

  • Fixed a bug for HTML spaces.

New in TCPDF 5.7.003 (Aug 8, 2010)

  • This release removes the php ending tag from all files.

New in TCPDF 5.7.000 (Aug 4, 2010)

  • Added support for CSS borders.

New in TCPDF 5.6.000 (Aug 1, 2010)

  • This release fixes a bug related to objects IDs.

New in TCPDF 5.5.015 (Jul 30, 2010)

  • Bug fixes and minor improvements.

New in TCPDF 5.5.013 (Jul 15, 2010)

  • Document file names bug fixed.

New in TCPDF 5.5.006 (Jun 29, 2010)

  • getStringHeight() and getNumLines() methods were fixed.

New in TCPDF 5.5.004 (Jun 28, 2010)

  • Fixed a problem related to image borders.

New in TCPDF 5.3.003 (Jun 8, 2010)

  • Bug #3013102 "HTML table header misaligned after page break" was fixed.

New in TCPDF 4.9.001 (Mar 29, 2010)

  • QR Code minor bug was fixed.
  • Multicolumn mode was added (see the new example n. 10).
  • The following methods were added: setEqualColumns(), setColumnsArray(), selectColumn().
  • Thai diacritics support were changed (note that this is incompatible with html justification).

New in TCPDF 4.8.039 (Mar 22, 2010)

  • no external libraries are required for the basic functions;
  • supports all ISO page formats;
  • supports custom page formats, margins and units of measure;
  • supports UTF-8 Unicode and Right-To-Left languages;
  • supports TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts;
  • supports document encryption;
  • includes methods to publish some (x)HTML code;
  • includes graphic (geometric) and transformation methods;
  • includes Javascript and forms support;
  • includes a method to print various barcode formats: 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 Extention, 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;
  • includes methods to set Bookmarks and print a Table of Content;
  • includes a method to move pages;
  • includes methods for automatic page header and footer management;
  • supports automatic page break;
  • supports automatic page numbering and page groups;
  • supports automatic line break and text justification;
  • supports JPEG and PNG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick;
  • supports stroke and clipping mode for text;
  • supports clipping masks;
  • supports Grayscale, RGB, CMYK, Spot Colors and Transparencies;
  • supports several annotations, including links, text and file attachments;
  • supports page compression (requires zlib extension);
  • supports text hyphenation;
  • supports transactions to UNDO commands;
  • supports digital signatures.

New in TCPDF 4.8.037 (Mar 11, 2010)

  • Bug item #2962068 was fixed.
  • Bug item #2967017 "Problems with and pagebreaks" was fixed.
  • Bug item #2967023 "table header lost with pagebreak" was fixed.
  • Bug item #2967032 "Header lost with nested tables" was fixed.

New in TCPDF 4.8.011 (Oct 23, 2009)

  • This version contains an updated version of DejaVu fonts.

New in TCPDF 4.8.010 (Oct 21, 2009)

  • Bookmark for TOC page was added.
  • Signature of addTOC() method is changed.
  • Bookmarks are now automatically sorted by page and Y position.
  • Example n. 45 was updated.
  • Example n. 55 was added to display all charactes available on core fonts.

New in TCPDF 4.8.008 (Sep 29, 2009)

  • Underline and linethrough now works with cell stretching mode.

New in TCPDF 4.8.005 (Sep 18, 2009)

  • A bug relative to graphic transformations was fixed.

New in TCPDF 4.8.003 (Sep 15, 2009)

  • This release contains some critical bugfixes.

New in TCPDF 4.8.001 (Sep 10, 2009)

  • This version includes several fixes for form fields.

New in TCPDF 4.8.000 (Sep 8, 2009)

  • This version includes support for standard PDF Forms and XHTML Forms.

New in TCPDF 4.7.003 (Sep 2, 2009)

  • This version improves support for TCPDF methods on HTML.

New in TCPDF 4.7.001 (Aug 31, 2009)

  • This is a major release that contains some improvements and bugfixes.

New in TCPDF 4.6.029 (Aug 26, 2009)

  • PHP4 version was fixed.

New in TCPDF 4.6.028 (Aug 26, 2009)

  • This version finally supports the document signature using your certification files.

New in TCPDF 4.6.027 (Aug 25, 2009)

  • This version supports unembedded TrueTypeUnicode fonts.

New in TCPDF 4.6.021 (Jul 20, 2009)

  • Bug item #2824015 "XHTML Ampersand & in hyperlink bug" was fixed.
  • Bug item #2824036 "Image as hyperlink in table, text displaced at page break" was fixed.
  • Links alignment on justified text was fixed.
  • Unicode "u" modifier was added to re_spaces variable by default.

New in TCPDF 4.6.020 (Jul 16, 2009)

  • Bug item #2821921 "issue in example 18" was fixed.
  • Signature of SetRTL() method was changed.

New in TCPDF 4.6.019 (Jul 14, 2009)

  • Bug item #2820703 "xref table broken" was fixed.

New in TCPDF 4.6.018 (Jul 13, 2009)

  • Bug item #2819319 "Text over text" was fixed.
  • Method Arrow() was added to print graphic arrows (example 12 was updated).

New in TCPDF 4.6.017 (Jul 6, 2009)

  • Bug item #2816079 "Example 48 not working" was fixed.
  • The signature of the checkPageBreak() was changed. The parameter $addpage was added to turn off the automatic page creation.

New in TCPDF 4.6.016 (Jun 15, 2009)

  • Method setSpacesRE() was added to set the regular expression for detecting withespaces or word separators. If you are using chinese, try: setSpacesRE('/[sp{Z}p{Lo}]/');, otherwise you can use setSpacesRE('/[sp{Z}]/');
  • The method _putinfo() now automatically fills the metadata with '?' in case of empty string.

New in TCPDF 4.6.015 (Jun 11, 2009)

  • Bug #2804667 "word wrap bug" was fixed.

New in TCPDF 4.6.014 (Jun 5, 2009)

  • Bug #2800931 "Table thead tag bug" was fixed.
  • A bug related to < pre > tag was fixed.

New in TCPDF 4.6.013 (May 29, 2009)

  • List bullets position was fixed for RTL languages.

New in TCPDF 4.6.012 (May 25, 2009)

  • setUserRights() method doesn't work anymore unless you call the setSignature() method with the Adobe private key!

New in TCPDF 4.6.011 (May 19, 2009)

  • Signature of the Image() method was changed to include the new $fitbox parameter (see source code documentation).

New in TCPDF 4.6.010 (May 18, 2009)

  • Image() method was improved: now is possible to specify the maximum dimensions for a constraint box defined by $w and $h parameters, and setting the $resize parameter to null.
  • tag indent problem was fixed.
  • $y parameter was added to checkPageBreak() method.
  • Bug n. 2791773 "writeHTML" was fixed.

New in TCPDF 4.6.009 (May 13, 2009)

  • xref table for embedded files was fixed.

New in TCPDF 4.6.008 (May 7, 2009)

  • setSignature() method was improved (but is still experimental).
  • Example n. 52 was added.

New in TCPDF 4.6.007 (May 5, 2009)

  • Bug #2786685 "writeHtmlCell and in custom footer" was fixed.
  • Table header repeating bug was fixed.
  • Some newlines and tabs are now automatically removed from HTML strings.

New in TCPDF 4.6.006 (Apr 28, 2009)

  • Support for "..." was added.
  • By default TCPDF requires PCRE Unicode support turned on but now works also without it (with limited ability to detect some Unicode blank spaces).

New in TCPDF 4.6.005 (Apr 25, 2009)

  • Points (pt) conversion in getHTMLUnitToUnits() was fixed.
  • Default tcpdf.pem certificate file was added.
  • Experimental support for signing document was added but it is not yet completed (some help is needed - I think that the calculation of the ByteRange is OK and the problem is on the signature calculation).

New in TCPDF 4.6.004 (Apr 23, 2009)

  • Method deletePage() was added to delete pages (see example n. 44).

New in TCPDF 4.6.003 (Apr 21, 2009)

  • The caching mechanism of the UTF8StringToArray() method was fixed.

New in TCPDF 4.6.002 (Apr 21, 2009)

  • Documentation of rollbackTransaction() method was fixed.
  • The setImageScale() and getImageScale() methods now set and get the adjusting parameter used by pixelsToUnits() method.
  • HTML images now support other units of measure than pixels (getHTMLUnitToUnits() is now used instead of pixelsToUnits()).
  • WARNING: PDF_IMAGE_SCALE_RATIO has been changed by default to 1.

New in TCPDF 4.6.001 (Apr 17, 2009)

  • Spaces between HTML block tags are now automatically removed.
  • The bug related to cMargin changes between tables was fixed.

New in TCPDF 4.6.000 (Apr 17, 2009)

  • WARNING: THIS VERSION CHANGES THE BEHAVIOUR OF $x and $y parameters for several TCPDF methods:
  • zero coordinates for $x and $y are now valid coordinates;
  • set $x and $y as empty strings to get the current value.
  • Some error caused by 'empty' funtion were fixed.
  • Default color for convertHTMLColorToDec() method was changed to white and the return value for invalid color is false.
  • HTML on footer bug was fixed.
  • The following examples were fixed: 5,7,10,17,19,20,21,33,42,43.

New in TCPDF 4.5.043 (Apr 16, 2009)

  • Barcode class (barcode.php) was extended to include new linear barcode types

New in TCPDF 4.5.042 (Apr 15, 2009)

  • Method Write() was fixed for the strings containing only zero value.
  • Barcode methods were fixed.

New in TCPDF 4.5.040 (Apr 14, 2009)

  • Method Write() was fixed to handle empty strings.

New in TCPDF 4.5.039 (Apr 11, 2009)

  • Support for linear barcodes was extended (see example n. 27 and barcodes.php documentation).

New in TCPDF 4.5.038 (Apr 10, 2009)

  • Write() method was improved to support separators for Japanese, Korean, Chinese Traditional and Chinese Simplified.

New in TCPDF 4.5.036 (Apr 3, 2009)

  • TCPDF methods can be called inside the HTML code (see example n. 49).
  • All tag attributes, such as < p align="center" > must be enclosed within double quotes.

New in TCPDF 4.5.035 (Mar 29, 2009)

  • Bug #2717436 "writeHTML rowspan problem (continued)" was fixed.
  • Bug #2719090 "writeHTML fix follow up" was fixed.
  • The method _putuserrights() was changed to avoid Adobe Reader 9.1 crash. This broken the 'trick' that was used to display forms in Acrobat Reader.

New in TCPDF 4.5.034 (Mar 27, 2009)

  • Bug #2716914 "Bug writeHTML of a table in body and footer related with pb" was fixed.
  • Bug #2717056 ] "writeHTML problem when setting tr style" was fixed.
  • The signature of the Cell() method was changed.

New in TCPDF 4.5.033 (Mar 27, 2009)

  • The support for rowspan/colspan on HTML tables was improved (see example n. 48).

New in TCPDF 4.5.032 (Mar 23, 2009)

  • setPrintFooter(false) bug was fixed.

New in TCPDF 4.5.031 (Mar 20, 2009)

  • Table header support was extended to multiple pages.

New in TCPDF 4.5.030 (Mar 20, 2009)

  • thead tag is now supported on HTML tables (header rows are repeated after page breaks).
  • The startTransaction() was improved to autocommit.
  • List bullets now uses the foreground color (putHtmlListBullet()).

New in TCPDF 4.5.029 (Mar 20, 2009)

  • The following methods were added to UNDO commands (see example 47): startTransaction(), commitTransaction(), rollbackTransaction().
  • All examples were updated.

New in TCPDF 4.5.028 (Mar 18, 2009)

  • Bug #2690945 "List Bugs" was fixed.
  • HTML text alignment on lists was fixed.
  • The constant PDF_FONT_MONOSPACED was added to the configuration file to define the default monospaced font.
  • The following methods were fixed: getPageWidth(), getPageHeight(), getBreakMargin().
  • All examples were updated.

New in TCPDF 4.5.027 (Mar 16, 2009)

  • Method getPageDimensions() was added to get page dimensions.
  • The signature of the following methos were changed: getPageWidth(), getPageHeight(), getBreakMargin().
  • _parsepng() method was fixed for PNG URL images (fread bug).
  • Bug #2681793 affecting URL images with spaces was fixed.

New in TCPDF 4.5.025 (Mar 10, 2009)

  • A small bug affecting hyphenation support was fixed.
  • The method SetDefaultMonospacedFont() was added to define the default monospaced font. 4.5.024 (2009-03-07)
  • The bug #2666493 was fixed "Footer corrupts document".

New in TCPDF 4.5.023 (Mar 6, 2009)

  • The bug #2666688 was fixed "Rowspan in tables".

New in TCPDF 4.5.022 (Mar 5, 2009)

  • The bug #2659676 was fixed "refer to #2157099 test 4 < BR > problem still not fixed".
  • addTOC() function bug was fixed.
  • The following bug was fixed: "function removeSHY corrupts unicode".

New in TCPDF 4.5.020 (Mar 3, 2009)

  • The following bug was fixed: "function removeSHY corrupts unicode".

New in TCPDF 4.5.019 (Feb 28, 2009)

  • The problem of decimal separator using different locale was fixed.
  • The text hyphenation is now supported (see example n. 46).

New in TCPDF 4.5.018 (Feb 26, 2009)

  • The _destroy() method was added to unset all class variables and frees memory.
  • Now it's possible to call Output() method multiple times.

New in TCPDF 4.5.017 (Feb 26, 2009)

  • A minor bug that raises a PHP warning was fixed.

New in TCPDF 4.5.016 (Feb 24, 2009)

  • Bug item #2631200 "getNumLines() counts wrong" was fixed.
  • Multiple attachments bug was fixed.
  • All class variables are now cleared on Output() for memory otpimization.

New in TCPDF 4.5.015 (Feb 18, 2009)

  • Bug item #2612553 "function Write() must not break a line on   character" was fixed.

New in TCPDF 4.5.014 (Feb 13, 2009)

  • Bug item #2595015 "POSTNET Barcode Checksum Error" was fixed (on barcode.php).
  • Pagebreak bug for barcode was fixed.
  • border attribute is now supported on HTML images (only accepts the same values accepted by Cell()).
  • An error on image border feature was fixed.
  • HTML links for images are now supported.
  • height attribute is now supported on HTML cells.
  • $border parameter was added to Image() and ImageEps() methods.
  • The method getNumLines() was added to estimate the number of lines required for the specified text.

New in TCPDF 4.5.010 (Jan 30, 2009)

  • Bug n. 2546108 "BarCode Y position" was fixed. 4.5.009 (2009-01-26)
  • Bug n. 2538094 "Empty pdf file created" was fixed.

New in TCPDF 4.5.008 (Jan 26, 2009)

  • setPage() method was fixed to correctly restore graphic states.
  • Source code was cleaned up for performances.
  • checkPageBreak() and write1DBarcode() methods were fixed.
  • Source code was cleaned up for performances.
  • barcodes.php was updated.
  • getHTMLUnitToPoints() method was replaced by getHTMLUnitToUnits() to fix HTML units bugs.

New in TCPDF 4.5.005 (Jan 23, 2009)

  • Page closing bug was fixed.
  • The access of convertHTMLColorToDec() method was changed to public.
  • Fixed bug on UL tag.

New in TCPDF 4.5.003 (Jan 19, 2009)

  • Fonts on different folders are now supported.

New in TCPDF 4.5.002 (Jan 8, 2009)

  • addTOC() function was improved (see example n. 45).

New in TCPDF 4.5.000 (Jan 3, 2009)

  • A new $diskcache parameter was added to class constructor to enable disk caching and reduce RAM memory usage (see example n. 43).
  • The method movePageTo() was added to move pages to previous positions (see example n. 44).
  • The methods getAliasNumPage() and getPageNumGroupAlias() were added to get the alias for page number (needed when using movepageTo()).
  • The methods addTOC() was added to print a Table Of Content (see example n. 45).
  • Imagick class constant was removed for better compatibility with PHP4.
  • All existing examples were updated and new examples were added.

New in TCPDF 4.4.009 (Dec 29, 2008)

  • Examples 1 and 35 were fixed.

New in TCPDF 4.4.008 (Dec 28, 2008)

  • Bug #2472169 "Unordered bullet size not adjusted for unit type" was fixed.

New in TCPDF 4.4.007 (Dec 23, 2008)

  • Bug #2459935 "no unit conversion for header line" was fixed.
  • Example n. 42 for image alpha channel was added.
  • All examples were updated.

New in TCPDF 4.4.006 (Dec 11, 2008)

  • Method setLIsymbol() was changed to reflect latest changes in HTML list handling.

New in TCPDF 4.4.005 (Dec 10, 2008)

  • Bug item #2413870 "ordered list override value" was fixed.

New in TCPDF 4.4.004 (Dec 10, 2008)

  • The protected method getHTMLUnitToPoints() was added to accept various HTML units of measure (em, ex, px, in, cm, mm, pt, pc, %).
  • The method intToRoman() was added to convert integer number to Roman representation.
  • Support fot HTML lists was improved: the CSS property list-style-type is now supported.

New in TCPDF 4.4.003 (Dec 9, 2008)

  • Bug item #2412147 "Warning on line 3367" was fixed.
  • Method setHtmlLinksStyle() was added to set default HTML link colors and font style.
  • Method addHtmlLink() was changed to use color and style defined on the inline CSS.

New in TCPDF 4.4.002 (Dec 9, 2008)

  • Borders on Multicell() were fixed.
  • Problem of Multicell() on Header function (Bug item #2407579) was fixed.
  • Problem on graphics tranformations applied to Multicell() was fixed.
  • Support for ImageMagick was added.
  • Width calculation for nested tables was fixed.

New in TCPDF 4.4.001 (Dec 8, 2008)

  • Some missing core fonts were added on fonts directory.
  • CID0 fonts rendering was fixed.
  • HTML support was improved (< pre > and < tt > tags are now supported).
  • Bug item #2406022 "Left padding bug in MultiCell with maxh" was fixed.

New in TCPDF 4.4.000 (Dec 8, 2008)

  • File attachments are now supported (see example n. 41).
  • Font functions were optimized to reduce document size.
  • makefont.php was updated.
  • Linux binaries were added on /fonts/utils
  • All fonts were updated.
  • $autopadding parameter was added to Multicell() to disable automatic padding features.
  • $maxh parameter was added to Multicell() and Write() to set a maximum height.

New in TCPDF 4.3.008 (Dec 5, 2008)

  • Bug item #2390566 "rect bug" was fixed.
  • File path was fixed for font embedded files.
  • SetFont() method signature was changed to include the font filename.
  • Some font-related methods were improved.
  • Methods getFontFamily() and getFontStyle() were added.

New in TCPDF 4.3.007 (Dec 4, 2008)

  • PNG alpha channel is now supported (GD library is required).
  • AddFont() function now support custom font file path on $file parameter.
  • The default with variable ($dw) is now always defined for any font.
  • The 'Style' attribute on CID-0 fonts was removed because of protection bug.

New in TCPDF 4.3.006 (Dec 1, 2008)

  • A regular expression on getHtmlDomArray() to find HTML tags was fixed.

New in TCPDF 4.3.005 (Nov 25, 2008)

  • makefont.php was fixed.
  • Bug item #2339877 was fixed (false loop condition detected on WriteHTML()).
  • Bug item #2336733 was fixed (lasth value update on Multicell() when border and fill are disabled).
  • Bug item #2342303 was fixed (automatic page-break on Image() and ImageEPS()).

New in TCPDF 4.3.004 (Nov 19, 2008)

  • Function _textstring() was fixed (bug 2309051).
  • All examples were updated.

New in TCPDF 4.3.003 (Nov 18, 2008)

  • CID-0 font bug was fixed.
  • Some functions were optimized.
  • Function getGroupPageNoFormatted() was added.
  • Example n. 23 was updated.

New in TCPDF 4.3.001 (Nov 17, 2008)

  • Bug item #2300007 "download mimetype pdf" was fixed.
  • Double quotes were replaced by single quotes to improve PHP performances.
  • A bug relative to HTML cell borders was fixed.

New in TCPDF 4.3.000 (Nov 14, 2008)

  • The function setOpenCell() was added to set the top/bottom cell sides to be open or closed when the cell cross the page.
  • A bug relative to list items indentation was fixed.
  • A bug relative to borders on HTML tables and Multicell was fixed.
  • A bug relative to rowspanned cells was fixed.
  • A bug relative to html images across pages was fixed.

New in TCPDF 4.2.009 (Nov 13, 2008)

  • Spaces between li tags are now automatically removed.

New in TCPDF 4.2.008 (Nov 12, 2008)

  • A bug relative to fill color on next page was fixed.

New in TCPDF 4.2.007 (Nov 12, 2008)

  • The function setListIndentWidth() was added to set custom indentation widht for HTML lists.

New in TCPDF 4.2.006 (Nov 6, 2008)

  • A bug relative to HTML justification was fixed.

New in TCPDF 4.2.005 (Nov 6, 2008)

  • This version fixes a bug in HTML justification and introduces two methods to format page numbers.

New in TCPDF 4.2.004 (Nov 4, 2008)

  • Bug item n. 2217039 "filename handling improvement" was fixed.

New in TCPDF 4.2.003 (Oct 31, 2008)

  • Font style bug was fixed.

New in TCPDF 4.2.002 (Oct 31, 2008)

  • Bug item #2210922 (htm element br not work) was fixed.
  • Write() function was improved to support margin changes.

New in TCPDF 4.2.000 (Oct 29, 2008)

  • htmlcolors.php was changed to support class-loaders.
  • ImageEps() function was improved in performances.
  • Signature of Link() And Annotation() functions were changed.
  • (Bug item #2198926) Links and Annotations alignment were fixed (support for geometric tranformations was added).
  • rowspan mode for HTML table cells was improved and fixed.
  • Booklet mode for double-sided pages was added; see SetBooklet() function and example n. 40.
  • lastPage() signature is changed.
  • Signature of Write() function is changed.
  • Some HTML justification problems were fixed.
  • Some functions were fixed to better support RTL mode.
  • Example n. 10 was changed to support RTL mode.
  • All examples were updated.

New in TCPDF 4.1.003 (Oct 22, 2008)

  • Bug item #2185399 was fixed (rowspan and page break).
  • Bugs item #2186040 was fixed (writeHTML margin problem).
  • Newline after table was removed.

New in TCPDF 4.1.002 (Oct 22, 2008)

  • Bug item #2184525 was fixed (rowspan on HTML cell).

New in TCPDF 4.1.001 (Oct 21, 2008)

  • Support for "start" attribute was added to HTML ordered list.
  • unicode_data.php file was changed to include UTF-8 to ASCII table.
  • Some functions were modified to better support UTF-8 extensions to core fonts.
  • Support for images on HTML lists was improved.
  • Examples n. 1 and 6 were updated.

New in TCPDF 4.1.000 (Oct 18, 2008)

  • This version contains several HTML-related improvements, including justification alignment and support for internal links.

New in TCPDF 4.0.033 (Oct 13, 2008)

  • Bug n. 2157099 was fixed.
  • SetX() and SetY() functions were improved.
  • SetY() includes a new parameter to avoid the X reset.

New in TCPDF 4.0.031 (Oct 9, 2008)

  • _putannots() and _putbookmarks() links alignment were fixed.

New in TCPDF 4.0.029 (Oct 7, 2008)

  • An internal links bug was fixed.

New in TCPDF 4.0.029 (Sep 28, 2008)

  • Minor bugfixes.

New in TCPDF 4.0.028 (Sep 26, 2008)

  • setLIsymbol() was added to set the LI symbol used on UL lists.
  • Missing $padding and $encryption_key variables declarations were added [Bug item #2129058].

New in TCPDF 4.0.027 (Sep 19, 2008)

  • Bug #2118588 "Undefined offset in tcpdf.php on line 9581" was fixed.
  • arailunicid0.php font was updated.
  • The problem of javascript form fields duplication after saving was fixed.

New in TCPDF 4.0.026 (Sep 17, 2008)

  • convertHTMLColorToDec() function was improved to support rgb(RR,GG,BB) notation.
  • The following inline CSS attributes are now supported: text-decoration, color, background-color and font-size names: xx-small, x-small, small, medium, large, x-large, xx-large
  • Example n. 6 was updated.

New in TCPDF 4.0.025 (Sep 15, 2008)

  • _putcidfont0 function was improved to include CJK fonts (Chinese, Japanese, Korean, CJK, Asian fonts) without embedding.
  • arialunicid0 font was added (see the new example n. 38).
  • The following Unicode to CID-0 tables were added on fonts folder: uni2cid_ak12.php, uni2cid_aj16.php, uni2cid_ag15.php, uni2cid_ac15.php.

New in TCPDF 4.0.023 (Sep 12, 2008)

  • "stripos" function was replaced with "strpos + strtolower" for backward compatibility with PHP4.
  • support for Spot Colors were added. Check the new example n. 37 and the following new functions: AddSpotColor() SetDrawSpotColor() SetFillSpotColor() SetTextSpotColor() _putspotcolors()
  • Bookmark() function was improved to fix wrong levels.
  • $lasth changes after header/footer calls were fixed.

New in TCPDF 4.0.023 (Sep 7, 2008)

  • Some HTML-related problems were fixed.

New in TCPDF 4.0.022 (Aug 28, 2008)

  • Line height on HTML was fixed.
  • Image inside an HTML cell problem was fixed.
  • A new "zarbold" persian font was added.