TCPDF Changelog

New in version 6.0.060

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

New in version 6.0.059 (February 4th, 2014)

  • Improved SVG support

New in version 6.0.058 (February 1st, 2014)

  • This release includes a new SVG feature.

New in version 6.0.057 (January 27th, 2014)

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

New in version 6.0.056 (January 25th, 2014)

  • This release includes some bug fixes and new features.

New in version 6.0.054 (January 14th, 2014)

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

New in version 6.0.053 (January 3rd, 2014)

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

New in version 6.0.052 (December 13th, 2013)

  • This release fixes a Datamatrix barcode bug.

New in version 6.0.051 (December 3rd, 2013)

  • This release contains some bugfixes.

New in version 6.0.049 (November 28th, 2013)

  • Fixes a multiple image PNG bug.

New in version 6.0.048 (November 25th, 2013)

  • This release contains some bogfixes for SVG.

New in version 6.0.047 (November 20th, 2013)

  • SVG support has been extended.

New in version 6.0.046 (November 18th, 2013)

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

New in version 6.0.044 (November 11th, 2013)

  • This release contains some bugfixes.

New in version 6.0.043 (October 30th, 2013)

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

New in version 6.0.042 (October 26th, 2013)

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

New in version 6.0.041 (October 22nd, 2013)

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

New in version 6.0.040 (October 21st, 2013)

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

New in version 6.0.039 (October 14th, 2013)

  • This release contains some bugfixes for the TCPDF_PARSER class.

New in version 6.0.038 (October 8th, 2013)

  • This release fixes a bug related to HTML lists.

New in version 6.0.037 (October 1st, 2013)

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

New in version 6.0.036 (September 30th, 2013)

  • This release includes support for registration colors.

New in version 6.0.033 (September 24th, 2013)

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

New in version 6.0.032 (September 23rd, 2013)

  • Error handling on parsing images was improved.

New in version 6.0.031 (September 19th, 2013)

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

New in version 6.0.030 (September 18th, 2013)

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

New in version 6.0.029 (September 17th, 2013)

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

New in version 6.0.025 (September 5th, 2013)

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

New in version 6.0.024 (September 3rd, 2013)

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

New in version 6.0.023 (August 6th, 2013)

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

New in version 6.0.020 (June 5th, 2013)

  • A bug related to TTF font import was fixed.

New in version 6.0.018 (May 20th, 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 version 6.0.017 (May 17th, 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 version 6.0.016 (May 16th, 2013)

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

New in version 6.0.015 (May 15th, 2013)

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

New in version 6.0.014 (May 14th, 2013)

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

New in version 6.0.013 (May 11th, 2013)

  • This release includes minor bugfixes.

New in version 6.0.012 (April 25th, 2013)

  • This release includes a minor bugfix.

New in version 6.0.011 (April 23rd, 2013)

  • This version contains minor documentation changes.

New in version 6.0.009 (April 3rd, 2013)

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

New in version 6.0.007 (March 30th, 2013)

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

New in version 6.0.006 (March 28th, 2013)

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

New in version 6.0.005 (March 27th, 2013)

  • Minor bugs were fixed.

New in version 6.0.004 (March 22nd, 2013)

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

New in version 6.0.003 (March 21st, 2013)

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

New in version 6.0.002 (March 19th, 2013)

  • The _getFIXED call on tcpdf_fonts.php was fixed.

New in version 6.0.000 (March 18th, 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 version 5.9.209 (March 16th, 2013)

  • This release includes minor improvements and code cleanups.

New in version 5.9.207 (March 5th, 2013)

  • The Datamatrix class was fixed.

New in version 5.9.206 (February 23rd, 2013)

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

New in version 5.9.205 (February 7th, 2013)

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

New in version 5.9.204 (January 31st, 2013)

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

New in version 5.9.203 (January 23rd, 2013)

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

New in version 5.9.202 (December 17th, 2012)

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

New in version 5.9.201 (December 11th, 2012)

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

New in version 5.9.200 (December 6th, 2012)

  • This version contains three bugfixes.

New in version 5.9.199 (November 30th, 2012)

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

New in version 5.9.198 (November 20th, 2012)

  • A Datamatric barcode class bug has been fixed.

New in version 5.9.197 (November 7th, 2012)

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

New in version 5.9.196 (November 3rd, 2012)

  • This release contains some bugfixes.

New in version 5.9.195 (October 26th, 2012)

  • Minor improvements.

New in version 5.9.193 (September 26th, 2012)

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

New in version 5.9.192 (September 25th, 2012)

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

New in version 5.9.189 (September 19th, 2012)

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

New in version 5.9.188 (September 17th, 2012)

  • This release includes a datamatrix barcode bugfix.

New in version 5.9.187 (September 15th, 2012)

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

New in version 5.9.186 (September 14th, 2012)

  • This release includes some new font features.

New in version 5.9.184 (September 12th, 2012)

  • This release includes a fix for EAN barcodes.

New in version 5.9.182 (September 6th, 2012)

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

New in version 5.9.180 (August 23rd, 2012)

  • This version adds a bugfix related to HTML borders.

New in version 5.9.172 (July 3rd, 2012)

  • This release fixes a PNG-related problem.

New in version 5.9.171 (July 2nd, 2012)

  • This version fixes SVG rendering problems.

New in version 5.9.170 (June 28th, 2012)

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

New in version 5.9.169 (June 26th, 2012)

  • This release fixes some SVG rendering problems.

New in version 5.9.168 (June 23rd, 2012)

  • Thai language functions have been fixed.

New in version 5.9.165 (June 8th, 2012)

  • Some HTML form related bugs were fixed.

New in version 5.9.164 (June 7th, 2012)

  • A bug introduced on the latest release was fixed.

New in version 5.9.163 (June 6th, 2012)

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

New in version 5.9.162 (May 12th, 2012)

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

New in version 5.9.157 (April 18th, 2012)

  • This version fixes some SVG-related bugs.

New in version 5.9.152 (March 24th, 2012)

  • This release contains several new features.

New in version 5.9.151 (March 23rd, 2012)

  • This version adds bugfixes.

New in version 5.9.149 (February 22nd, 2012)

  • This release fixes an SVG-related bug.

New in version 5.9.148 (February 18th, 2012)

  • Fixed a problem with checkboxes.

New in version 5.9.147 (February 15th, 2012)

  • A problem with SVG gradients was fixed.

New in version 5.9.146 (February 13th, 2012)

  • This release contains a minor bugfix.

New in version 5.9.143 (January 9th, 2012)

  • CreatorTool name is now set on XMP data.

New in version 5.9.142 (December 24th, 2011)

  • The source code documentation was updated.

New in version 5.9.141 (December 15th, 2011)

  • This release includes minor bugfixes.

New in version 5.9.140 (December 14th, 2011)

  • This release includes SVG support for embedded images.

New in version 5.9.139 (December 12th, 2011)

  • Spot color methods were fixed.

New in version 5.9.134 (October 31st, 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 version 5.9.133 (October 27th, 2011)

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

New in version 5.9.129 (October 9th, 2011)

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

New in version 5.9.122 (September 30th, 2011)

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

New in version 5.9.120 (September 22nd, 2011)

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

New in version 5.9.119 (September 20th, 2011)

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

New in version 5.9.118 (September 19th, 2011)

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

New in version 5.9.117 (September 16th, 2011)

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

New in version 5.9.114 (September 5th, 2011)

  • A bug related to column position was fixed.

New in version 5.9.107 (August 9th, 2011)

  • This release includes a minor bugfix.

New in version 5.9.106 (August 5th, 2011)

  • This release includes support for transparency groups.

New in version 5.9.105 (August 4th, 2011)

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

New in version 5.9.104 (August 2nd, 2011)

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

New in version 5.9.103 (July 19th, 2011)

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

New in version 5.9.100 (June 30th, 2011)

  • An SVG bug has been fixed.

New in version 5.9.098 (June 24th, 2011)

  • This release fixes a Name Destination feature problem.

New in version 5.9.096 (June 20th, 2011)

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

New in version 5.9.095 (June 19th, 2011)

  • This release includes a fix for font subsetting.

New in version 5.9.092 (June 16th, 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 version 5.9.088 (June 1st, 2011)

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

New in version 5.9.087 (June 1st, 2011)

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

New in version 5.9.086 (June 1st, 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 version 5.9.084 (May 30th, 2011)

  • This release fixes a font subsetting bug.

New in version 5.9.083 (May 27th, 2011)

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

New in version 5.9.082 (May 23rd, 2011)

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

New in version 5.9.079 (May 16th, 2011)

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

New in version 5.9.078 (May 13th, 2011)

  • This release includes some bugfixes.

New in version 5.9.077 (May 9th, 2011)

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

New in version 5.9.075 (May 3rd, 2011)

  • This release fixes an HTML header alignment problem.

New in version 5.9.074 (April 29th, 2011)

  • This release includes a fix for HTML tables.

New in version 5.9.073 (April 27th, 2011)

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

New in version 5.9.071 (April 21st, 2011)

  • This release includes better support for CSS selectors.

New in version 5.9.068 (April 18th, 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 version 5.9.067 (April 11th, 2011)

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

New in version 5.9.062 (March 24th, 2011)

  • This release contains several bugfixes.

New in version 5.9.059 (February 28th, 2011)

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

New in version 5.9.057 (February 25th, 2011)

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

New in version 5.9.055 (February 17th, 2011)

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

New in version 5.9.053 (February 16th, 2011)

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

New in version 5.9.049 (February 4th, 2011)

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

New in version 5.9.047 (January 31st, 2011)

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

New in version 5.9.040 (January 13th, 2011)

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

New in version 5.9.038 (January 12th, 2011)

  • This release contains a minor bugfix.

New in version 5.9.032 (December 19th, 2010)

  • DejaVu and GNU Free fonts were updated.

New in version 5.9.029 (December 4th, 2010)

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

New in version 5.9.024 (December 1st, 2010)

  • This release includes a bugfix for SVG.

New in version 5.9.023 (November 26th, 2010)

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

New in version 5.9.017 (November 17th, 2010)

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

New in version 5.9.014 (November 15th, 2010)

  • This version includes a bugfix for QR-Code

New in version 5.8.031 (September 21st, 2010)

  • Fixed a bug for HTML spaces.

New in version 5.7.003 (August 8th, 2010)

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

New in version 5.7.000 (August 4th, 2010)

  • Added support for CSS borders.

New in version 5.6.000 (August 1st, 2010)

  • This release fixes a bug related to objects IDs.

New in version 5.5.015 (July 30th, 2010)

  • Bug fixes and minor improvements.

New in version 5.5.013 (July 15th, 2010)

  • Document file names bug fixed.

New in version 5.5.006 (June 29th, 2010)

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

New in version 5.5.004 (June 28th, 2010)

  • Fixed a problem related to image borders.

New in version 5.3.003 (June 8th, 2010)

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

New in version 4.9.001 (March 29th, 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 version 4.8.039 (March 22nd, 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 version 4.8.037 (March 11th, 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 version 4.8.011 (October 23rd, 2009)

  • This version contains an updated version of DejaVu fonts.

New in version 4.8.010 (October 21st, 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 version 4.8.008 (September 29th, 2009)

  • Underline and linethrough now works with cell stretching mode.

New in version 4.8.005 (September 18th, 2009)

  • A bug relative to graphic transformations was fixed.

New in version 4.8.003 (September 15th, 2009)

  • This release contains some critical bugfixes.

New in version 4.8.001 (September 10th, 2009)

  • This version includes several fixes for form fields.

New in version 4.8.000 (September 8th, 2009)

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

New in version 4.7.003 (September 2nd, 2009)

  • This version improves support for TCPDF methods on HTML.

New in version 4.7.001 (August 31st, 2009)

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

New in version 4.6.029 (August 26th, 2009)

  • PHP4 version was fixed.

New in version 4.6.028 (August 26th, 2009)

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

New in version 4.6.027 (August 25th, 2009)

  • This version supports unembedded TrueTypeUnicode fonts.

New in version 4.6.021 (July 20th, 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 version 4.6.020 (July 16th, 2009)

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

New in version 4.6.019 (July 14th, 2009)

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

New in version 4.6.018 (July 13th, 2009)

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

New in version 4.6.017 (July 6th, 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 version 4.6.016 (June 15th, 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 version 4.6.015 (June 11th, 2009)

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

New in version 4.6.014 (June 5th, 2009)

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

New in version 4.6.013 (May 29th, 2009)

  • List bullets position was fixed for RTL languages.

New in version 4.6.012 (May 25th, 2009)

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

New in version 4.6.011 (May 19th, 2009)

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

New in version 4.6.010 (May 18th, 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 version 4.6.009 (May 13th, 2009)

  • xref table for embedded files was fixed.

New in version 4.6.008 (May 7th, 2009)

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

New in version 4.6.007 (May 5th, 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 version 4.6.006 (April 28th, 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 version 4.6.005 (April 25th, 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 version 4.6.004 (April 23rd, 2009)

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

New in version 4.6.003 (April 21st, 2009)

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

New in version 4.6.002 (April 21st, 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 version 4.6.001 (April 17th, 2009)

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

New in version 4.6.000 (April 17th, 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 version 4.5.043 (April 16th, 2009)

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

New in version 4.5.042 (April 15th, 2009)

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

New in version 4.5.040 (April 14th, 2009)

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

New in version 4.5.039 (April 11th, 2009)

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

New in version 4.5.038 (April 10th, 2009)

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

New in version 4.5.036 (April 3rd, 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 version 4.5.035 (March 29th, 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 version 4.5.034 (March 27th, 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 version 4.5.033 (March 27th, 2009)

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

New in version 4.5.032 (March 23rd, 2009)

  • setPrintFooter(false) bug was fixed.

New in version 4.5.031 (March 20th, 2009)

  • Table header support was extended to multiple pages.

New in version 4.5.030 (March 20th, 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 version 4.5.029 (March 20th, 2009)

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

New in version 4.5.028 (March 18th, 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 version 4.5.027 (March 16th, 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 version 4.5.025 (March 10th, 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 version 4.5.023 (March 6th, 2009)

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

New in version 4.5.022 (March 5th, 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 version 4.5.020 (March 3rd, 2009)

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

New in version 4.5.019 (February 28th, 2009)

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

New in version 4.5.018 (February 26th, 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 version 4.5.017 (February 26th, 2009)

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

New in version 4.5.016 (February 24th, 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 version 4.5.015 (February 18th, 2009)

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

New in version 4.5.014 (February 13th, 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 version 4.5.010 (January 30th, 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 version 4.5.008 (January 26th, 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 version 4.5.005 (January 23rd, 2009)

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

New in version 4.5.003 (January 19th, 2009)

  • Fonts on different folders are now supported.

New in version 4.5.002 (January 8th, 2009)

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

New in version 4.5.000 (January 3rd, 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 version 4.4.009 (December 29th, 2008)

  • Examples 1 and 35 were fixed.

New in version 4.4.008 (December 28th, 2008)

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

New in version 4.4.007 (December 23rd, 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 version 4.4.006 (December 11th, 2008)

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

New in version 4.4.005 (December 10th, 2008)

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

New in version 4.4.004 (December 10th, 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 version 4.4.003 (December 9th, 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 version 4.4.002 (December 9th, 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 version 4.4.001 (December 8th, 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 version 4.4.000 (December 8th, 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 version 4.3.008 (December 5th, 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 version 4.3.007 (December 4th, 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 version 4.3.006 (December 1st, 2008)

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

New in version 4.3.005 (November 25th, 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 version 4.3.004 (November 19th, 2008)

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

New in version 4.3.003 (November 18th, 2008)

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

New in version 4.3.001 (November 17th, 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 version 4.3.000 (November 14th, 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 version 4.2.009 (November 13th, 2008)

  • Spaces between li tags are now automatically removed.

New in version 4.2.008 (November 12th, 2008)

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

New in version 4.2.007 (November 12th, 2008)

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

New in version 4.2.006 (November 6th, 2008)

  • A bug relative to HTML justification was fixed.

New in version 4.2.005 (November 6th, 2008)

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

New in version 4.2.004 (November 4th, 2008)

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

New in version 4.2.003 (October 31st, 2008)

  • Font style bug was fixed.

New in version 4.2.002 (October 31st, 2008)

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

New in version 4.2.000 (October 29th, 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 version 4.1.003 (October 22nd, 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 version 4.1.002 (October 22nd, 2008)

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

New in version 4.1.001 (October 21st, 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 version 4.1.000 (October 18th, 2008)

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

New in version 4.0.033 (October 13th, 2008)

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

New in version 4.0.031 (October 9th, 2008)

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

New in version 4.0.029 (October 7th, 2008)

  • An internal links bug was fixed.

New in version 4.0.029 (September 28th, 2008)

  • Minor bugfixes.

New in version 4.0.028 (September 26th, 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 version 4.0.027 (September 19th, 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 version 4.0.026 (September 17th, 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 version 4.0.025 (September 15th, 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 version 4.0.023 (September 12th, 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 version 4.0.023 (September 7th, 2008)

  • Some HTML-related problems were fixed.

New in version 4.0.022 (August 28th, 2008)

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