- 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.
- 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.
- 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.