- Bug #857 "Undefined offset error" was fixed.
- The uniord method now uses a static cache to improve performances (thanks to Mathieu Masseboeuf for the sugegstion).
- Two bugs in the TCPDF_FONTS class were fixed.
- Bug #843 "Wrong call in parser" was fixed.
- Bug #844 "Wrong object type named" was fixed.
- Bug #845 "Parsing error on obj ref prefixed by '000000'" was fixed.
- Method getAllSpotColors() was added to return all spot colors.
- Method colorRegistrationBar() was extended to automatically print all spot colors and support individual spot colors.
- The method registrationMarkCMYK() was added to print a registration mark for CMYK colors.
- A bug related to page groups was fixed.
- Gradient() method now supports CMYK equivalents of spot colors.
- Example n. 56 was updated.
- Methods for registration bars and crop marks were extended to support registration color (see example n. 56).
- New default spot colors were added to tcpdf_colors.php, including the 'All' and 'None' special registration colors.
- Bug #836 "Optional EOL marker before endstream" was fixed.
- Some additional controls were added to avoid "division by zero" error with badly formatted input.
- Constants K_TCPDF_PARSER_THROW_EXCEPTION_ERROR and K_TCPDF_PARSER_IGNORE_DECODING_ERRORS where removed in favor of a new configuration array in the TCPDF_PARSER class.
- The TCPDF_PARSER class can now be configured using the new parameter.
- A debug print_r was removed form tcpdf_parser.php.
- TCPDF_FILTERS now throws an exception in case of error.
- TCPDF_PARSER now throws an exception in case of error unless you define the constant K_TCPDF_PARSER_THROW_EXCEPTION_ERROR to false.
- A bug in tcpdf_parser wen parsing hexadecimal strings was fixed.
- A bug in tcpdf_parser wen looking for statxref was fixed.
- A bug on RC4 encryption was fixed.
- The magic constant __DIR__ was replaced with dirname(__FILE__) for php 5.2 compatibility.
- The exceptions raised by file_exists() function were suppressed.
- 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).
- The command line tool tcpdf_addfont.php was improved.
- The php logic was removed from configuration files that now contains only constant defines.
- The tcpdf_autoconfig.php file was added to automatically set missing configuration values.
- Some unused vars were removed from AddFont() method.
- Some directories were moved inside the examples directory.
- All examples were updated to reflect the new default structure.
- Source code were clean-up up to be more compatible with system packaging.
- Files encodings and permissions were reset.
- The command line tool tcpdf_addfont.php was added on the tools directory.
- Add support for SVG dx and dy text/tspan attributes.
- replace require() with require_once().
- fix some minor typos on documentation.
- fix a problem when deleting all pages.
- IMPORTANT: PHP4 support has been removed starting from this version. PHP 5.3 or greater version is required.
- Several TCPDF methods and vars were moved to new class files: tcpdf_static.php, tcpdf_colors.php, tcpdf_images.php, tcpdf_font_data.php, tcpdf_fonts.php.
- Files htmlcolors.php, spotcolors.php, unicode_data.php and ecodings_maps.php were removed.
- Barcode classes were renamed and new barcode examples were added.
- Class TCPDF_PARSER was improved.
- IMPORTANT: PHP4 support has been removed starting from this version. PHP 5.3 or greater version is required.
- Several TCPDF methods and vars were moved to new class files: tcpdf_static.php, tcpdf_colors.php, tcpdf_images.php, tcpdf_font_data.php, tcpdf_fonts.php.
- Files htmlcolors.php, spotcolors.php, unicode_data.php and ecodings_maps.php were removed.
- Barcode classes were renamed and new barcode examples were added.
- Class TCPDF_PARSER was improved.
- The method Bookmark() was extended to include named destinations, URLs, internal links or embedded files (see example n. 15).
- automatic path calculation on configuration file was fixed.
- Error() method was extended to throw new Exception if PHP > 5.
- barcodes.php file was resynced.
- Methods SetAbsX, SetAbsY, SetAbsXY where added to set the absolute pointer coordinates.
- Method getCharBBox were added to get single character bounding box.
- Signature of addTTFfont method was changed ( paramter was added).
- SVG 'use' tag was fixed for 'circle' and 'ellipse' shift problem.
- Alpha status is now correctly stored and restored by getGraphicVars() and SetGraphicVars() methods.
- The problem of wrong filename when downloading PDF from an Android device was fixed.
- The method setHeaderData() was extended to set text and line color for header (see example n. 1).
- The method setFooterData() was added to set text and line color for footer (see example n. 1).
- The methods setTextShadow() and getTextShadow() were added to set text shadows (see example n. 1).
- The GetCharWidth() method was fixed for negative character spacing.
- A 'none' border mode is now correctly recognized.
- Break on hyphen problem was fixed.
- Some additional control wher added on barcode methods.
- The option CURLOPT_FOLLOWLOCATION on Image method is now disabled if PHP safe_mode is on or open_basedir is set.
- Method Bookmark() was extended to include X parameter.
- Method setDestination() was extended to include X parameter.
- A problem with Thai language was fixed.
- Thai language rendering was fixed and improved.
- Method isCharDefined() was improved.
- Protected method replaceChar() was added.
- Font kerning word was corrected to tracking.