[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
1 6.0.093 (2014-09-02) 2 - Security fix: some serialize/unserialize methods were replaced with json_encode/json_decode to avoid a potential object injection with user supplied content. Thanks to ownCloud Inc. for reporting this issue. 3 - K_TIMEZONE constant was added to the default configuration to supress date-time warnings. 4 5 6.0.092 (2014-09-01) 6 - Bug item #956 "Monospaced fonts are not alignd at the baseline" was fixed. 7 - Bug item #964 "Problem when changing font size" was fixed. 8 - Bug item #969 "ImageSVG with radialGradient problem" was fixed. 9 - sRGB.icc file was replaced with the one from the Debian package icc-profiles-free (2.0.1+dfsg-1) 10 11 6.0.091 (2014-08-13) 12 - Issue #325"Division by zero when css fontsize equals 0" was fixed. 13 14 6.0.090 (2014-08-08) 15 - Starting from this version TCPDF is also available in GitHub at https://github.com/tecnickcom/TCPDF 16 - Function getmypid() was removed for better compatibility with shared hosting environments. 17 - Support for pulling SVG stroke opacity value from RGBa color was mergeg [adf006]. 18 - Bug item #951 "HTML Table within TCPDF columns doesnt flow correctly on page break ..." was fixed. 19 20 6.0.089 (2014-07-16) 21 - Bug item #948 "bottom line of rowspan cell not work correctly" was fixed. 22 23 6.0.088 (2014-07-09) 24 - Bug item #946 "Case sensitive type check causes broken match for SVG" was fixed. 25 - Bug item #945 "Imagick load doesn't account for passed data string " was fixed. 26 27 6.0.087 (2014-06-25) 28 - A bug affecting fitcell option in Multicell was fixed. 29 30 6.0.086 (2014-06-20) 31 - Bug item #938 "Hyphenation-dash extends outside of cell" was fixed (collateral effect). 32 33 6.0.085 (2014-06-19) 34 - Some example images were replaced. 35 - A race condition bug was fixed. 36 - Bug item #938 "Hyphenation-dash extends outside of cell" was fixed. 37 38 6.0.084 (2014-06-13) 39 - A bug related to MultiCell fitcell feature was fixed. 40 - Bug item #931 "Documentation error for setPageFormat()" was fixed. 41 42 6.0.083 (2014-05-29) 43 - Bug item #928 "setHtmlVSpace with HR element" was fixed. 44 45 6.0.082 (2014-05-23) 46 - Bug item #926 "test statement instead of assignment used in tcpdf_fonts.php" was fixed. 47 - Bug item #925 "924 transparent images bug" was fixed. 48 49 6.0.081 (2014-05-22) 50 - Bug item #922 "writehtml tables thead repeating" was fixed. 51 - Patch #71 "External and internal links, local and remote" wa applied. 52 53 6.0.080 (2014-05-20) 54 - Bug item #921 "Fatal error in hyphenateText() function" was fixed. 55 - Bug item #923 "Automatic Hyphenation error" was fixed. 56 - Patch #70 "Augument TCPDFBarcode classes with ability to return raw png image data" was applied. 57 58 6.0.079 (2014-05-19) 59 - Patch item #69 "Named destinations, HTML internal and external links" was merged. 60 - Bug item #920 "hyphenateText() should not hyphenate the content of style-tags in HTML mode" was fixed. 61 - Image method now trigs an error in case the cache is now writeable. 62 - Fixed issue with layer default status. 63 64 6.0.078 (2014-05-12) 65 - A warning issue in addTTFfont() method was fixed. 66 - Fonts were updated to include cbbox metrics. 67 68 6.0.077 (2014-05-06) 69 - A Datamatrix barcode bug was fixed. 70 71 6.0.076 (2014-05-06) 72 - A bug in Datamatrix Base256 encoding was fixed. 73 - Merged fix for SVG use/clip-gradient. 74 - Now it is possible to prefix a page number in Link methods with the * character to avoid been changed when adding/deleting/moving pages (see example_045.php). 75 76 6.0.075 (2014-05-05) 77 - Bug #917 "Using realtive Units like ex or em for images distort output in HTML mode" was fixed. 78 79 6.0.074 (2014-05-03) 80 - Part of Bug #917 "Using realtive Units like ex or em for images distort output in HTML mode" was fixed. 81 - Bug #915 "Problem with SVG Image using Radial Gradients" was fixed. 82 83 6.0.073 (2014-04-29) 84 - Bug #913 "Possible bug with line-height" was fixed. 85 - Bug #914 "MultiCell and FitCell" was fixed. 86 - Bug #915 "Problem with SVG Image using Radial Gradients" was fixed. 87 88 6.0.072 (2014-04-27) 89 - Deprecated curly braces substring syntax was replaced with square braces. 90 91 6.0.071 (2014-04-25) 92 - Bug #911 "error with buffered png pics" was fixed. 93 94 6.0.070 (2014-04-24) 95 - Bug #910 "An SVG image is being cut off (with clipping mask) when you use align options" was fixed. 96 97 6.0.069 (2014-04-24) 98 - Datamatrix Base256 encoding was fixed. 99 100 6.0.068 (2014-04-22) 101 - Some Datamatrix barcode bugs were fixed. 102 103 6.0.067 (2014-04-21) 104 - startLayer() method signature was changed to include a new "lock" parameter. 105 106 6.0.066 (2014-04-20) 107 - Bug #908 "Linebreak is not considered when getting length of the next string" was fixed. 108 109 6.0.065 (2014-04-10) 110 - Bug #905 "RGB percentage color bug in convertHTMLColorToDec()" was fixed. 111 112 6.0.064 (2014-04-07) 113 - Header and Footer fonts are now set by default. 114 - Bug #904 "PDF corrupted" was fixed. 115 116 6.0.063 (2014-04-03) 117 - Method TCPDF_IMAGES::_parsepng() was fixed to support transparency in Indexed images. 118 119 6.0.062 (2014-03-02) 120 - The method startLayer() now accepts the NULL value for the $print parameter to not set the print layer option. 121 122 6.0.061 (2014-02-18) 123 - Bug #893 "Parsing error on streamed xref for secured pdf" was fixed. 124 125 6.0.060 (2014-02-16) 126 - Bug #891 "Error on parsing hexa fields" was fixed. 127 - Bug #892 "Parsing pdf with trailing space at start" was fixed. 128 129 6.0.059 (2014-02-03) 130 - SVG 'use' support was imporved. 131 132 6.0.058 (2014-01-31) 133 - Bug #886 "Bugs with SVG using <defs> and <use>" was fixed. 134 135 6.0.057 (2014-01-26) 136 - Bug #883 "Parsing error" was fixed. 137 138 6.0.056 (2014-01-25) 139 - The automatic cache folder selection now works also with some restricted hosting environments. 140 - CSS text-transform property is now supported (requires the multibyte string library for php) - see examle n. 061 (Thanks to Walter Ferraz). 141 - Bug #884 "Parsing error prev tag looking for" was fixed. 142 143 6.0.055 (2014-01-15) 144 - Bug #880 "Error detecting hX tags (h1,h2..)" was fixed 145 - Bug #879 "Thead on the second page inherits style of previous tr" was fixed 146 147 6.0.054 (2014-01-13) 148 - Bug #877 "Parenteses causing corrupt text" was fixed. 149 150 6.0.053 (2014-01-03) 151 - Bug #876 "Cell padding should not be multiplied with number of lines in getStringHeight" was fixed. 152 - Patch #68 "Empty img src attribute leads to access of uninitialized string offset" was applied. 153 154 6.0.052 (2013-12-12) 155 - Bug #871 "Datamatrix coding" was fixed. 156 157 6.0.051 (2013-12-02) 158 - cbbox array values in addTTFfont() were converted to integers. 159 160 6.0.050 (2013-12-01) 161 - The method getNumLines() was extended to support hyphenation. 162 - The CSS property line-height now supports non percentage values. 163 164 6.0.050 (2013-11-27) 165 - A bug related to PNG images was fixed. 166 167 6.0.048 (2013-11-24) 168 - SVG vars are now reset in ImageSVG() method. 169 170 6.0.047 (2013-11-19) 171 - SVG support was extended to support some nested defs. 172 173 6.0.046 (2013-11-17) 174 - preg_replace_callback functions were replaced to improve memory performances. 175 176 6.0.045 (2013-11-17) 177 - Bug #862 "Parsing error on flate filter" was fixed. 178 179 6.0.044 (2013-11-10) 180 - Bug #857 "Undefined offset error" was fixed. 181 - The uniord method now uses a static cache to improve performances (thanks to Mathieu Masseboeuf for the sugegstion). 182 - Two bugs in the TCPDF_FONTS class were fixed. 183 184 6.0.043 (2013-10-29) 185 - Bug #854 "CSS instruction display" was fixed. 186 187 6.0.042 (2013-10-25) 188 - Bug #852 "CMYK Colors Bug" was fixed. 189 190 6.0.041 (2013-10-21) 191 - Bug #851 "Problem with images in PDF. PHP timing out" was fixed. 192 193 6.0.040 (2013-10-20) 194 - Bug #849 "SVG import bug" was fixed. 195 196 6.0.039 (2013-10-13) 197 - Bug #843 "Wrong call in parser" was fixed. 198 - Bug #844 "Wrong object type named" was fixed. 199 - Bug #845 "Parsing error on obj ref prefixed by '000000'" was fixed. 200 201 6.0.038 (2013-10-06) 202 - Bug #841 "Division by zero warning at writeHTML a <li> tag" was fixed. 203 204 6.0.037 (2013-09-30) 205 - Method getAllSpotColors() was added to return all spot colors. 206 - Method colorRegistrationBar() was extended to automatically print all spot colors and support individual spot colors. 207 - The method registrationMarkCMYK() was added to print a registration mark for CMYK colors. 208 - A bug related to page groups was fixed. 209 - Gradient() method now supports CMYK equivalents of spot colors. 210 - Example n. 56 was updated. 211 212 6.0.036 (2013-09-29) 213 - Methods for registration bars and crop marks were extended to support registration color (see example n. 56). 214 - New default spot colors were added to tcpdf_colors.php, including the 'All' and 'None' special registration colors. 215 216 6.0.035 (2013-09-25) 217 - TCPDF_PARSER class was improved. 218 219 6.0.034 (2013-09-24) 220 - Bug #839 "Error in xref parsing in mixed newline chars" was fixed. 221 222 6.0.033 (2013-09-23) 223 - Bug fix related to PNG image transparency using GD library. 224 225 6.0.032 (2013-09-23) 226 - Bug #838 "Fatal error when imagick cannot handle the image, even though GD is available and can" was fixed. 227 228 6.0.031 (2013-09-18) 229 - Bug #836 "Optional EOL marker before endstream" was fixed. 230 - Some additional controls were added to avoid "division by zero" error with badly formatted input. 231 232 6.0.030 (2013-09-17) 233 - Bug #835 "PDF417 and Cyrilic simbols" was fixed. 234 235 6.0.029 (2013-09-15) 236 - 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. 237 - The TCPDF_PARSER class can now be configured using the new $cfg parameter. 238 239 6.0.028 (2013-09-15) 240 - A debug print_r was removed form tcpdf_parser.php. 241 - TCPDF_FILTERS class now throws an exception in case of error. 242 - TCPDF_PARSER class now throws an exception in case of error unless you define the constant K_TCPDF_PARSER_THROW_EXCEPTION_ERROR to false. 243 - The constant K_TCPDF_PARSER_IGNORE_DECODING_ERRORS can be set to tru eto ignore decoding errors on TCPDF_PARSER. 244 245 6.0.027 (2013-09-14) 246 - A bug in tcpdf_parser wen parsing hexadecimal strings was fixed. 247 - A bug in tcpdf_parser wen looking for statxref was fixed. 248 - A bug on RC4 encryption was fixed. 249 250 6.0.026 (2013-09-14) 251 - A bug in tcpdf_parser wen decoding streams was fixed. 252 253 6.0.025 (2013-09-04) 254 - A pregSplit() bug was fixed. 255 - Improved content loading from URLs. 256 - Improved font path loading. 257 258 6.0.024 (2013-09-02) 259 - Bug #826 "addEmptySignatureAppearance issue" was fixed. 260 261 6.0.023 (2013-08-05) 262 - GNU Freefont fonts were updated. 263 - Licensing and copyright information about fonts were improved. 264 - PNG image support was improved. 265 266 6.0.022 (2013-08-02) 267 - fixing initialization problem for signature_appearance property. 268 269 6.0.021 (2013-07-18) 270 - The bug caused by the preg_split function on some PHP 5.2.x versions was fixed. 271 272 6.0.020 (2013-06-04) 273 - The method addTTFfont() was fixed (Bug item #813 Undefined offset). 274 275 6.0.019 (2013-06-04) 276 - The magic constant __DIR__ was replaced with dirname(__FILE__) for php 5.2 compatibility. 277 - The exceptions raised by file_exists() function were suppressed. 278 279 6.0.018 (2013-05-19) 280 - 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). 281 282 6.0.017 (2013-05-16) 283 - The command line tool tcpdf_addfont.php was improved. 284 - The php logic was removed from configuration files that now contains only constant defines. 285 - The tcpdf_autoconfig.php file was added to automatically set missing configuration values. 286 287 6.0.016 (2013-05-15) 288 - The tcpdf_addfont.php tool was improved (thanks to Remi Collet). 289 - Constant K_PATH_IMAGES is now automatically set in configuration file. 290 291 6.0.015 (2013-05-14) 292 - Some unused vars were removed from AddFont() method. 293 - Some directories were moved inside the examples directory. 294 - All examples were updated to reflect the new default structure. 295 - Source code were clean-up up to be more compatible with system packaging. 296 - Files encodings and permissions were reset. 297 - The command line tool tcpdf_addfont.php was added on the tools directory. 298 299 6.0.014 (2013-04-13) 300 - The signature of addTTFfont() method includes a new parameter to link existing fonts instead of copying and compressing them. 301 302 6.0.013 (2013-04-10) 303 - Add support for SVG dx and dy text/tspan attributes. 304 - replace require() with require_once(). 305 - fix some minor typos on documentation. 306 - fix a problem when deleting all pages. 307 308 6.0.012 (2013-04-24) 309 - An error condition in addHtmlLink() method was fixed (bug #799). 310 311 6.0.011 (2013-04-22) 312 - Minor documentation changes. 313 314 6.0.010 (2013-04-03) 315 - The method Rect() was fixed to print borders correctly. 316 317 6.0.009 (2013-04-02) 318 - Adding back some files that were not properly committed on the latest release. 319 320 6.0.008 (2013-04-01) 321 - Duplicated encoding maps was removed from tcpdf_font_data.php. 322 - Fixing bug on AddTTFFont(). 323 324 6.0.007 (2013-03-29) 325 - HTML/CSS font size conversion were improved. 326 327 6.0.006 (2013-03-27) 328 - Bug related to SVG and EPS files on xobjects were fixed. 329 330 6.0.005 (2013-03-26) 331 - Default font path was fixed. 332 333 6.0.004 (2013-03-21) 334 - Return value of addTTFfont() method was fixed. 335 336 6.0.003 (2013-03-20) 337 - A bug related to non-unicode mode was fixed. 338 339 6.0.002 (2013-03-18) 340 - _getFIXED call on tcpdf_fonts.php was fixed. 341 342 6.0.001 (2013-03-18) 343 - Fixed $uni_type call on tcpdf.php. 344 345 6.0.000 (2013-03-17) 346 - IMPORTANT: PHP4 support has been removed starting from this version. 347 - 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. 348 - Files htmlcolors.php, spotcolors.php, unicode_data.php and ecodings_maps.php were removed. 349 - Barcode classes were renamed and new barcode examples were added. 350 - Class TCPDF_PARSER was improved. 351 352 ******************************************************************************** 353 354 5.9.209 (2013-03-15) 355 - Image method was improved. 356 357 5.9.208 (2013-03-15) 358 - objclone fuction was patched to support old imagick extensions. 359 - tcpdf_parser was improved to support Cross-Reference Streams and large streams. 360 361 5.9.207 (2013-03-04) 362 - Datamatrix class was fixed (a debug echo was removed). 363 364 5.9.206 (2013-02-22) 365 - Bug item #754 "PNG with alpha channel becomes gray scale" was fixed. 366 - Minor documentation fixes. 367 368 5.9.205 (2013-02-06) 369 - The constant K_TCPDF_THROW_EXCEPTION_ERROR was added on configuration file to change the behavior of Error() method. 370 - PDF417 barcode bug was fixed. 371 372 5.9.204 (2013-01-23) 373 - The method Bookmark() was extended to include named destinations, URLs, internal links or embedded files (see example n. 15). 374 - automatic path calculation on configuration file was fixed. 375 - Error() method was extended to throw new Exception if PHP > 5. 376 377 5.9.203 (2013-01-22) 378 - Horizontal position of radiobuttons and checkboxes was adjusted. 379 380 5.9.202 (2012-12-16) 381 - Vertical space problem after table was fixed. 382 383 5.9.201 (2012-12-10) 384 - First 256 chars are now always included on font subset to overcome a problem reported on the forum. 385 386 5.9.200 (2012-12-05) 387 - Bug item #768 "Rowspan with Pagebreak error" was fixed. 388 - Page regions now works also with limited MultiCell() cells. 389 390 5.9.199 (2012-11-29) 391 - Internal setImageBuffer() method was improved. 392 393 5.9.198 (2012-11-19) 394 - Datamatrix EDIFACT mode was fixed. 395 396 5.9.197 (2012-11-06) 397 - Bug item #756 "TCPDF 5.9.196 shows line on top of all PDFs" was fixed. 398 399 5.9.196 (2012-11-02) 400 - Several methods were improved to avoid output when the context is out of page. 401 - Bug item #755 "remove cached files before unsetting" was fixed. 402 403 5.9.195 (2012-10-24) 404 - Method _putfonts() was improved. 405 406 5.9.194 (2012-10-23) 407 - Text alignment on TextField() method was fixed. 408 409 5.9.193 (2012-09-25) 410 - Support for named destinations on HTML links was added (i.e.: <a href="#destinationname">link to named destination</a>). 411 412 5.9.192 (2012-09-24) 413 - A problem on the releasing process was fixed. 414 415 5.9.191 (2012-09-24) 416 - SVG image naow support svg and eps images. 417 418 5.9.190 (2012-09-23) 419 - "page" word translation is now set to empty if not defined. 420 - Tooltip feature was added on the radiobutton annotation. 421 422 5.9.189 (2012-09-18) 423 - Bug item #3568969 "ini_get safe_mode error" was fixed. 424 425 5.9.188 (2012-09-15) 426 - A datamatrix barcode bug was fixed. 427 428 5.9.187 (2012-09-14) 429 - Subset feature was extended to include the first 256 characters. 430 431 5.9.186 (2012-09-13) 432 - barcodes.php file was resynced. 433 - Methods SetAbsX, SetAbsY, SetAbsXY where added to set the absolute pointer coordinates. 434 - Method getCharBBox were added to get single character bounding box. 435 - Signature of addTTFfont method was changed ($addcbbox paramter was added). 436 437 5.9.185 (2012-09-12) 438 - Method _putfontwidths() was fixed. 439 440 5.9.184 (2012-09-11) 441 - A problem with EAN barcodes was fixed. 442 443 5.9.183 (2012-09-07) 444 - A problem with font names normalization was fixed. 445 446 5.9.182 (2012-09-05) 447 - Bug item #3564982 "Infinite loop in Write() method" was fixed. 448 449 5.9.181 (2012-08-31) 450 - composer.json file was added. 451 - Bug item #3563369 "Cached images are not unlinked some time" was fixed. 452 453 5.9.180 (2012-08-22) 454 - Bug item #3560493 "Problems with nested cells in HTML" was fixed. 455 456 5.9.179 (2012-08-04) 457 - SVG 'use' tag was fixed for 'circle' and 'ellipse' shift problem. 458 - Alpha status is now correctly stored and restored by getGraphicVars() and SetGraphicVars() methods. 459 460 5.9.178 (2012-08-02) 461 - SVG 'use' tag was fixed for 'circle' and 'ellipse'. 462 463 5.9.177 (2012-08-02) 464 - An additional control on annotations was fixed. 465 466 5.9.176 (2012-07-25) 467 - A bug related to stroke width was fixed. 468 - A problem related to font spacing in HTML was fixed. 469 470 5.9.175 (2012-07-25) 471 - The problem of missing letter on hyphen break was fixed. 472 473 5.9.174 (2012-07-25) 474 - The problem of wrong filename when downloading PDF from an Android device was fixed. 475 - The method setHeaderData() was extended to set text and line color for header (see example n. 1). 476 - The method setFooterData() was added to set text and line color for footer (see example n. 1). 477 - The methods setTextShadow() and getTextShadow() were added to set text shadows (see example n. 1). 478 - The GetCharWidth() method was fixed for negative character spacing. 479 - A 'none' border mode is now correctly recognized. 480 - Break on hyphen problem was fixed. 481 482 5.9.173 (2012-07-23) 483 - Some additional control wher added on barcode methods. 484 - The option CURLOPT_FOLLOWLOCATION on Image method is now disabled if PHP safe_mode is on or open_basedir is set. 485 - Method Bookmark() was extended to include X parameter. 486 - Method setDestination() was extended to include X parameter. 487 - A problem with Thai language was fixed. 488 489 5.9.172 (2012-07-02) 490 - A PNG color profile issue was fixed. 491 492 5.9.171 (2012-07-01) 493 - Some SVG rendering problems were fixed. 494 495 5.9.170 (2012-06-27) 496 - Bug #3538227 "Numerous errors inserting shared images" was fixed. 497 498 5.9.169 (2012-06-25) 499 - Some SVG rendering problems were fixed. 500 501 5.9.168 (2012-06-22) 502 - Thai language rendering was fixed. 503 504 5.9.167 (2012-06-22) 505 - Thai language rendering was fixed and improved. 506 - Method isCharDefined() was improved. 507 - Protected method replaceChar() was added. 508 - Font "kerning" word was corrected to "tracking". 509 510 5.9.166 (2012-06-21) 511 - Array to string conversion on file_id creation was fixed. 512 - Thai language rendering was fixed (thanks to Atsawin Chaowanakritsanakul). 513 514 5.9.165 (2012-06-07) 515 - Some HTML form related bugs were fixed. 516 517 5.9.164 (2012-06-06) 518 - A bug introduced on the latest release was fixed. 519 520 5.9.163 (2012-06-05) 521 - Method getGDgamma() was changed. 522 - Rendering performances of PNG images with alpha channel were improved. 523 524 5.9.162 (2012-05-11) 525 - A bug related to long text on TD cells was fixed. 526 527 5.9.161 (2012-05-09) 528 - A bug on XREF table was fixed (Bug ID: 3525051). 529 - Deprecated Imagick:clone was replaced. 530 - Method objclone() was fixed for PHP4. 531 532 5.9.160 (2012-05-03) 533 - A bug on tcpdf_parser.php was fixed. 534 535 5.9.159 (2012-04-30) 536 - Barcode classes were updated to fix PNG export Bug (ID: 3522291). 537 538 5.9.158 (2012-04-22) 539 - Some SVG-related bugs were fixed. 540 541 5.9.157 (2012-04-16) 542 - Some SVG-related bugs were fixed. 543 544 5.9.156 (2012-04-10) 545 - Bug item #3515885 "TOC and booklet: left and right page exchanged". 546 - SetAutoPageBreak(false) now works also in multicolumn mode. 547 548 5.9.155 (2012-04-02) 549 - Bug item #3512596 "font import problems" was fixed. 550 - Method addTTFfont() was modified to extract only specified Platform ID and Encoding ID (check the source code documentation). 551 - All fonts were updated. 552 - Bug item #3513867 "booklet and setHeaderTemplateAutoreset: header shifted left" was fixed. 553 - Bug item #3513749 "TCPDF Superscript/Subscript" was fixed. 554 555 5.9.154 (2012-03-29) 556 - A debug echo was removed. 557 558 5.9.153 (2012-03-28) 559 - A bug on font conversion was fixed. 560 - All fonts were updated. 561 - Method isCharDefined() was added to find if a character is defined on the selected font. 562 - Method replaceMissingChars() was added to automatically replace missing chars on selected font. 563 - SetFont() method was fixed. 564 565 5.9.152 (2012-03-23) 566 - The following overprint methods were added: setOverprint(), getOverprint(). 567 - Signature of setAlpha() method was changed and method getAlpha() was added. 568 - stroke-opacity support was added on SVG. 569 - The following date methods were added: setDocCreationTimestamp(), setDocModificationTimestamp(), getDocCreationTimestamp(), getDocModificationTimestamp(), getFormattedDate(), getTimestamp(). 570 - Signature of _datestring() method was changed. 571 - Method getFontBBox() was added. 572 - Method setPageBoxTypes() was aded. 573 574 5.9.151 (2012-03-22) 575 - Bug item #3509889 "Transform() distorts PDF" was fixed. 576 - Precision of real number were extended. 577 - ComboBox and ListBox methods were fixed. 578 - Bulgarian language file was added. 579 - addTOC() method was improved to include bookmark color and font style. 580 581 5.9.150 (2012-03-16) 582 - A bug related to form fields in PDF/A mode was fixed. 583 584 5.9.149 (2012-02-21) 585 - Bug item #3489933 "SVG Parser treats tspan like text" was fixed. 586 587 5.9.148 (2012-02-17) 588 - Bug item #3488600 "Multiple radiobutton sets get first set value" was fixed. 589 590 5.9.147 (2012-02-14) 591 - A problem with SVG gradients has been fixed. 592 593 5.9.146 (2012-02-12) 594 - Bug item #3486880 "$filehash undefine error" was fixed. 595 - The default font is now the one specified at PDF_FONT_NAME_MAIN constant. 596 597 5.9.145 (2012-01-28) 598 - Japanese language file was added. 599 - TCPDF license and README.TXT files were updated. 600 601 5.9.144 (2012-01-12) 602 - HTML output on barcode classes was improved. 603 604 5.9.143 (2012-01-08) 605 - Bug item #3471057 "setCreator() has no effect" was fixed. 606 607 5.9.142 (2011-12-23) 608 - Source code documentation was updated. 609 610 5.9.141 (2011-12-14) 611 - Some minor bugs were fixed. 612 613 5.9.140 (2011-12-13) 614 - SVG now supports embedded images encoded as base64. 615 616 5.9.139 (2011-12-11) 617 - Spot color methods were fixed. 618 619 5.9.138 (2011-12-10) 620 - cropMark() method was improved (check source code documentation). 621 - Example n. 56 was updated. 622 - Bug item #3452390 "Check Box still not ticked when set to true" was fixed. 623 624 5.9.137 (2011-12-01) 625 - Bug item #3447005 "Background color and border of Form Elements is printed" was fixed. 626 - Color support for Form elements was improved. 627 628 5.9.136 (2011-11-27) 629 - Bug item #3443387 "SetMargins with keep option does not work for top margin" was fixed. 630 631 5.9.135 (2011-11-04) 632 - Bug item #3433406 "Double keywords in description" was fixed. 633 634 5.9.134 (2011-10-29) 635 - The default value for $defcol parameter on convertHTMLColorToDec() method was fixed. 636 - Deafult HTTP headers were changed to avoid browser caching. 637 - Some deprecated syntax were replaced. 638 639 5.9.133 (2011-10-26) 640 - Bug item #3428446 "copyPage method not working when diskcache enabled" was fixed. 641 642 5.9.132 (2011-10-20) 643 - Bug item #3426167 "bug in function convertHTMLColorToDec()" was fixed. 644 645 5.9.131 (2011-10-13) 646 - An error message was added to ImagePngAlpha() method. 647 648 5.9.130 (2011-10-12) 649 - Now you can set image data strings on HTML img tag by encoding the image binary data in this way: $imgsrc = '@'.base64_encode($imgdata); 650 651 5.9.129 (2011-10-07) 652 - Core fonts metrics was fixed (replace all helvetica and times php files on fonts folder). 653 - Form fields support was improved and some problems were fixed (check the example n. 14). 654 - Bug item #3420249 "Issue with booklet and MultiCell" was fixed. 655 656 5.9.128 (2011-10-06) 657 - Method addTTFfont() was improved (check the source code documentation). 658 - Method setExtraXMP() to set custom XMP data was added. 659 660 5.9.127 (2011-10-04) 661 - Readonly mode option was activated for radiobuttons. 662 663 5.9.126 (2011-10-03) 664 - Bug item #3417989 "Graphics State operator in form XObject fails to render" was fixed. 665 - Xobjects problems with transparency, gradients and spot colors were fixed. 666 667 5.9.125 (2011-10-03) 668 - Support for 8-digit CMYK hexadecimal color representation was added (to be used with XHTML and SVG). 669 - Spot colors support was improved (check example n. 37). 670 - Color methods were improved. 671 672 5.9.124 (2011-10-02) 673 - Core fonts were updated. 674 675 5.9.123 (2011-10-02) 676 - The method addTTFfont() wad added to automatically convert TTF fonts (check the new fonts guide at http://www.tcpdf.org). 677 - Old font utils were removed. 678 - All fonts were updated and new arabic fonts were added (almohanad were removed and replaced by aefurat and aealarabiya). 679 - The file unicode_data.php was updated. 680 - The file encodings_maps.php was added. 681 - PDF/A files are now compressed to save space. 682 - XHTML input form fields now support text-alignment attribute. 683 684 5.9.122 (2011-09-29) 685 - PDF/A-1b compliance was improved to pass some online testing. 686 687 5.9.121 (2011-09-28) 688 - This version includes support for PDF/A-1b format (the class constructor signature was changed - see example n. 65). 689 - Method setSRGBmode() was added to force sRGB_IEC61966-2.1 black scaled ICC color profile for the whole document (file sRGB.icc was added). 690 - 14 new fonts were added to allow embedding core fonts (for PDF/A compliance). 691 - Font utils were fixed. 692 693 5.9.120 (2011-09-22) 694 - This version includes a fix for _getTrueTypeFontSubset() method. 695 696 5.9.119 (2011-09-19) 697 - This version includes a fix for extra page numbering on TOC. 698 699 5.9.118 (2011-09-17) 700 - This version includes some changes that allows you to add a bookmark for a page that do not exist. 701 702 5.9.117 (2011-09-15) 703 - TCPDFBarcode and TCPDF2DBarcode classes were extended to include a method for exporting barcodes as PNG images. 704 705 5.9.116 (2011-09-14) 706 - Datamatrix class was improved and documentation was fixed. 707 708 5.9.115 (2011-09-13) 709 - Datamatrix ECC200 barcode support was added (a new datamatrix.php file was added) - check example n. 50. 710 - getBarcodeHTML() method was added on TCPDFBarcode and TCPDF2DBarcode classes to return an HTML representation of the barcode. 711 - cURL options on Image() method were improved. 712 - A bug on write2DBarcode() was fixed. 713 714 5.9.114 (2011-09-04) 715 - A bug related to column position was fixed. 716 717 5.9.113 (2011-08-24) 718 - This release include two new experimental files for parsing an existing PDF document (the integration with TCPDF is under development). 719 720 5.9.112 (2011-08-18) 721 - A newline character was added after the 'trailer' keyword for compatibility with some parsers. 722 - Support for layers was improved. 723 724 5.9.111 (2011-08-17) 725 - Barcode CODE 39 default gap was restored at 1. 726 727 5.9.110 (2011-08-17) 728 - Barcode CODE 39 was fixed. 729 730 5.9.109 (2011-08-12) 731 - Method getNumLines() was fixed. 732 - A bug related to page break in multi-column mode was fixed. 733 734 5.9.108 (2011-08-09) 735 - A bug on PHP4 version was fixed. 736 737 5.9.107 (2011-08-08) 738 - This version includes a minor bugfix. 739 740 5.9.106 (2011-08-04) 741 - This version includes transparency groups: check the new parameter on startTemplate() method and example 62. 742 743 5.9.105 (2011-08-04) 744 - Bug item #3386153 "Check Box not ticked when set to true" was fixed. 745 746 5.9.104 (2011-08-01) 747 - Bug item #3383698 "imagemagick, resize and dpi" was fixed. 748 749 5.9.103 (2011-07-16) 750 - Alignment of XHTML lines was improved. 751 - Spell of the "length" word was fixed. 752 753 5.9.102 (2011-07-13) 754 - Methods startLayer() and endLayer() were added to support arbitrary PDF layers. 755 - Some improvements/fixes for images were added (thanks to Brendan Abbott). 756 757 5.9.101 (2011-07-07) 758 - Support for JPEG and PNG ICC Color Profiles was added. 759 - Method addEmptySignatureAppearance() was added to add empty signature fields (see example n. 52). 760 - Bug item #3354332 "Strange line spacing with reduced font-size in writeHTML" was fixed. 761 762 5.9.100 (2011-06-29) 763 - An SVG bug has been fixed. 764 765 5.9.099 (2011-06-27) 766 - Bug item #3335045 "Font freesans seems somehow corrupted in footer" was fixed. 767 768 5.9.098 (2011-06-23) 769 - The Named Destination feature was fixed. 770 771 5.9.097 (2011-06-23) 772 - The method setHtmlVSpace() now can be used also for tags: div, li, br, dt and dd. 773 - The Named Destination feature was added (check the example n. 15) - thanks to Christian Deligant. 774 775 5.9.096 (2011-06-19) 776 - Bug item #3322234 "Surrogate pairs codes in arrUTF8ToUTF16BE" was fixed. 777 778 5.9.095 (2011-06-18) 779 - Numbers alignment for Table-Of-Content methods was improved and fixed. 780 - Font subsetting was fixed to include all parts of composite fonts. 781 782 5.9.094 (2011-06-17) 783 - Bug item #3317898 "Page Group numbering broken in 5.9.093" was fixed. 784 785 5.9.093 (2011-06-16) 786 - Method setStartingPageNumber() was added to set starting page number (for automatic page numbering). 787 788 5.9.092 (2011-06-15) 789 - Method _putpages() was improved. 790 - Bug item #3316678 "Memory overflow when use Rotate and SetAutoPageBreak" was fixed. 791 - Right alignment of page numbers was improved. 792 793 5.9.090 (2011-06-14) 794 - Methods AliasNbPages() and AliasNumPage() were re-added as deprecated for backward compatibility. 795 796 5.9.089 (2011-06-13) 797 - Example n. 8 was updated. 798 - Method sendOutputData() was changed to remove default compression (it was incompatible with some server settings). 799 - Bugs related to page group numbers were fixed. 800 - Method copyPage() was fixed. 801 - Method Image() was improved to include support for alternative and external images. 802 803 5.9.088 (2011-06-01) 804 - Method getAutoPageBreak() was added (see example n. 51). 805 - Example n. 51 (full page background) was updated. 806 807 5.9.087 (2011-06-01) 808 - Method sendOutputData() was improved to include deflate encoding. 809 - Barcode classes on PHP 4 version were fixed. 810 811 5.9.086 (2011-05-31) 812 - Font files were updated (the ones on the previous release were broken). 813 - The script fonts/utils/makeallttffonts.php was updated and fixed. 814 - Output() method was improved to use compression when available. 815 816 5.9.085 (2011-05-31) 817 - TCPDFBarcode class (barcodes.php) now includes getBarcodeSVG() and getBarcodeSVGcode() methods to get SVG image representation of the barcode. 818 - TCPDF2DBarcode class (2dbarcodes.php) now includes getBarcodeSVG() and getBarcodeSVGcode() methods to get SVG image representation of the barcode. 819 820 5.9.084 (2011-05-29) 821 - Font files were updated. 822 - The file fonts/utils/makeallttffonts.php was updated. 823 - Bug item# 3308774 "Problems with font subsetting" was fixed. 824 825 5.9.083 (2011-05-24) 826 - Bug item #3308387 "line height & SetCellHeightRatio" was fixed. 827 828 5.9.082 (2011-05-22) 829 - Bug item #3305592 "Setting fill color <> text color breaks text clipping" was fixed. 830 831 5.9.081 (2011-05-18) 832 - Method resetHeaderTemplate() was added to reset the xobject template used by Header() method. 833 - Method setHeaderTemplateAutoreset() was added to automatically reset the xobject template used by Header() method at each page. 834 835 5.9.080 (2011-05-17) 836 - A problem related to file path calculation for images was fixed. 837 - A problem related to unsupressed getimagesize() error was fixed. 838 839 5.9.079 (2011-05-16) 840 - Footer() method was changed to use C128 barcode as default (instead of the previous C128B). 841 842 5.9.078 (2011-05-12) 843 - Bug item #3300878 "wrong rendering for html bullet list in some case" was fixed. 844 - Bug item #3301017 "Emphasized vs. font-weight" was fixed. 845 - Barcode Code 128 was improved to include AUTO mode (automatically switch between A, B and C modes). 846 - Examples n. 27 and 49 were updated. 847 848 5.9.077 (2011-05-07) 849 - Bug item #3298591 "error code93" was fixed. 850 - SetLineStyle() function was improved. 851 852 5.9.076 (2011-05-06) 853 - Bug item #3298264 "codebar 93 error" was fixed. 854 855 5.9.075 (2011-05-02) 856 - Table header alignment when using WriteHTMLCell() or MultiCell() was fixed. 857 858 5.9.074 (2011-04-28) 859 - Bug item #3294306 "CSS classes not work in <thead> table section" was fixed. 860 861 5.9.073 (2011-04-27) 862 - A bug related to character entities on HTML cells was fixed. 863 864 5.9.072 (2011-04-26) 865 - Method resetColumns() was added to remove multiple columns and reset page margins (example n. 10 was updated). 866 867 5.9.071 (2011-04-19) 868 - Bug #3288574 "<br/> trouble" was fixed. 869 870 5.9.069 (2011-04-19) 871 - Bug #3288763 "HTML-Table: non-breaking table rows: Bug" was fixed. 872 873 5.9.068 (2011-04-15) 874 - Bookmark, addTOC and addHTMLTOC methods were improved to include font style and color (Examples 15, 49 and 59 were updated). 875 - Default $_SERVER['DOCUMENT_ROOT'] value on tcpdf_config.php file was changed. 876 877 5.9.067 (2011-04-10) 878 - Performances were drastically improved (PDF documents are now created more quickly). 879 880 5.9.066 (2011-04-09) 881 - A bug related to digital signature + encryption was fixed. 882 - A bug related to encryption + xobject templates was fixed. 883 884 5.9.065 (2011-04-08) 885 - Bug item #3280512 "Text encoding iso-8859-2 crashes" was fixed. 886 887 5.9.064 (2011-04-05) 888 - A bug related to character entities on HTML cells was fixed. 889 890 5.9.063 (2011-04-01) 891 - Bug item #3267235 "WriteHTML() and image that doesn't fit on the page" was fixed. 892 893 5.9.062 (2011-03-23) 894 - Bug item #3232650 "Using Write if there are pageRegions active creates error" was fixed. 895 - Bug item #3221891 "text input borders" was fixed. 896 - Bug item #3228958 "Adobe Reader 9.4.2 crash" was fixed. 897 898 5.9.061 (2011-03-15) 899 - Bug item #3213488 "wrong function call in function Write" was fixed. 900 - Bug item #3203007 "list element with black background" was fixed. 901 902 5.9.060 (2011-03-08) 903 - addTOC() method was fixed for text alignment problems. 904 905 5.9.059 (2011-02-27) 906 - Default Header() method was improved to reduce document size. 907 908 5.9.058 (2011-02-25) 909 - Image() method was improved to cache images with transparency layers (thanks to Korneliusz Jarzębski for reporting this problem). 910 911 5.9.057 (2011-02-24) 912 - A problem with image caching system was fixed (thanks to Korneliusz Jarzębski for reporting this problem). 913 914 5.9.056 (2011-02-22) 915 - A bug on fixHTMLCode() method was fixed. 916 - Automatic line break for HTML was fixed. 917 918 5.9.055 (2011-02-17) 919 - Another bug related to HTML table page break was fixed. 920 921 5.9.054 (2011-02-16) 922 - A bug related to HTML table page break was fixed. 923 924 5.9.053 (2011-02-16) 925 - Support for HTML attribute display="none" was added. 926 927 5.9.052 (2011-02-15) 928 - A bug related to HTML automatic newlines was fixed. 929 930 5.9.051 (2011-02-12) 931 - "Commas at beginning of new lines" problem was fixed. 932 933 5.9.050 (2011-02-11) 934 - Bug #3177606 "SVG Bar chart error" was fixed. 935 936 5.9.049 (2011-02-03) 937 - Bug #3170777 "TCPDF creates a new page after a single line in writeHTML" was fixed. 938 939 5.9.048 (2011-02-02) 940 - No changes. Just released to override previous release that was not uploaded correctly. 941 942 5.9.047 (2011-01-28) 943 - Bug #3167115 "PDF error in <table> (example 48)" was fixed (was introduced in 5.8.046). 944 945 5.9.046 (2011-01-18) 946 - PDF view/print layers are now automatically turned off if not used (see setVisibility() method). 947 948 5.9.045 (2011-01-17) 949 - HTML list support were improved. 950 951 5.9.044 (2011-01-15) 952 - Bug #3158422 "writeHTMLCell Loop" was fixed. 953 - Some HTML image alignment problems were fixed. 954 955 5.9.043 (2011-01-14) 956 - Bug #3158178 "PHP Notice" was fixed. 957 - Bug #3158193 "Endless loop in writeHTML" was fixed. 958 - Bug #3157764 "SVG Pie chart incorrectly rendered2". 959 960 5.9.042 (2011-01-14) 961 - Some problems of the PHP4 version were fixed. 962 963 5.9.041 (2011-01-13) 964 - A problem with SVG elliptical arc path was fixed (ref. bug #3156574). 965 - A problem related to font weight on HTML table headers was fixed. 966 967 5.9.040 (2011-01-12) 968 - A bug related to empty pages after table was fixed. 969 970 5.9.039 (2011-01-12) 971 - Bug item #3155759 "openssl_random_pseudo_bytes() slow under Windows" was fixed. 972 973 5.9.038 (2011-01-11) 974 - Minor bugs were fixed. 975 976 5.9.037 (2011-01-09) 977 - An alignment problem for HTML texts was fixed. 978 979 5.9.036 (2011-01-07) 980 - A bug related to HTML tables on header was fixed. 981 982 5.9.035 (2011-01-03) 983 - A problem related to HTML table border alignment was fixed. 984 - Bug #2996366 "FastCGI and Header Problems" was fixed. 985 986 5.9.034 (2010-12-19) 987 - DejaVu and GNU Free fonts were updated. 988 989 5.9.033 (2010-12-18) 990 - Source code documetnation was improved. 991 992 5.9.032 (2010-12-18) 993 - Default font stretching and spacing values are now inherited by HTML methods. 994 995 5.9.031 (2010-12-16) 996 - Source code documentation errors were fixed. 997 998 5.9.030 (2010-12-16) 999 - Several source code documentation errors were fixed. 1000 - Source code style was changed for Doxygen. 1001 - Source code documentation was moved online to http://www.tcpdf.org 1002 1003 5.9.029 (2010-12-04) 1004 - The $fitbox parameter on Image() method was extended to specify image alignment inside the box (check the example n. 9). 1005 1006 5.9.028 (2010-12-03) 1007 - Font utils makefont.php and makeallttffonts.php were updated. 1008 1009 5.9.027 (2010-12-01) 1010 - Spot Colors are now better integrated with HTML mode. 1011 - Method SetDocInfoUnicode() was added to turn on/off Unicode mode for document information dictionary (meta tags) - check the example n. 19. 1012 1013 5.9.026 (2010-12-01) 1014 - A problem with mixed text directions on HTML was fixed. 1015 1016 5.9.025 (2010-12-01) 1017 - The AddSpotColor() now automatically fills the spotcolor array (defined on spotcolors.php file). 1018 1019 5.9.024 (2010-11-30) 1020 - Bug item #3123612 "SVG not use gradientTransform in percentage mode" was fixed. 1021 1022 5.9.023 (2010-11-25) 1023 - A potential bug on SVG transcoder was fixed. 1024 1025 5.9.022 (2010-11-21) 1026 - Method ImageEPS includes support for EPS/AI Spot colors. 1027 - Method ImageEPS includes a new parameter $fixoutvals to remove values outside the bounding box. 1028 1029 5.9.021 (2010-11-20) 1030 - Support for custom bullet points images was added (check the example n.6) 1031 - Examples n. 6 and 61 were update (check the comments inside). 1032 1033 5.9.020 (2010-11-19) 1034 - A problem related to additional page when using multicolumn mode was fixed. 1035 1036 5.9.019 (2010-11-19) 1037 - An SVG bug was fixed. 1038 - ImageSVG() and ImageEPS() methods now accepts image data streams (put the string on the $file parameter preceded by '@' character). 1039 - Option 'E' was added to the $dest parameter of Output() method to return the document as base64 mime multi-part email attachment (RFC 2045). 1040 1041 5.9.018 (2010-11-19) 1042 - An SVG bug was fixed. 1043 1044 5.9.017 (2010-11-16) 1045 - Tagline color was set to transparent. 1046 - The method fixHTMLCode() was added to automatically clean up HTML code (requires HTML Tidy). 1047 1048 5.9.016 (2010-11-16) 1049 - Bug item #3109705 "list item page break hanging bullet" was fixed. 1050 1051 5.9.015 (2010-11-16) 1052 - Bug item affecting QRCode was fixed. 1053 - Some bugs affecting HTML lists were fixed. 1054 - ImageSVG() and fitBlock() methods were improved to handle some SVG problems. 1055 - Some problems with PHP4 compatibility were fixed. 1056 1057 5.9.014 (2010-11-15) 1058 - Bug item #3109464 "QRCode error" was fixed. 1059 1060 5.9.013 (2010-11-15) 1061 - Bug item #3109257 "Problem with interlaced GIFs and PNGs" was fixed. 1062 - Image function now accepts image data streams (check example n. 9). 1063 1064 5.9.012 (2010-11-12) 1065 - Method getTCPDFVersion() was added. 1066 - PDF_PRODUCER constant was removed. 1067 - Method convertHTMLColorToDec() was improved. 1068 - HTML colors now support spot color names defined on the new spotcolors.php file. 1069 - The default method Header() was improved to support SVG and EPS/AI images. 1070 - A bug on SVG importer was fixed. 1071 1072 5.9.011 (2010-11-02) 1073 - Bug item #3101486 "Bug Fix for image loading" was fixed. 1074 1075 5.9.010 (2010-10-27) 1076 - Support for CSS properties 'border-spacing' and 'padding' for tables were added. 1077 - Several language files were added. 1078 1079 5.9.009 (2010-10-21) 1080 - HTML text alignment was improved to include the case of RTL text on LTR direction and LTR text on RTL direction. 1081 1082 5.9.008 (2010-10-21) 1083 - Bug item #3091502 "Bookmark oddity" was fixed. 1084 - HTML internal links now accepts page number and Y position. 1085 - The method write1DBarcode() was improved to accept separate horizontal and vertical padding (see example n. 27). 1086 1087 5.9.007 (2010-10-20) 1088 - Method adjustCellPadding() was fixed to handle bad input. 1089 1090 5.9.006 (2010-10-19) 1091 - Support for AES 256 bit encryption was added (see example n. 16). 1092 - Method getNumLines() was fixed for the empty string case. 1093 1094 5.9.005 (2010-10-18) 1095 - Method addPageRegion() was changed to accept regions starting exactly from the top of the page. 1096 1097 5.9.004 (2010-10-18) 1098 - A bug related to annotations was fixed. 1099 - The file unicode_data.php was canged to encapsulate all data in a class. 1100 - The file htmlcolors.php was changed to remove the global variable. 1101 1102 5.9.003 (2010-10-15) 1103 - Support for no-write page regions was added. Check the example n. 64 and new methods setPageRegions(), addPageRegion(), getPageRegions(), removePageRegion(). 1104 - A bug on Right-To-Left alignment was fixed. 1105 1106 5.9.002 (2010-10-08) 1107 - Cell method was improved to preserve the font stretching and spacing values when using the $stretch parameter (see example n. 4). 1108 1109 5.9.001 (2010-10-07) 1110 - The problem of blank page for nobr table higher than a single page was fixed. 1111 1112 5.9.000 (2010-10-06) 1113 - Support for text stretching and spacing (tracking) was added, see example n. 63 and methods setFontStretching(), getFontStretching(), setFontSpacing(), getFontSpacing(). 1114 - Support for CSS properties 'font-stretch' and 'letter-spacing' was added (see example n. 63). 1115 - The cMargin state was replaced by cell_padding array that can be set/get using setCellPadding() and getCellPadding() methods. 1116 - Methods getCellPaddings() and setCellPaddings() were added to fine tune cell paddings (see example n. 5). 1117 - Methods getCellMargins() and setCellMargins() were added to fine tune cell margins (see example n. 5). 1118 - Method write1DBarcode() was improved to permit custom labels (see example n. 27). 1119 - Method ImagePngAlpha() now includes support for ImageMagick to improve performances. 1120 - XObject Template support was extended to support Multicell(), writeHTML() and writeHTMLCell() methods. 1121 - The signature of getNumLines() and getStringHeight() methods is changed. 1122 - Example n. 57 was updated. 1123 1124 // ------------------------------------------------------------------- 1125 1126 5.8.034 (2010-09-27) 1127 - A bug related to SetFont on XObject templates was fixed. 1128 1129 5.8.033 (2010-09-25) 1130 - A problem with Footer() and multiple columns was fixed. 1131 1132 5.8.032 (2010-09-22) 1133 - Bug #3073165 "Issues with changes to addHTMLVertSpace()" was fixed. 1134 1135 5.8.031 (2010-09-20) 1136 - Bug #3071961 "Spaces in HTML" was fixed. 1137 1138 5.8.030 (2010-09-17) 1139 - SVG support was improved and some bugs were fixed. 1140 1141 5.8.029 (2010-09-16) 1142 - A problem with HTML borders was fixed. 1143 1144 5.8.028 (2010-09-13) 1145 - Bug #3065224 "mcrypt_create_iv error on TCPDF 5.8.027 on PHP 5.3.2" was fixed. 1146 1147 5.8.027 (2010-09-13) 1148 - Bug #3065118 "mcrypt_decrypt error on TCPDF 5.8.026 on PHP 5.3.2" was fixed. 1149 1150 5.8.026 (2010-09-13) 1151 - A bug on addHTMLTOC() method was fixed. Note: be sure that the #TOC_PAGE_NUMBER# template has enough width to be printed correctly. 1152 1153 5.8.025 (2010-09-09) 1154 - Bug #3062692 "Textarea inside a table" was fixed. 1155 1156 5.8.024 (2010-09-08) 1157 - Bug #3062005 "Undefined variable: ann_obj_id" was fixed. 1158 1159 5.8.023 (2010-08-31) 1160 - Forms bug added on version 5.8.019 was fixed. 1161 1162 5.8.022 (2010-08-31) 1163 - Bug #3056632 "SVG rendered vertically flipped" was fixed. 1164 1165 5.8.021 (2010-08-30) 1166 - A new CID-0 'chinese' font was added for traditional Chinese. 1167 - Bug #3054287 'Inner tags are ignored due to "align" attribute' was fixed. 1168 1169 5.8.020 (2010-08-26) 1170 - CSS "catch-all" class selector is now supported. 1171 1172 5.8.019 (2010-08-26) 1173 - XObject Templates now includes support for links and annotations. 1174 - A problem related to link alignment on cell was fixed. 1175 - A problem related to SVG styles was fixed. 1176 1177 5.8.018 (2010-08-25) 1178 - Method getNumberOfColumns() was added. 1179 - A problem related to table header was fixed. 1180 - Method getSVGTransformMatrix() was fixed to apply SVG transformations in the correct order. 1181 - SVG support was improved and several bugs were fixed. 1182 1183 5.8.017 (2010-08-25) 1184 - This version includes support for XObject Templates (see the new example n. 62). 1185 - Methods starttemplate(), endTemplate() and printTemplate() were added (see the new example n. 62). 1186 1187 5.8.016 (2010-08-24) 1188 - Alignment problem on write2DBarcode was fixed. 1189 1190 5.8.015 (2010-08-24) 1191 - A problem arised with the latest bugfix was fixed. 1192 1193 5.8.014 (2010-08-23) 1194 - Method _getxobjectdict() was added for better compatibility with external extensions. 1195 - A bug related to radiobuttons was fixed. 1196 - Bug #3051509 "new line after punctuation marks" was fixed (partially). 1197 1198 5.8.013 (2010-08-23) 1199 - SVG support for 'direction' property was added. 1200 - A problem on default width calculation for linear barcodes was fixed. 1201 - New option was added to write1DBarcode() method to improve alignments (see example n. 27). 1202 - Bug #3050896 "Nested HTML tables: styles are not applied" was fixed. 1203 - Method _putresourcedict() was improved to include external XObject templates. 1204 1205 5.8.012 (2010-08-22) 1206 - Support for SVG 'text-anchor' property was added. 1207 1208 5.8.011 (2010-08-21) 1209 - Method write1DBarcode() was improved to be backward compatible (check the new example n. 27). 1210 - Support for CSS width and height properties on images were added. 1211 1212 5.8.010 (2010-08-20) 1213 - Documentation of unhtmlentities() was fixed. 1214 - The 'fitwidth' option was added and border color problem was fixed on write1DBarcode() method (check the example n. 27). 1215 1216 5.8.009 (2010-08-20) 1217 - Internal object numbering was improved. 1218 - Some errors in object encryption were fixed. 1219 1220 5.8.008 (2010-08-19) 1221 - Method write1DBarcode() was changed, check the example n. 27. 1222 - Method Footer() was changed to account for barcode changes. 1223 - Automatic calculation of K_PATH_URL constant was fixed on configuration file. 1224 - Method setEqualColumns() was fixed for $width=0 case. 1225 - Method AddTOC() was fixed for multipage and multicolumn modes. 1226 - Better support for SVG "font-family" property. 1227 - A problem on default Page Zoom mode was fixed. 1228 - Several Annotation bugs were fixed. 1229 1230 5.8.007 (2010-08-18) 1231 - A bug affecting HTML tables was fixed. 1232 - Bug #3047500 "SVG not rendering paths properly" was fixed. 1233 1234 5.8.006 (2010-08-17) 1235 - A bug affecting HTML table nesting was fixed. 1236 1237 5.8.005 (2010-08-17) 1238 - A bug affecting the HTML 'select' tag in certain conditions was fixed. 1239 1240 5.8.004 (2010-08-17) 1241 - Better support for HTML "font-family" property. 1242 - A bug related to HTML multicolumn was fixed. 1243 1244 5.8.003 (2010-08-16) 1245 - Better support for HTML "font-family" property. 1246 1247 5.8.002 (2010-08-14) 1248 - HTML alignments were improved 1249 - IMPORTANT: Default regular expression to find spaces has been changed to exclude the non-breaking-space (160 DEC- A0 HEX). If you are using setSpacesRE() method, please read the new documentation. 1250 - Example n. 1 was updated. 1251 1252 5.8.001 (2010-08-12) 1253 - Bug #3043650 "subsetchars incorrectly cached" was fixed. 1254 1255 5.8.000 (2010-08-11) 1256 - A control to avoid bookmarking page 0 was added. 1257 - addTOC() method now includes support for multicolumn mode. 1258 - Support for tables in multicolumn mode was improved. 1259 - Example n.10 was updated. 1260 - All trimming functions were replaced with stringLeftTrim(), stringRightTrim() and stringTrim(). 1261 - HTML alignments were improved. 1262 1263 ------------------------------------------------------------ 1264 1265 5.7.003 (2010-08-08) 1266 - Bug #3041263 "php source ending is bad" was fixed (all PHP files were updated, including fonts). 1267 1268 5.7.002 (2010-08-06) 1269 - Methods copyPage(), movePage() and deletePage() were changed to account for internal markings. 1270 1271 5.7.001 (2010-08-05) 1272 - Bug #3040105 "Broken PDF when using TOC (example 45)" was fixed. 1273 1274 5.7.000 (2010-08-03) 1275 - CSS borders are now supported for HTML tables and other block tags (see example n. 61); 1276 - Cell borders were improved (see example n. 57); 1277 - Minor bugs were fixed. 1278 1279 ------------------------------------------------------------ 1280 1281 5.6.000 (2010-07-31) 1282 - A bug with object IDs was fixes. 1283 - Performances were improved. 1284 1285 ------------------------------------------------------------ 1286 1287 5.5.015 (2010-07-29) 1288 - Automatic fix for unclosed self-closing tag. 1289 - Support for deprecated 's' and 'strike' tags was added. 1290 - Empty list items problem was fixed. 1291 1292 5.5.014 (2010-07-15) 1293 - Support for external images was improved. 1294 1295 5.5.013 (2010-07-14) 1296 - Bug #3029338 "FI and FO output destination filename bug" was fixed (previous fix was wrong). 1297 1298 5.5.012 (2010-07-14) 1299 - Bug #3029310 "Font baseline inconsistencies with line-height and font-size" was fixed. 1300 - Bug #3029338 "FI and FO output destination filename bug" was fixed. 1301 1302 5.5.011 (2010-07-09) 1303 - Support for multiple CSS classes was added. 1304 - The method getColumn() was added to return the current column number. 1305 - Some regular Expressions were fixed to be more compatible with UTF-8. 1306 1307 5.5.010 (2010-07-06) 1308 - Bug item #3025772 "Borders in all image functions are still flawed" was fixed. 1309 1310 5.5.009 (2010-07-05) 1311 - A problem related to last page footer was fixed. 1312 - Image alignments and fit-on-page features were improved. 1313 1314 5.5.008 (2010-07-02) 1315 - A problem on table header alignment in booklet mode was fixed. 1316 - Default graphic vars are now applied for setHeader(); 1317 1318 5.5.007 (2010-07-02) 1319 - Attribute "readonly" was added to input and textarea form fields. 1320 - Vertical alignment feature was added on MultiCell() method only for simple text mode (see example n. 5). 1321 - Text-Fit feature was added on MultiCell() method only for simple text mode (see example n. 5). 1322 1323 5.5.006 (2010-06-29) 1324 - getStringHeight() and getNumLines() methods were fixed. 1325 1326 5.5.005 (2010-06-28) 1327 - Bug #3022170 "getFontDescent() does not return correct descent value" was fixed. 1328 - Some problems with multicolumn mode were fixed. 1329 1330 5.5.004 (2010-06-27) 1331 - Bug #3021803 "SVG Border" was fixed. 1332 1333 5.5.003 (2010-06-26) 1334 - On Write() method, blank lines at the beginning of a page or column are now automatically removed. 1335 1336 5.5.002 (2010-06-24) 1337 - ToUnicode Identity-H name was replaced with a full CMap (to avoid preflight syntax error). 1338 - Bug #3020638 "str_split() not available in php4" was fixed. 1339 - Bug #3020665 "file_get_contents() too many parameters for php4" was fixed. 1340 1341 5.5.001 (2010-06-23) 1342 - A problem on image streams was fixed. 1343 1344 5.5.000 (2010-06-22) 1345 - Several PDF syntax errors (and related bugs) were fixed. 1346 - Bug #3019090 "/Length values are wrong if AES encryption is used" was fixed. 1347 1348 ------------------------------------------------------------ 1349 1350 5.4.003 (2010-06-19) 1351 - A problem related to page boxes was fixed. 1352 - Bug #3016920 "Font subsetting issues when editing pdf" was partially fixed (Note that flattening transparency layers is currently incompatible with TrueTypeUnicode fonts). 1353 1354 5.4.002 (2010-06-18) 1355 - A problem related with setProtection() method was fixed. 1356 1357 5.4.001 (2010-06-18) 1358 - A problem related with setProtection() method was fixed. 1359 1360 5.4.000 (2010-06-18) 1361 - The method setSignatureAppearance() was added, check the example n. 52. 1362 - Several problems related to font subsetting were fixed. 1363 1364 ------------------------------------------------------------ 1365 1366 5.3.010 (2010-06-15) 1367 - Previous release was corrupted. 1368 1369 5.3.009 (2010-06-15) 1370 - Bug #3015934 "Bullets don't display correctly" was fixed. 1371 1372 5.3.008 (2010-06-13) 1373 - This version fixes some problems of SVG rasterization. 1374 1375 5.3.007 (2010-06-13) 1376 - This version improves SVG support. 1377 1378 5.3.006 (2010-06-10) 1379 - This version includes a change in uniqid calls for backward compatibility with PHP4. 1380 1381 5.3.005 (2010-06-09) 1382 - The method getPageSizeFromFormat() was changed to include all standard page formats (includes 281 page formats + variation). 1383 1384 5.3.004 (2010-06-08) 1385 - Bug #3013291 "HTML table cell width" was fixed. 1386 - Bug #3013294 "HTML table cell alignment" was fixed. 1387 - The columns widths of HTML tables are now inherited from the first row. 1388 1389 5.3.003 (2010-06-08) 1390 - Bug #3013102 "HTML table header misaligned after page break" was fixed. 1391 1392 5.3.002 (2010-06-07) 1393 - The methods setFontSubsetting() and setFontSubsetting() were added to control the default font subsetting mode (see example n. 1). 1394 - Bug #3012596 "Whitespace should not appeared after use Thai top characters" was fixed. 1395 - Examples n. 1, 14, and 54 were updated. 1396 1397 5.3.001 (2010-06-06) 1398 - Barcode PDF417 was improved to support Macro Code Blocks (see example n. 50). 1399 1400 5.3.000 (2010-06-05) 1401 - License was changed to GNU-LGPLv3 (see the updated LICENSE.TXT file). 1402 - PDF417 barcode support was added (check the example n. 50). 1403 - The method write2DBarcode() was improved (some parameters were added and other changed - check example n. 50). 1404 1405 ------------------------------------------------------------ 1406 1407 5.2.000 (2010-06-02) 1408 - IMPORTANT: Support for font subsetting was added by default to reduce the size of documents using large unicode font files. 1409 If you embed the whole font in the PDF, the person on the other end can make changes to it even if he didn't have your font. 1410 If you subset the font, file size of the PDF will be smaller but the person who receives your PDF would need to have your same font in order to make changes to your PDF. 1411 - The signature of the SetFont() and AddFont() methods were changed to include the font subsetting option (subsetting is applied by default). 1412 - Examples 14 and 54 were updated. 1413 1414 ------------------------------------------------------------ 1415 1416 5.1.002 (2010-05-27) 1417 - Bug #3007818 "SetAutoPageBreak fails with MultiCell" was fixed. 1418 - A bug related to MultiCell() minimun height was fixed. 1419 1420 5.1.001 (2010-05-26) 1421 - The problem of blank page after table was fixed. 1422 1423 5.1.000 (2010-05-25) 1424 - This version includes support for CSS (Cascading Style Sheets) (see example n. 61). 1425 - The convertHTMLColorToDec() method was improved. 1426 1427 ------------------------------------------------------------ 1428 1429 5.0.014 (2010-05-21) 1430 - A problem on color and style of HTML links was fixed. 1431 - A bug relative to gradients was fixed. 1432 - The getStringHeight() method was added and getNumLines() method was improved. 1433 - All examples were updated. 1434 1435 5.0.013 (2010-05-19) 1436 - A bug related to page-breaks and table cells was fixed. 1437 1438 5.0.012 (2010-05-19) 1439 - Page orientation bug was fixed. 1440 - The access to method setPageFormat() was changed to 'protected' because it is not intended to be directly called. 1441 1442 5.0.011 (2010-05-19) 1443 - Page orientation bug was fixed. 1444 - Bug #3003966 "Multiple columns and nested lists" was fixed. 1445 1446 5.0.010 (2010-05-17) 1447 - The methods setPageFormat(), setPageOrientation() and related methods were extended to include page boxes, page rotations and page transitions. 1448 - The method setPageBoxes() was added to set page boundaries (MediaBox, CropBox, BleedBox, TrimBox, ArtBox); 1449 - A bug relative to underline, overline and linethrough was fixed. 1450 1451 5.0.009 (2010-05-16) 1452 - Bug #3002381 "Multiple columns and nested lists" was fixed. 1453 1454 5.0.008 (2010-05-15) 1455 - Bug "Columns WriteHTML and Justification" was fixed. 1456 1457 5.0.007 (2010-05-14) 1458 - Bug #3001347 "Bug when using WriteHTML with setEqualColumns()" was fixed. 1459 - Bug #3001505 "problem with sup and sub tags at the beginning of a line" was fixed. 1460 1461 5.0.006 (2010-05-13) 1462 - Length of hr tag was fixed. 1463 - An error on 2d barcode method was fixed. 1464 1465 5.0.005 (2010-05-12) 1466 - WARNING: The logic of permissions on the SetProtection() method has been inverted and extended (see example 16). Now you have to specify the features you want to block. 1467 - SetProtection() method was extended to support RSA and AES 128 encryption and public-keys (see example 16). 1468 - Bug #2999489 "setEqualColumns() and TOC uses wrong columns" was fixed (see the example 10). 1469 1470 5.0.004 (2010-05-10) 1471 - HTML line alignment when using sub and sup tags was fixed. 1472 1473 5.0.003 (2010-05-07) 1474 - Horizontal alignment was fixed for images and barcodes. Now the X coordinate is always relative to the left margin. Use GetAbsX() instead of GetX() to get the X relative to left margin. 1475 - Header() method was changed to account for new image alignment rules. 1476 1477 5.0.002 (2010-05-06) 1478 - Bookmark() and related methods were fixed to accept HTML code. 1479 - A problem on HTML links was fixed. 1480 1481 5.0.001 (2010-05-06) 1482 - Protected method _putstream was re-added for backward compatibility. 1483 - The following method were added to display HTML Table Of Content (see example n. 59): 1484 addTOCPage(), endTOCPage(), addHTMLTOC(). 1485 1486 5.0.000 (2010-05-05) 1487 - Method ImageSVG() was added to embedd SVG images (see example n. 58). Note that not all SVG images are supported. 1488 - Method setRasterizeVectorImages() was added to enable/disable rasterization for vector images via ImageMagick library. 1489 - Method RoundedRectXY() was added. 1490 - Method PieSectorXY() was added. 1491 - Gradient() method is now public and support new features. 1492 - Shading to transparency is now supported. 1493 - Image alignments were fixed. 1494 - Support for dynamic images were improved. 1495 - PDF_IMAGE_SCALE_RATIO has been changed to 1.25 for better compatibility with SVG. 1496 - RAW and RAW2 modes were added to 2D Barcodes (see example n. 50). 1497 - Automatic padding feature was added on barcodes (see examples n. 27 and 50). 1498 - Bug #2995003 "Reproduced thead bug" was fixed. 1499 - The Output() method now accepts FI and FD destinations to save the document on server before sending it to the client. 1500 - Ellipse() method was improved and fixed (see page 2 of example n. 12). 1501 1502 ------------------------------------------------------------ 1503 1504 4.9.018 (2010-04-21) 1505 - Bug item #2990356 "Current font size not respected with more than two HTML <p>" was fixed. 1506 1507 4.9.017 (2010-04-21) 1508 - Bug item #2990224 "Different behaviour for equivalent HTML strings" was fixed. 1509 - Bug item #2990314 "Dash is not appearing with SHY character" was fixed. 1510 1511 4.9.016 (2010-04-20) 1512 - An error on htmlcolors.php was fixed. 1513 - getImageFileType() method was improved. 1514 - GIF images with transparency are now better supported. 1515 - Automatic page orientation was improved. 1516 1517 4.9.015 (2010-04-20) 1518 - A new method copyPage() was added to clone pages (see example n. 44). 1519 - Support for text overline was added. 1520 - Underline and linethrough methods were fixed. 1521 - Bug #2989058 "SHY character causes unnecessary word-wrapping" was fixed. 1522 1523 4.9.014 (2010-04-18) 1524 - Bug item #2988845 was fixed. 1525 1526 4.9.013 (2010-04-15) 1527 - Image() and ImageEPS() methods were fixed and improved; $fitonpage parameter was added. 1528 1529 4.9.012 (2010-04-12) 1530 - The hyphenateText() method was added to automatically hyphenate text (see example n. 46). 1531 1532 4.9.011 (2010-04-07) 1533 - Vertical alignments for Cell() method were improved (see example n. 57). 1534 1535 4.9.010 (2010-04-06) 1536 - Signature of Cell() method now includes new parameters for vertical alignment (see example n. 57). 1537 - Text() method was extended to include all Cell() parameters. 1538 - HTML line alignment procedure was changed to fix some bugs. 1539 1540 4.9.009 (2010-04-05) 1541 - Text() method was fixed for backward compatibility. 1542 1543 4.9.008 (2010-04-03) 1544 - Additional line space after table header was removed. 1545 - Support for HTML lists in multicolumn mode was added. 1546 - The method setTextRenderingMode() was added to set text rendering modes (see the example n. 26). 1547 - The following HTML attributes were added to set text rendering modes (see the example n. 26): stroke, strokecolor, fill. 1548 1549 4.9.007 (2010-04-03) 1550 - Font Descent computation was fixed (patch #2981441). 1551 1552 4.9.006 (2010-04-02) 1553 - The constant K_TCPDF_CALLS_IN_HTML was added on configuration file to enable/disable the ability to call TCPDF methods in HTML. 1554 - The usage of tcpdf tag in HTML mode was changed to remove the possible security flaw offered by the eval() function (thanks to Matthias Hecker for spotting this security problem). See the new example n. 49 for further information. 1555 1556 4.9.005 (2010-04-01) 1557 - Bug# 2980354 "Wrong File attachment description with security" was fixed. 1558 - Several problems with HTML line alignment were fixed. 1559 - The constant K_THAI_TOPCHAR was added on configuration file to enable/disable the special procedure used to avoid the overlappind of symbols on Thai language. 1560 - A problem with font name directory was fixed. 1561 - A bug on _destroy() method was fixed. 1562 1563 4.9.004 (2010-03-31) 1564 - Patch #979681 "GetCharWidth - default character width" was applied (bugfix). 1565 1566 4.9.003 (2010-03-30) 1567 - Problem of first <br /> on multiple columns was fixed. 1568 - HTML line alignment was fixed. 1569 - A QR-code bug was fixed. 1570 1571 4.9.002 (2010-03-29) 1572 - Patch #2978349 "$ignore_min_height is ignored in function Cell()" was applied. 1573 - Bug #2978607 "2D Barcodes are wrong" was fixed. 1574 - A problem with HTML block tags was fixed. 1575 - Artificial italic for CID-0 fonts was added. 1576 - Several multicolumn bugs were fixed. 1577 - Support for HTML tables on multicolumn was added. 1578 1579 4.9.001 (2010-03-28) 1580 - QR Code minor bug was fixed. 1581 - Multicolumn mode was added (see the new example n. 10). 1582 - The following methods were added: setEqualColumns(), setColumnsArray(), selectColumn(). 1583 - Thai diacritics support were changed (note that this is incompatible with html justification). 1584 1585 4.9.000 (2010-03-27) 1586 - QR Code (2D barcode) support was added (see example n. 50). 1587 - The following methods were added to print crop and registration marks (see example n. 56): colorRegistrationBar(), cropMark(), registrationMark(). 1588 - Limited support for CSS line-height property was added. 1589 - Gradient method now supports Gray, RGB and CMYK space color. 1590 - Example n. 51 was updated. 1591 - Vertical alignment of font inside cell was fixed. 1592 - Support for multiple Thai diacritics was added. 1593 - Bug item #2974929 "Duplicate case values" was fixed. 1594 - Bug item #2976729 "File attachment not working with security" was fixed. 1595 1596 ------------------------------------------------------------ 1597 1598 4.8.039 (2010-03-20) 1599 - Problems related to custom locale settings were fixed. 1600 - Problems related to HTML on Header and Footer were fixed. 1601 1602 4.8.038 (2010-03-13) 1603 - Various bugs related to page-break in HTML mode were fixed. 1604 - Bug item #2968974 "Another <thead> pagebreak problem" was fixed. 1605 - Bug item #2969276 "justification problem" was fixed. 1606 - Bug item #2969289 "bug when using justified text and custom headers" was fixed. 1607 - Images are now automatically resized to be contained on the page. 1608 - Some HTML line alignments were fixed. 1609 - Signature of AddPage() and SetMargins() methods were changed to include an option to set default page margins. 1610 1611 4.8.037 (2010-03-03) 1612 - Bug item #2962068 was fixed. 1613 - Bug item #2967017 "Problems with <thead> and pagebreaks" was fixed. 1614 - Bug item #2967023 "table header lost with pagebreak" was fixed. 1615 - Bug item #2967032 "Header lost with nested tables" was fixed. 1616 1617 4.8.036 (2010-02-24) 1618 - Automatic page break for HTML images was improved. 1619 - Example 10 was updated. 1620 - Japanese was removed from example 8 because the freeserif font doesn't contain japanese (you can display it using arialunicid0 font). 1621 1622 4.8.035 (2010-02-23) 1623 - Automatic page break for HTML images was added. 1624 - Support for multicolumn HTML was added (example 10 was updated). 1625 1626 4.8.034 (2010-02-17) 1627 - Language files were updated. 1628 1629 4.8.033 (2010-02-12) 1630 - A bug related to protection mode with links was fixed. 1631 1632 4.8.032 (2010-02-04) 1633 - A bug related to $maxh parameter on Write() and MultiCell() was fixed. 1634 - Support for body tag was added. 1635 1636 4.8.031 (2010-01-30) 1637 - Bug item #2941589 "paragraph justify not working on some non-C locales" was fixed. 1638 1639 4.8.030 (2010-01-27) 1640 - Some text alignment cases were fixed. 1641 1642 4.8.029 (2010-01-27) 1643 - Bug item #2941057 "TOC Error in PDF File Output" was fixed. 1644 - Some text alignment cases were fixed. 1645 1646 4.8.028 (2010-01-26) 1647 - Text alignment for RTL mode was fixed. 1648 1649 4.8.027 (2010-01-25) 1650 - Bug item #2938412 "Table related problems - thead, nobr, table width" was fixed. 1651 1652 4.8.026 (2010-01-19) 1653 - The misspelled word "lenght" was replaced with "length" in some variables and comments. 1654 1655 4.8.025 (2010-01-18) 1656 - addExtGState() method was improved to reuse existing ExtGState objects. 1657 1658 4.8.024 (2010-01-15) 1659 - Justification mode for HTML was fixed (Bug item #2932470). 1660 1661 4.8.023 (2010-01-15) 1662 - Bug item #2932470 "Some HTML entities breaks justification" was fixed. 1663 1664 4.8.022 (2010-01-14) 1665 - Source code documentation was fixed. 1666 1667 4.8.021 (2010-01-03) 1668 - A Bug relative to Table Of Content index was fixed. 1669 1670 4.8.020 (2009-12-21) 1671 - Bug item #2918545 "Display problem of the first row of a table with larger font" was fixed. 1672 - A Bug relative to table rowspan mode was fixed. 1673 1674 4.8.019 (2009-12-16) 1675 - Bug item #2915684 "Image size" was fixed. 1676 - Bug item #2914995 "Image jpeg quality" was fixed. 1677 - The signature of the Image() method was changed (check the documentation for the $resize parameter). 1678 1679 4.8.018 (2009-12-15) 1680 - Bug item #2914352 "write error" was fixed. 1681 1682 4.8.017 (2009-11-27) 1683 - THEAD problem when table is used on header/footer was fixed. 1684 - A first line alignment on HTML justification was fixed. 1685 - Method getImageFileType() was added. 1686 - Images with unknown extension and type are now supported via ImageMagick PHP extension. 1687 1688 4.8.016 (2009-11-21) 1689 - Document Information Dictionary was fixed. 1690 - CSS attributes 'page-break-before', 'page-break-after' and 'page-break-inside' are now supported. 1691 - Problem of unclosed last page was fixed. 1692 - Problem of 'thead' unnecessarily repeated on the next page was fixed. 1693 1694 4.8.015 (2009-11-20) 1695 - A problem with some PNG transparency images was fixed. 1696 - Bug #2900762 "Sort issues in Bookmarks" was fixed. 1697 - Text justification was fixed for various modes: underline, strikeout and background. 1698 1699 4.8.014 (2009-11-04) 1700 - Bug item #2891316 "writeHTML, underlining replacing spaces" was fixed. 1701 - The handling of temporary RTL text direction mode was fixed. 1702 1703 4.8.013 (2009-10-26) 1704 - Bug item #2884729 "Problem with word-wrap and hyphen" was fixed. 1705 1706 4.8.012 (2009-10-23) 1707 - Table cell alignments for RTL booklet mode were fixed. 1708 - Images and barcode alignments for booklet mode were fixed. 1709 1710 4.8.011 (2009-10-22) 1711 - DejaVu fonts were updated to latest version. 1712 1713 4.8.010 (2009-10-21) 1714 - Bookmark for TOC page was added. 1715 - Signature of addTOC() method is changed. 1716 - Bookmarks are now automatically sorted by page and Y position. 1717 - Example n. 45 was updated. 1718 - Example n. 55 was added to display all charactes available on core fonts. 1719 1720 4.8.009 (2009-09-30) 1721 - Compatibility with PHP 5.3 was improved. 1722 - All examples were updated. 1723 - Index file for examples was added. 1724 1725 4.8.008 (2009-09-29) 1726 - Example 49 was updated. 1727 - Underline and linethrough now works with cell stretching mode. 1728 1729 4.8.007 (2009-09-23) 1730 - Infinite loop problem caused by nobr attribute was fixed. 1731 1732 4.8.006 (2009-09-23) 1733 - Bug item #2864522 "No images if DOCUMENT_ROOT=='/'" was fixed. 1734 - Support for text-indent CSS attribute was added. 1735 - Method rollbackTransaction() was changed to support self-reassigment of previous object (check source code documentation). 1736 - Support for the HTML "nobr" attribute was added to avoid splitting a table or a table row on two pages (i.e.: <tr nobr="true">...</tr>). 1737 1738 4.8.005 (2009-09-17) 1739 - A bug relative to multiple transformations and annotations was fixed. 1740 1741 4.8.004 (2009-09-16) 1742 - A bug on _putannotsrefs() method was fixed. 1743 1744 4.8.003 (2009-09-15) 1745 - Bug item #2858754 "Division by zero" was fixed. 1746 - A bug relative to HTML list items was fixed. 1747 - A bug relative to form fields on multiple pages was fixed. 1748 - PolyLine() method was added (see example n. 12). 1749 - Signature of Polygon() method was changed. 1750 1751 4.8.002 (2009-09-12) 1752 - A problem related to CID-0 fonts offset was fixed: if the $cw[1] entry on the CID-0 font file is not defined, then a CID keys offset is introduced. 1753 1754 4.8.001 (2009-09-09) 1755 - The appearance streams (AP) for anotations form fields was fixed (see examples n. 14 and 54). 1756 - Radiobuttons were fixed. 1757 1758 4.8.000 (2009-09-07) 1759 - This version includes some support for Forms fields (see example n. 14) and XHTML forms (see example n. 54). 1760 - The following methods were changed to work without JavaScript: TextField(), RadioButton(), ListBox(), ComboBox(), CheckBox(), Button(). 1761 - Support for Widget annotations was improved. 1762 - Alignment of annotation objects was fixed (examples 36 and 41 were updated). 1763 - addJavascriptObject() method was added. 1764 - Signature of Image() method was changed. 1765 - htmlcolors.php file was updated. 1766 1767 ------------------------------------------------------------ 1768 1769 4.7.003 (2009-09-03) 1770 - Support for TCPDF methods on HTML was improved (see example n. 49). 1771 1772 4.7.002 (2009-09-02) 1773 - Bug item #2848892 "writeHTML + table: Gaps between rows" was fixed. 1774 - JavaScript support was fixed (see example n. 53). 1775 1776 4.7.001 (2009-08-30) 1777 - The Polygon() and Arrow() methods were fixed and improved (see example n. 12). 1778 1779 4.7.000 (2009-08-29) 1780 - This is a major release. 1781 - Some procedures were internally optimized. 1782 - The problem of mixed signature and annotations was fixed (example n. 52). 1783 1784 4.6.030 (2009-08-29) 1785 - IMPORTANT: percentages on table cell widths are now relative to the full table width (as in standard HTML). 1786 - Various minor bugs were fixed. 1787 - Example n. 52 (digital signature) was updated. 1788 1789 4.6.029 (2009-08-26) 1790 - PHP4 version was fixed. 1791 1792 4.6.028 (2009-08-25) 1793 - Signature algorithm was finally fixed (see example n. 52). 1794 1795 4.6.027 (2009-08-24) 1796 - TCPDF now supports unembedded TrueTypeUnicode Fonts (just comment the $file entry on the fonts' php file. 1797 1798 4.6.026 (2009-08-21) 1799 - Bug #2841693 "Problem with MultiCell and ishtml and justification" was fixed. 1800 - Signature functions were improved but not yet fixed (tcpdf.crt and example n. 52 were updated). 1801 1802 4.6.025 (2009-08-17) 1803 - Carriage returns (\r) were removed from source code. 1804 - Problem related to set_magic_quotes_runtime() depracated was fixed. 1805 1806 4.6.024 (2009-08-07) 1807 - Bug item #2833556 "justification using other units than mm" was fixed. 1808 - Documentation was fixed/updated. 1809 1810 4.6.023 (2009-08-02) 1811 - Bug item #2830537 "MirrorH can show mask for transparent PNGs" was fixed. 1812 1813 4.6.022 (2009-07-24) 1814 - A bug relative to single line printing when using WriteHTMLCell() was fixed. 1815 - Signature support were improved but is still experimental. 1816 - Fonts Free and Dejavu were updated to latest versions. 1817 1818 4.6.021 (2009-07-20) 1819 - Bug item #2824015 "XHTML Ampersand & in hyperlink bug" was fixed. 1820 - Bug item #2824036 "Image as hyperlink in table, text displaced at page break" was fixed. 1821 - Links alignment on justified text was fixed. 1822 - Unicode "\u" modifier was added to re_spaces variable by default. 1823 1824 4.6.020 (2009-07-16) 1825 - Bug item #2821921 "issue in example 18" was fixed. 1826 - Signature of SetRTL() method was changed. 1827 1828 4.6.019 (2009-07-13) 1829 - Bug item #2820703 "xref table broken" was fixed. 1830 1831 4.6.018 (2009-07-10) 1832 - Bug item #2819319 "Text over text" was fixed. 1833 - Method Arrow() was added to print graphic arrows (example 12 was updated). 1834 1835 4.6.017 (2009-07-05) 1836 - Bug item #2816079 "Example 48 not working" was fixed. 1837 - The signature of the checkPageBreak() was changed. The parameter $addpage was added to turn off the automatic page creation. 1838 1839 4.6.016 (2009-06-16) 1840 - Method setSpacesRE() was added to set the regular expression used for detecting withespaces or word separators. If you are using chinese, try: setSpacesRE('/[\s\p{Z}\p{Lo}]/');, otherwise you can use setSpacesRE('/[\s\p{Z}]/'); 1841 - The method _putinfo() now automatically fills the metadata with '?' in case of empty string. 1842 1843 4.6.015 (2009-06-11) 1844 - Bug #2804667 "word wrap bug" was fixed. 1845 1846 4.6.014 (2009-06-04) 1847 - Bug #2800931 "Table thead tag bug" was fixed. 1848 - A bug related to <pre> tag was fixed. 1849 1850 4.6.013 (2009-05-28) 1851 - List bullets position was fixed for RTL languages. 1852 1853 4.6.012 (2009-05-23) 1854 - setUserRights() method doesn't work anymore unless you call the setSignature() method with the Adobe private key! 1855 1856 4.6.011 (2009-05-18) 1857 - Signature of the Image() method was changed to include the new $fitbox parameter (see source code documentation). 1858 1859 4.6.010 (2009-05-17) 1860 - 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. 1861 - <tcpdf> tag indent problem was fixed. 1862 - $y parameter was added to checkPageBreak() method. 1863 - Bug n. 2791773 "writeHTML" was fixed. 1864 1865 4.6.009 (2009-05-13) 1866 - xref table for embedded files was fixed. 1867 1868 4.6.008 (2009-05-07) 1869 - setSignature() method was improved (but is still experimental). 1870 - Example n. 52 was added. 1871 1872 4.6.007 (2009-05-05) 1873 - Bug #2786685 "writeHtmlCell and <br /> in custom footer" was fixed. 1874 - Table header repeating bug was fixed. 1875 - Some newlines and tabs are now automatically removed from HTML strings. 1876 1877 4.6.006 (2009-04-28) 1878 - Support for "<a name="...">...</a>" was added. 1879 - By default TCPDF requires PCRE Unicode support turned on but now works also without it (with limited ability to detect some Unicode blank spaces). 1880 1881 4.6.005 (2009-04-25) 1882 - Points (pt) conversion in getHTMLUnitToUnits() was fixed. 1883 - Default tcpdf.pem certificate file was added. 1884 - 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). 1885 1886 4.6.004 (2009-04-23) 1887 - Method deletePage() was added to delete pages (see example n. 44). 1888 1889 4.6.003 (2009-04-21) 1890 - The caching mechanism of the UTF8StringToArray() method was fixed. 1891 1892 4.6.002 (2009-04-20) 1893 - Documentation of rollbackTransaction() method was fixed. 1894 - The setImageScale() and getImageScale() methods now set and get the adjusting parameter used by pixelsToUnits() method. 1895 - HTML images now support other units of measure than pixels (getHTMLUnitToUnits() is now used instead of pixelsToUnits()). 1896 - WARNING: PDF_IMAGE_SCALE_RATIO has been changed by default to 1. 1897 1898 4.6.001 (2009-04-17) 1899 - Spaces between HTML block tags are now automatically removed. 1900 - The bug related to cMargin changes between tables was fixed. 1901 1902 4.6.000 (2009-04-16) 1903 - WARNING: THIS VERSION CHANGES THE BEHAVIOUR OF $x and $y parameters for several TCPDF methods: 1904 zero coordinates for $x and $y are now valid coordinates; 1905 set $x and $y as empty strings to get the current value. 1906 - Some error caused by 'empty' funtion were fixed. 1907 - Default color for convertHTMLColorToDec() method was changed to white and the return value for invalid color is false. 1908 - HTML on footer bug was fixed. 1909 - The following examples were fixed: 5,7,10,17,19,20,21,33,42,43. 1910 1911 4.5.043 (2009-04-15) 1912 - Barcode class (barcode.php) was extended to include new linear barcode types (see example n. 27): 1913 C39 : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9 1914 C39+ : CODE 39 with checksum 1915 C39E : CODE 39 EXTENDED 1916 C39E+ : CODE 39 EXTENDED + CHECKSUM 1917 C93 : CODE 93 - USS-93 1918 S25 : Standard 2 of 5 1919 S25+ : Standard 2 of 5 + CHECKSUM 1920 I25 : Interleaved 2 of 5 1921 I25+ : Interleaved 2 of 5 + CHECKSUM 1922 C128A : CODE 128 A 1923 C128B : CODE 128 B 1924 C128C : CODE 128 C 1925 EAN2 : 2-Digits UPC-Based Extention 1926 EAN5 : 5-Digits UPC-Based Extention 1927 EAN8 : EAN 8 1928 EAN13 : EAN 13 1929 UPCA : UPC-A 1930 UPCE : UPC-E 1931 MSI : MSI (Variation of Plessey code) 1932 MSI+ : MSI + CHECKSUM (modulo 11) 1933 POSTNET : POSTNET 1934 PLANET : PLANET 1935 RMS4CC : RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code) 1936 KIX : KIX (Klant index - Customer index) 1937 IMB: Intelligent Mail Barcode - Onecode - USPS-B-3200 (NOTE: requires BCMath PHP extension) 1938 CODABAR : CODABAR 1939 CODE11 : CODE 11 1940 PHARMA : PHARMACODE 1941 PHARMA2T : PHARMACODE TWO-TRACKS 1942 1943 4.5.042 (2009-04-15) 1944 - Method Write() was fixed for the strings containing only zero value. 1945 1946 4.5.041 (2009-04-14) 1947 - Barcode methods were fixed. 1948 1949 4.5.040 (2009-04-14) 1950 - Method Write() was fixed to handle empty strings. 1951 1952 4.5.039 (2009-04-11) 1953 - Support for linear barcodes was extended (see example n. 27 and barcodes.php documentation). 1954 1955 4.5.038 (2009-04-10) 1956 - Write() method was improved to support separators for Japanese, Korean, Chinese Traditional and Chinese Simplified. 1957 1958 4.5.037 (2009-04-09) 1959 - General performances were improved. 1960 - The signature of the method utf8Bidi() was changed. 1961 - The method UniArrSubString() was added. 1962 - Experimental support for 2D barcodes were added (see example n. 50 and 2dbarcodes.php class). 1963 1964 4.5.036 (2009-04-03) 1965 - TCPDF methods can be called inside the HTML code (see example n. 49). 1966 - All tag attributes, such as <p align="center"> must be enclosed within double quotes. 1967 1968 4.5.035 (2009-03-28) 1969 - Bug #2717436 "writeHTML rowspan problem (continued)" was fixed. 1970 - Bug #2719090 "writeHTML fix follow up" was fixed. 1971 - 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. 1972 1973 4.5.034 (2009-03-27) 1974 - Bug #2716914 "Bug writeHTML of a table in body and footer related with pb" was fixed. 1975 - Bug #2717056 ] "writeHTML problem when setting tr style" was fixed. 1976 - The signature of the Cell() method was changed. 1977 1978 4.5.033 (2009-03-27) 1979 - The support for rowspan/colspan on HTML tables was improved (see example n. 48). 1980 1981 4.5.032 (2009-03-23) 1982 - setPrintFooter(false) bug was fixed. 1983 1984 4.5.031 (2009-03-20) 1985 - Table header support was extended to multiple pages. 1986 1987 4.5.030 (2009-03-20) 1988 - thead tag is now supported on HTML tables (header rows are repeated after page breaks). 1989 - The startTransaction() was improved to autocommit. 1990 - List bullets now uses the foreground color (putHtmlListBullet()). 1991 1992 4.5.029 (2009-03-19) 1993 - The following methods were added to UNDO commands (see example 47): startTransaction(), commitTransaction(), rollbackTransaction(). 1994 - All examples were updated. 1995 1996 4.5.028 (2009-03-18) 1997 - Bug #2690945 "List Bugs" was fixed. 1998 - HTML text alignment on lists was fixed. 1999 - The constant PDF_FONT_MONOSPACED was added to the configuration file to define the default monospaced font. 2000 - The following methods were fixed: getPageWidth(), getPageHeight(), getBreakMargin(). 2001 - All examples were updated. 2002 2003 4.5.027 (2009-03-16) 2004 - Method getPageDimensions() was added to get page dimensions. 2005 - The signature of the following methos were changed: getPageWidth(), getPageHeight(), getBreakMargin(). 2006 - _parsepng() method was fixed for PNG URL images (fread bug). 2007 2008 4.5.026 (2009-03-11) 2009 - Bug #2681793 affecting URL images with spaces was fixed. 2010 2011 4.5.025 (2009-03-10) 2012 - A small bug affecting hyphenation support was fixed. 2013 - The method SetDefaultMonospacedFont() was added to define the default monospaced font. 2014 2015 4.5.024 (2009-03-07) 2016 - The bug #2666493 was fixed "Footer corrupts document". 2017 2018 4.5.023 (2009-03-06) 2019 - The bug #2666688 was fixed "Rowspan in tables". 2020 2021 4.5.022 (2009-03-05) 2022 - The bug #2659676 was fixed "refer to #2157099 test 4 < BR > problem still not fixed". 2023 - addTOC() function bug was fixed. 2024 2025 4.5.020 (2009-03-03) 2026 - The following bug was fixed: "function removeSHY corrupts unicode". 2027 2028 4.5.019 (2009-02-28) 2029 - The problem of decimal separator using different locale was fixed. 2030 - The text hyphenation is now supported (see example n. 46). 2031 2032 4.5.018 (2009-02-26) 2033 - The _destroy() method was added to unset all class variables and frees memory. 2034 - Now it's possible to call Output() method multiple times. 2035 2036 4.5.017 (2009-02-24) 2037 - A minor bug that raises a PHP warning was fixed. 2038 2039 4.5.016 (2009-02-24) 2040 - Bug item #2631200 "getNumLines() counts wrong" was fixed. 2041 - Multiple attachments bug was fixed. 2042 - All class variables are now cleared on Output() for memory otpimization. 2043 2044 4.5.015 (2009-02-18) 2045 - Bug item #2612553 "function Write() must not break a line on character" was fixed. 2046 2047 4.5.014 (2009-02-13) 2048 - Bug item #2595015 "POSTNET Barcode Checksum Error" was fixed (on barcode.php). 2049 - Pagebreak bug for barcode was fixed. 2050 2051 4.5.013 (2009-02-12) 2052 - border attribute is now supported on HTML images (only accepts the same values accepted by Cell()). 2053 2054 4.5.012 (2009-02-12) 2055 - An error on image border feature was fixed. 2056 2057 4.5.011 (2009-02-12) 2058 - HTML links for images are now supported. 2059 - height attribute is now supported on HTML cells. 2060 - $border parameter was added to Image() and ImageEps() methods. 2061 - The method getNumLines() was added to estimate the number of lines required for the specified text. 2062 2063 4.5.010 (2009-01-29) 2064 - Bug n. 2546108 "BarCode Y position" was fixed. 2065 2066 4.5.009 (2009-01-26) 2067 - Bug n. 2538094 "Empty pdf file created" was fixed. 2068 2069 4.5.008 (2009-01-26) 2070 - setPage() method was fixed to correctly restore graphic states. 2071 - Source code was cleaned up for performances. 2072 2073 4.5.007 (2009-01-24) 2074 - checkPageBreak() and write1DBarcode() methods were fixed. 2075 - Source code was cleaned up for performances. 2076 - barcodes.php was updated. 2077 2078 4.5.006 (2009-01-23) 2079 - getHTMLUnitToPoints() method was replaced by getHTMLUnitToUnits() to fix HTML units bugs. 2080 2081 4.5.005 (2009-01-23) 2082 - Page closing bug was fixed. 2083 2084 4.5.004 (2009-01-21) 2085 - The access of convertHTMLColorToDec() method was changed to public 2086 - Fixed bug on UL tag. 2087 2088 4.5.003 (2009-01-19) 2089 - Fonts on different folders are now supported. 2090 2091 4.5.002 (2009-01-07) 2092 - addTOC() function was improved (see example n. 45). 2093 2094 4.5.001 (2009-01-04) 2095 - The signature of startPageGroup() function was changed. 2096 - Method Footer() was improved to automatically print page or page-group number (see example n. 23). 2097 - Protected method formatTOCPageNumber() was added to customize the format of page numbers on the Table Of Content. 2098 - The signature of addTOC() was changed to include the font used for page numbers. 2099 2100 4.5.000 (2009-01-03) 2101 - A new $diskcache parameter was added to class constructor to enable disk caching and reduce RAM memory usage (see example n. 43). 2102 - The method movePageTo() was added to move pages to previous positions (see example n. 44). 2103 - The methods getAliasNumPage() and getPageNumGroupAlias() were added to get the alias for page number (needed when using movepageTo()). 2104 - The methods addTOC() was added to print a Table Of Content (see example n. 45). 2105 - Imagick class constant was removed for better compatibility with PHP4. 2106 - All existing examples were updated and new examples were added. 2107 2108 4.4.009 (2008-12-29) 2109 - Examples 1 and 35 were fixed. 2110 2111 4.4.008 (2008-12-28) 2112 - Bug #2472169 "Unordered bullet size not adjusted for unit type" was fixed. 2113 2114 4.4.007 (2008-12-23) 2115 - Bug #2459935 "no unit conversion for header line" was fixed. 2116 - Example n. 42 for image alpha channel was added. 2117 - All examples were updated. 2118 2119 4.4.006 (2008-12-11) 2120 - Method setLIsymbol() was changed to reflect latest changes in HTML list handling. 2121 2122 4.4.005 (2008-12-10) 2123 - Bug item #2413870 "ordered list override value" was fixed. 2124 2125 4.4.004 (2008-12-10) 2126 - The protected method getHTMLUnitToPoints() was added to accept various HTML units of measure (em, ex, px, in, cm, mm, pt, pc, %). 2127 - The method intToRoman() was added to convert integer number to Roman representation. 2128 - Support fot HTML lists was improved: the CSS property list-style-type is now supported. 2129 2130 4.4.003 (2008-12-09) 2131 - Bug item #2412147 "Warning on line 3367" was fixed. 2132 - Method setHtmlLinksStyle() was added to set default HTML link colors and font style. 2133 - Method addHtmlLink() was changed to use color and style defined on the inline CSS. 2134 2135 4.4.002 (2008-12-09) 2136 - Borders on Multicell() were fixed. 2137 - Problem of Multicell() on Header function (Bug item #2407579) was fixed. 2138 - Problem on graphics tranformations applied to Multicell() was fixed. 2139 - Support for ImageMagick was added. 2140 - Width calculation for nested tables was fixed. 2141 2142 4.4.001 (2008-12-08) 2143 - Some missing core fonts were added on fonts directory. 2144 - CID0 fonts rendering was fixed. 2145 - HTML support was improved (<pre> and <tt> tags are now supported). 2146 - Bug item #2406022 "Left padding bug in MultiCell with maxh" was fixed. 2147 2148 4.4.000 (2008-12-07) 2149 - File attachments are now supported (see example n. 41). 2150 - Font functions were optimized to reduce document size. 2151 - makefont.php was updated. 2152 - Linux binaries were added on /fonts/utils 2153 - All fonts were updated. 2154 - $autopadding parameter was added to Multicell() to disable automatic padding features. 2155 - $maxh parameter was added to Multicell() and Write() to set a maximum height. 2156 2157 4.3.009 (2008-12-05) 2158 - Bug item #2392989 (Custom header + setlinewidth + cell border bug) was fixed. 2159 2160 4.3.008 (2008-12-05) 2161 - Bug item #2390566 "rect bug" was fixed. 2162 - File path was fixed for font embedded files. 2163 - SetFont() method signature was changed to include the font filename. 2164 - Some font-related methods were improved. 2165 - Methods getFontFamily() and getFontStyle() were added. 2166 2167 4.3.007 (2008-12-03) 2168 - PNG alpha channel is now supported (GD library is required). 2169 - AddFont() function now support custom font file path on $file parameter. 2170 - The default width variable ($dw) is now always defined for any font. 2171 - The 'Style' attribute on CID-0 fonts was removed because of protection bug. 2172 2173 4.3.006 (2008-12-01) 2174 - A regular expression on getHtmlDomArray() to find HTML tags was fixed. 2175 2176 4.3.005 (2008-11-25) 2177 - makefont.php was fixed. 2178 - Bug item #2339877 was fixed (false loop condition detected on WriteHTML()). 2179 - Bug item #2336733 was fixed (lasth value update on Multicell() when border and fill are disabled). 2180 - Bug item #2342303 was fixed (automatic page-break on Image() and ImageEPS()). 2181 2182 4.3.004 (2008-11-19) 2183 - Function _textstring() was fixed (bug 2309051). 2184 - All examples were updated. 2185 2186 4.3.003 (2008-11-18) 2187 - CID-0 font bug was fixed. 2188 - Some functions were optimized. 2189 - Function getGroupPageNoFormatted() was added. 2190 - Example n. 23 was updated. 2191 2192 4.3.002 (2008-11-17) 2193 - Bug item #2305518 "CID-0 font don't work with encryption" was fixed. 2194 2195 4.3.001 (2008-11-17) 2196 - Bug item #2300007 "download mimetype pdf" was fixed. 2197 - Double quotes were replaced by single quotes to improve PHP performances. 2198 - A bug relative to HTML cell borders was fixed. 2199 2200 4.3.000 (2008-11-14) 2201 - The function setOpenCell() was added to set the top/bottom cell sides to be open or closed when the cell cross the page. 2202 - A bug relative to list items indentation was fixed. 2203 - A bug relative to borders on HTML tables and Multicell was fixed. 2204 - A bug relative to rowspanned cells was fixed. 2205 - A bug relative to html images across pages was fixed. 2206 2207 4.2.009 (2008-11-13) 2208 - Spaces between li tags are now automatically removed. 2209 2210 4.2.008 (2008-11-12) 2211 - A bug relative to fill color on next page was fixed. 2212 2213 4.2.007 (2008-11-12) 2214 - The function setListIndentWidth() was added to set custom indentation widht for HTML lists. 2215 2216 4.2.006 (2008-11-06) 2217 - A bug relative to HTML justification was fixed. 2218 2219 4.2.005 (2008-11-06) 2220 - A bug relative to HTML justification was fixed. 2221 - The methods formatPageNumber() and PageNoFormatted() were added to format page numbers. 2222 - Default Footer() method was changed to use PageNoFormatted() instead of PageNo(). 2223 - Example 6 was updated. 2224 2225 4.2.004 (2008-11-04) 2226 - Bug item n. 2217039 "filename handling improvement" was fixed. 2227 2228 4.2.003 (2008-10-31) 2229 - Font style bug was fixed. 2230 2231 4.2.002 (2008-10-31) 2232 - Bug item #2210922 (htm element br not work) was fixed. 2233 - Write() function was improved to support margin changes. 2234 2235 4.2.001 (2008-10-30) 2236 - setHtmlVSpace($tagvs) function was added to set custom vertical spaces for HTML tags. 2237 - writeHTML() function now support margin changes during execution. 2238 - Signature of addHTMLVertSpace() function is changed. 2239 2240 4.2.000 (2008-10-29) 2241 - htmlcolors.php was changed to support class-loaders. 2242 - ImageEps() function was improved in performances. 2243 - Signature of Link() And Annotation() functions were changed. 2244 - (Bug item #2198926) Links and Annotations alignment were fixed (support for geometric tranformations was added). 2245 - rowspan mode for HTML table cells was improved and fixed. 2246 - Booklet mode for double-sided pages was added; see SetBooklet() function and example n. 40. 2247 - lastPage() signature is changed. 2248 - Signature of Write() function is changed. 2249 - Some HTML justification problems were fixed. 2250 - Some functions were fixed to better support RTL mode. 2251 - Example n. 10 was changed to support RTL mode. 2252 - All examples were updated. 2253 2254 4.1.004 (2008-10-23) 2255 - unicode_data.php was changed to support class-loaders. 2256 - Bug item #2186040/2 (writeHTML margin problem) was fixed. 2257 2258 4.1.003 (2008-10-22) 2259 - Bug item #2185399 was fixed (rowspan and page break). 2260 - Bugs item #2186040 was fixed (writeHTML margin problem). 2261 - Newline after table was removed. 2262 2263 4.1.002 (2008-10-21) 2264 - Bug item #2184525 was fixed (rowspan on HTML cell). 2265 2266 4.1.001 (2008-10-21) 2267 - Support for "start" attribute was added to HTML ordered list. 2268 - unicode_data.php file was changed to include UTF-8 to ASCII table. 2269 - Some functions were modified to better support UTF-8 extensions to core fonts. 2270 - Support for images on HTML lists was improved. 2271 - Examples n. 1 and 6 were updated. 2272 2273 4.1.000 (2008-10-18) 2274 - Page-break bug using HTML content was fixed. 2275 - The "false" parameter was reintroduced to class_exists function on PHP5 version to avoid autoload. 2276 - addHtmlLink() function was improved to support internal links (i.e.: <a href="#23">link to page 23</a>). 2277 - Justification alignment is now supported on HTML (see example n. 39). 2278 - example_006.php was updated. 2279 2280 4.0.033 (2008-10-13) 2281 - Bug n. 2157099 was fixed. 2282 - SetX() and SetY() functions were improved. 2283 - SetY() includes a new parameter to avoid the X reset. 2284 2285 4.0.032 (2008-10-10) 2286 - Bug n. 2156926 was fixed (bold, italic, underlined, linethrough). 2287 - setStyle() method was removed. 2288 - Configuration file was changed to use helvetica (non-unicode) font by default. 2289 - The use of mixed font types was improved. 2290 - All examples were updated. 2291 2292 4.0.031 (2008-10-09) 2293 - _putannots() and _putbookmarks() links alignments were fixed. 2294 2295 4.0.030 (2008-10-07) 2296 - _putbookmarks() function was fixed. 2297 - _putannots() was fixed to include internal links. 2298 2299 4.0.029 (2008-09-27) 2300 - Infinite loop bug was fixed [Bug item #130309]. 2301 - Multicell() problem on Header() was fixed. 2302 2303 4.0.028 (2008-09-26) 2304 - setLIsymbol() was added to set the LI symbol used on UL lists. 2305 - Missing $padding and $encryption_key variables declarations were added [Bug item #2129058]. 2306 2307 4.0.027 (2008-09-19) 2308 - Bug #2118588 "Undefined offset in tcpdf.php on line 9581" was fixed. 2309 - arailunicid0.php font was updated. 2310 - The problem of javascript form fields duplication after saving was fixed. 2311 2312 4.0.026 (2008-09-17) 2313 - convertHTMLColorToDec() function was improved to support rgb(RR,GG,BB) notation. 2314 - 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 2315 - Example n. 6 was updated. 2316 2317 4.0.025 (2008-09-15) 2318 - _putcidfont0 function was improved to include CJK fonts (Chinese, Japanese, Korean, CJK, Asian fonts) without embedding. 2319 - arialunicid0 font was added (see the new example n. 38). 2320 - The following Unicode to CID-0 tables were added on fonts folder: uni2cid_ak12.php, uni2cid_aj16.php, uni2cid_ag15.php, uni2cid_ac15.php. 2321 2322 4.0.024 (2008-09-12) 2323 - "stripos" function was replaced with "strpos + strtolower" for backward compatibility with PHP4. 2324 - support for Spot Colors were added. Check the new example n. 37 and the following new functions: 2325 AddSpotColor() 2326 SetDrawSpotColor() 2327 SetFillSpotColor() 2328 SetTextSpotColor() 2329 _putspotcolors() 2330 - Bookmark() function was improved to fix wrong levels. 2331 - $lasth changes after header/footer calls were fixed. 2332 2333 4.0.023 (2008-09-05) 2334 - Some HTML related problems were fixed. 2335 - Image alignment on HTML was changed, now it always defaults to the normal mode (see example_006.php). 2336 2337 4.0.022 (2008-08-28) 2338 - Line height on HTML was fixed. 2339 - Image inside an HTML cell problem was fixed. 2340 - A new "zarbold" persian font was added. 2341 2342 4.0.021 (2008-08-24) 2343 - HTTP headers were fixed on Output function(). 2344 - getAliasNbPages() and getPageGroupAlias() functions were changed to support non-unicode fonts on unicode documents. 2345 - Function Write() was fixed. 2346 - The problem of additional vertical spaces on HTML was fixed. 2347 - The problem of frame around HTML links was fixed. 2348 2349 4.0.020 (2008-08-15) 2350 - "[2052259] WriteHTML <u> & <b>" bug was fixed. 2351 2352 4.0.019 (2008-08-13) 2353 - "Rowspan on first cell" bug was fixed. 2354 2355 4.0.018 (2008-08-08) 2356 - Default cellpadding for HTML tables was fixed. 2357 - Annotation() function was added to support some PDF annotations (see example_036.php and section 8.4 of PDF reference 1.7). 2358 - HTML links are now correclty shifted during line alignments. 2359 - function getAliasNbPages() was added and Footer() was updated. 2360 - RowSpan mode for HTML tables was fixed. 2361 - Bugs item #2043610 "Multiple sizes vertical align wrong" was fixed. 2362 - ImageEPS() function was improved and RTL alignment was fixed (see example_032.php). 2363 2364 4.0.017 (2008-08-05) 2365 - Missing CNZ and CEO style modes were added to Rect() function. 2366 - Fonts utils were updated to include support for OpenType fonts. 2367 - getLastH() function was added. 2368 2369 4.0.016 (2008-07-30) 2370 - setPageMark() function was added. This function must be called after calling Image() function for a background image. 2371 2372 4.0.015 (2008-07-29) 2373 - Some functions were changed to support different page formats (see example_028.php). 2374 - The signature of setPage() function is changed. 2375 2376 4.0.014 (2008-07-29) 2377 - K_PATH_MAIN calculation on tcpdf_config.php was fixed. 2378 - HTML support for EPS/AI images was added (see example_006.php). 2379 - Bugs item #2030807 "Truncated text on multipage html fields" was fixed. 2380 - PDF header bug was fixed. 2381 - helvetica was added as default font family. 2382 - Stroke mode was fixed on Text function. 2383 - several minor bugs were fixed. 2384 2385 4.0.013 (2008-07-27) 2386 - Bugs item #2027799 " Big spaces between lines after page break" was fixed. 2387 - K_PATH_MAIN calculation on tcpdf_config.php was changed. 2388 - Function setVisibility() was fixed to avoid the "Incorrect PDEObject type" error message. 2389 2390 4.0.012 (2008-07-24) 2391 - Addpage(), Header() and Footer() functions were changed to simplify the implementation of external header/footer functions. 2392 - The following functions were added: 2393 setHeader() 2394 setFooter() 2395 getImageRBX() 2396 getImageRBY() 2397 getCellHeightRatio() 2398 getHeaderFont() 2399 getFooterFont() 2400 getRTL() 2401 getBarcode() 2402 getHeaderData() 2403 getHeaderMargin() 2404 getFooterMargin() 2405 2406 4.0.011 (2008-07-23) 2407 - Font support was improved. 2408 - The folder /fonts/utils contains new utilities and instructions for embedd font files. 2409 - Documentation was updated. 2410 2411 4.0.010 (2008-07-22) 2412 - HTML tables were fixed to work across pages. 2413 - Header() and Footer() functions were updated to preserve previous settings. 2414 - example_035.php was added. 2415 2416 4.0.009 (2008-07-21) 2417 - UTF8StringToArray() function was fixed for non-unicode mode. 2418 2419 4.0.008 (2008-07-21) 2420 - Barcodes alignment was fixed (see example_027.php). 2421 - unicode_data.php was updated. 2422 - Arabic shaping for "Zero-Width Non-Joiner" character (U+200C) was fixed. 2423 2424 4.0.007 (2008-07-18) 2425 - str_split was replaced by preg_split for compatibility with PHP4 version. 2426 - Clipping mode was added to all graphic functions by using parameter $style = "CNZ" or "CEO" (see example_034.php). 2427 2428 4.0.006 (2008-07-16) 2429 - HTML rowspan bug was fixed. 2430 - Line style for MultiCell() was fixed. 2431 - WriteHTML() function was improved. 2432 - CODE128C barcode was fixed (barcodes.php). 2433 2434 4.0.005 (2008-07-11) 2435 - Bug [2015715] "PHP Error/Warning" was fixed. 2436 2437 4.0.004 (2008-07-09) 2438 - HTML cell internal padding was fixed. 2439 2440 4.0.003 (2008-07-08) 2441 - Removed URL encoding when F option is selected on Output() function. 2442 - fixed some minor bugs in html tables. 2443 2444 4.0.002 (2008-07-07) 2445 - Bug [2000861] was still unfixed and has been fixed. 2446 2447 4.0.001 (2008-07-05) 2448 - Bug [2000861] was fixed. 2449 2450 4.0.000 (2008-07-03) 2451 - THIS IS A MAIN RELEASE THAT INCLUDES SEVERAL NEW FEATURES AND BUGFIXES 2452 - Signature fo SetTextColor() and SetFillColor() functions was changed (parameter $storeprev was removed). 2453 - HTML support was completely rewritten and improved (see example 6). 2454 - Alignments parameters were fixed. 2455 - Functions GetArrStringWidth() and GetStringWidth() now include font parameters. 2456 - Fonts support was improved. 2457 - All core fonts were replaced and moved to fonts/ directory. 2458 - The following functions were added: getMargins(), getFontSize(), getFontSizePt(). 2459 - File config/tcpdf_config_old.php was renamed tcpdf_config_alt.php and updated. 2460 - Multicell and WriteHTMLCell fill function was fixed. 2461 - Several minor bugs were fixed. 2462 - barcodes.php was updated. 2463 - All examples were updated. 2464 2465 ------------------------------------------------------------ 2466 2467 3.1.001 (2008-06-13) 2468 - Bug [1992515] "K_PATH_FONTS default value wrong" was fixed. 2469 - Vera font was removed, DejaVu font and Free fonts were updated. 2470 - Image handling was improved. 2471 - All examples were updated. 2472 2473 3.1.000 (2008-06-11) 2474 - setPDFVersion() was added to change the default PDF version (currently 1.7). 2475 - setViewerPreferences() was added to control the way the document is to be presented on the screen or printed (see example 29). 2476 - SetDisplayMode() signature was changed (new options were added). 2477 - LinearGradient(), RadialGradient(), CoonsPatchMesh() functions were added to print various color gradients (see example 30). 2478 - PieSector() function was added to render render pie charts (see example 31). 2479 - ImageEps() was added to display EPS and AI images with limited support (see example 32). 2480 - writeBarcode() function is now depracated, a new write1DBarcode() function was added. The barcode directory was removed and a new barcodes.php file was added. 2481 - The new write1DBarcode() function support more barcodes and do not need the GD library (see example 027). All barcodes are directly written to PDF using graphic functions. 2482 - HTML lists were improved and could be nested (you may now represent trees). 2483 - AddFont() bug was fixed. 2484 - _putfonts() bug was fixed. 2485 - graphics functions were fixed. 2486 - unicode_data.php file was updated (fixed). 2487 - almohanad font was updated. 2488 - example 18 was updated (Farsi and Arabic languages). 2489 - source code cleanup. 2490 - All examples were updated and new examples were added. 2491 2492 3.0.015 (2008-06-06) 2493 - AddPage() function signature is changed to include page format. 2494 - example 28 was added to show page format changes. 2495 - setPageUnit() function was added to change the page units of measure. 2496 - setPageFormat() function was added to change the page format and orientation between pages. 2497 - setPageOrientation() function was added to change the page orientation. 2498 - Arabic font shaping was fixed for laa letter and square boxes (see the example 18). 2499 2500 3.0.014 (2008-06-04) 2501 - Arabic font shaping was fixed. 2502 - setDefaultTableColumns() function was added. 2503 - $cell_height_ratio variable was added. 2504 - setCellHeightRatio() function was added to define the default height of cell repect font height. 2505 2506 3.0.013 (2008-06-03) 2507 - Multicell height parameter was fixed. 2508 - Arabic font shaping was improved. 2509 - unicode_data.php was updated. 2510 2511 3.0.012 (2008-05-30) 2512 - K_PATH_MAIN and K_PATH_URL constants are now automatically set on config file. 2513 - DOCUMENT_ROOT constant was fixed for IIS Webserver (config file was updated). 2514 - Arabic font shaping was improved. 2515 - TranslateY() function was fixed (bug [1977962]). 2516 - setVisibility() function was fixed. 2517 - writeBarcode() function was fixed to scale using $xref parameter. 2518 - All examples were updated. 2519 2520 3.0.011 (2008-05-23) 2521 - CMYK color support was added to all graphic functions. 2522 - HTML table support was improved: 2523 -- now it's possible to include additional html tags inside a cell; 2524 -- colspan attribute was added. 2525 - example 006 was updated. 2526 2527 3.0.010 (2008-05-21) 2528 - fixed $laa_array inclusion on utf8Bidi() function. 2529 2530 3.0.009 (2008-05-20) 2531 - unicode_data.php was updated. 2532 - Arabic laa letter problem was fixed. 2533 2534 3.0.008 (2008-05-12) 2535 - Arabic support was fixed and improved (unicode_data.php was updated). 2536 - Polycurve() function was added to draw a poly-Bezier curve. 2537 - list items alignment was fixed. 2538 - example 6 was updated. 2539 2540 3.0.007 (2008-05-06) 2541 - Arabic support was fixed and improved. 2542 - AlMohanad (arabic) font was added. 2543 - C128 barcode bugs were fixed. 2544 2545 3.0.006 (2008-04-21) 2546 - Condition to check negative width values was added. 2547 2548 3.0.005 (2008-04-18) 2549 - back-Slash character escape was fixed on writeHTML() function. 2550 - Exampe 6 was updated. 2551 2552 3.0.004 (2008-04-11) 2553 - Bug [1939304] (Right to Left Issue) was fixed. 2554 2555 3.0.003 (2008-04-07) 2556 - Bug [1934523](Words between HTML tags in cell not kept on one line) was fixed. 2557 - "face" attribute of "font" tag is now fully supported. 2558 2559 3.0.002 (2008-04-01) 2560 - Write() functions now return the number of cells and not the number of lines. 2561 - TCPDF is released under LGPL 2.1, or any later version. 2562 2563 3.0.001 (2008-05-28) 2564 - _legacyparsejpeg() and _legacyparsepng() were renamed _parsejpeg() and _parsepng(). 2565 - function writeBarcode() was fixed. 2566 - all examples were updated. 2567 - example 27 was added to show various barcodes. 2568 2569 3.0.000 (2008-03-27) 2570 - private function pixelsToMillimeters() was changed to public function pixelsToUnits() to fix html image size bug. 2571 - Image-related functions were rewritten. 2572 - resize parameter was added to Image() signature to reduce the image size and fit width and height (see example 9). 2573 - TCPDF now supports all images supported by GD library: GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM. 2574 - CMYK support was added to SetDrawColor(), SetFillColor(), SetTextColor() (see example 22). 2575 - Page Groups were added (see example 23). 2576 - setVisibility() function was added to restrict the rendering of some elements to screen or printout (see example 24). 2577 - All private variables and functions were changed to protected. 2578 - setAlpha() function was added to give transparency support for all objects (see example 25). 2579 - Clipping and stroke modes were added to Text() function (see example 26). 2580 - All examples were moved to "examples" directory. 2581 - function setJPEGQuality() was added to set the JPEG image comrpession (see example 9). 2582 2583 2.9.000 (2008-03-26) 2584 - htmlcolors.php file was added to include html colors. 2585 - Support for HTML color names and three-digit hexadecimal color codes was added. 2586 - private function convertColorHexToDec() was renamed convertHTMLColorToDec(). 2587 - color and bgcolor attributes are now supported on all HTML tags (color nesting is also supported). 2588 - Write() function were fixed. 2589 - example_006.php was updated. 2590 - private function setUserRights() was added to release user rights on Acrobat Reader (this allows to display forms, see example 14) 2591 2592 2.8.000 (2008-03-20) 2593 - Private variables were changed to protected. 2594 - Function Write() was fixed and improved. 2595 - Support for dl, dt, dd, del HTML tags was introduced. 2596 - Line-trought mode was added for HTML and text. 2597 - Text vertical alignment on cells were fixed. 2598 - Examples were updated to reflect changes. 2599 2600 2.7.002 (2008-03-13) 2601 - Bug "[1912142] Encrypted PDF created/modified date" was fixed. 2602 2603 2.7.001 (2008-03-10) 2604 - Cell justification was fixed for non-unicode mode. 2605 2606 2.7.000 (2008-03-09) 2607 - Cell() stretching mode 4 (forced character spacing) was fixed. 2608 - writeHTMLCell() now uses Multicell() to write. 2609 - Multicell() has a new parameter $ishtml to act as writeHTMLCell(). 2610 - Write() speed was improved for non-arabic strings. 2611 - Example n. 20 was changed. 2612 2613 2.6.000 (2008-03-07) 2614 - various alignments bugs were fixed. 2615 2616 2.5.000 (2008-03-07) 2617 - Several bugs were fixed. 2618 - example_019.php was added to test non-unicode mode using old fonts. 2619 2620 2.4.000 (2008-03-06) 2621 - RTL support was deeply improved. 2622 - GetStringWidth() was fixed to support RTL languages. 2623 - Text() RTL alignment was fixed. 2624 - Some functions were added: GetArrStringWidth(), GetCharWidth(), uniord(), utf8Bidi(). 2625 - example_018.php was added and test_unicode.php was removed. 2626 2627 2.3.000 (2008-03-05) 2628 - MultiCell() signature is changed. Now support multiple columns across pages (see example_017). 2629 - Write() signature is changed. Now support the cell mode to be used with MultiCell. 2630 - Header() and Footer() were changed. 2631 - The following functions were added: UTF8ArrSubString() and unichr(). 2632 - Examples were updated to reflect last changes. 2633 2634 2.2.004 (2008-03-04) 2635 - Several examples were added. 2636 - AddPage() Header() and Footer() were fixed. 2637 - Documentation is now available on http://www.tcpdf.org 2638 2639 2.2.003 (2008-03-03) 2640 - [1894853] Performance of MultiCell() was improved. 2641 - RadioButton and ListBox functions were added. 2642 - javascript form functions were rewritten and properties names are changed. The properties function supported by form fields are listed on Possible values are listed on http://www.adobe.com/devnet/acrobat/pdfs/js_developer_guide.pdf. 2643 2644 2.2.002 (2008-02-28) 2645 - [1900495] html images path was fixed. 2646 - Legacy image functions were reintroduced to allow PNG and JPEG support without GD library. 2647 2648 2.2.001 (2008-02-16) 2649 - The bug "[1894700] bug with replace relative path" was fixed 2650 - Justification was fixed 2651 2652 2.2.000 (2008-02-12) 2653 - fixed javascript bug introduced with latest release 2654 2655 2.1.002 (2008-02-12) 2656 - Justify function was fixed on PHP4 version. 2657 - Bookmank function was added ([1578250] Table of contents). 2658 - Javascript and Form fields support was added ([1796359] Form fields). 2659 2660 2.1.001 (2008-02-10) 2661 - The bug "[1885776] Race Condition in function justitfy" was fixed. 2662 - The bug "[1890217] xpdf complains that pdf is incorrect" was fixed. 2663 2664 2.1.000 (2008-01-07) 2665 - FPDF_FONTPATH constant was changed to K_PATH_FONTS on config file 2666 - Bidirectional Algorithm to correctly reverse bidirectional languages was added. 2667 - SetLeftMargin, SetTopMargin, SetRightMargin functions were fixed. 2668 - SetCellPadding function was added. 2669 - writeHTML was updated with new parameters. 2670 - Text function was fixed. 2671 - MultiCell function was fixed, now works also across multiple pages. 2672 - Line width was fixed on Header and Footer functions and <hr> tag. 2673 - "GetImageSize" was renamed "getimagesize". 2674 - Document version was changed from 1.3 to 1.5. 2675 - _begindoc() function was fixed. 2676 - ChangeDate was fixed and ModDate was added. 2677 - The following functions were added: 2678 setPage() : Move pointer to the specified document page. 2679 getPage() : Get current document page number. 2680 lastpage() : Reset pointer to the last document page. 2681 getNumPages() : Get the total number of inserted pages. 2682 GetNumChars() : count the number of (UTF-8) characters in a string. 2683 - $stretch parameter was added to Cell() function to fit text on cell: 2684 0 = disabled 2685 1 = horizontal scaling only if necessary 2686 2 = forced horizontal scaling 2687 3 = character spacing only if necessary 2688 4 = forced character spacing 2689 - Line function was fixed for RTL. 2690 - Graphic transformation functions were added [1811158]: 2691 StartTransform() 2692 StopTransform() 2693 ScaleX() 2694 ScaleY() 2695 ScaleXY() 2696 Scale() 2697 MirrorH() 2698 MirrorV() 2699 MirrorP() 2700 MirrorL() 2701 TranslateX() 2702 TranslateY() 2703 Translate() 2704 Rotate() 2705 SkewX() 2706 SkewY() 2707 Skew() 2708 - Graphic function were added/updated [1688549]: 2709 SetLineStyle() 2710 _outPoint() 2711 _outLine() 2712 _outRect() 2713 _outCurve() 2714 Line() 2715 Rect() 2716 Curve 2717 Ellipse 2718 Circle 2719 Polygon 2720 RegularPolygon 2721 2722 2.0.000 (2008-01-04) 2723 - RTL (Right-To-Left) languages support was added. Language direction is set using the $l['a_meta_dir'] setting on /configure/language/xxx.php language files. 2724 - setRTL($enable) method was added to manually enable/disable the RTL text direction. 2725 - The attribute "dir" was added to support custom text direction on HTML tags. Possible values are: ltr - for Left-To-Right and RTL for Right-To-Left. 2726 - RC4 40bit encryption was added. Check the SetProtection method. 2727 - [1815213] Improved image support for GIF, JPEG, PNG formats. 2728 - [1800094] Attribute "value" was added to ordered list items <li>. 2729 - Image function now has a new "align" parameter that indicates the alignment of the pointer next to image insertion and relative to image height. The value can be: 2730 T: top-right for LTR or top-left for RTL 2731 M: middle-right for LTR or middle-left for RTL 2732 B: bottom-right for LTR or bottom-left for RTL 2733 N: next line 2734 - Attribute "align" was added to <img> html tag to set the above image "align" parameter. Possible values are: 2735 top: top-right for LTR or top-left for RTL 2736 middle: middle-right for LTR or middle-left for RTL 2737 bottom: bottom-right for LTR or bottom-left for RTL 2738 - [1798103] newline was added after </ul>, </ol> and </p> tages. 2739 - [1816393] Documentation was updated. 2740 - 'ln' parameter was fixed on writeHTMLCell. Now it's possible to print two or more columns across several pages; 2741 - The method lastPage() was added to move the pointer on the last page; 2742 2743 ------------------------------------------------------------ 2744 2745 1.53.0.TC034 (2007-07-30) 2746 - fixed htmlentities conversion. 2747 - MultiCell() function returns the number of cells. 2748 2749 1.53.0.TC033 (2007-07-30) 2750 - fixed bug 1762550: case sensitive for font files 2751 - NOTE: all fonts files names must be in lowercase! 2752 2753 1.53.0.TC032 (2007-07-27) 2754 - setLastH method was added to resolve bug 1689071. 2755 - all fonts names were converted in lowercase (bug 1713005). 2756 - bug 1740954 was fixed. 2757 - justification was added as Cell option. 2758 2759 1.53.0.TC031 (2007-03-20) 2760 - ToUnicode CMap were added on _puttruetypeunicode function. Now you may search and copy unicode text. 2761 2762 1.53.0.TC030 (2007-03-06) 2763 - fixed bug on PHP4 version. 2764 2765 1.53.0.TC029 (2007-03-06) 2766 - DejaVu Fonts were added. 2767 2768 1.53.0.TC028 (2007-03-03) 2769 - MultiCell function signature were changed: the $ln parameter were added. Check documentation for further information. 2770 - Greek language were added on example sentences. 2771 - setPrintHeader() and setPrintFooter() functions were added to enable or disable page header and footer. 2772 2773 1.53.0.TC027 (2006-12-14) 2774 - $attr['face'] bug were fixed. 2775 - K_TCPDF_EXTERNAL_CONFIG control where introduced on /config/tcpdf_config.php to use external configuration files. 2776 2777 1.53.0.TC026 (2006-10-28) 2778 - writeHTML function call were fixed on examples. 2779 2780 1.53.0.TC025 (2006-10-27) 2781 - Bugs item #1421290 were fixed (0D - 0A substitution in some characters) 2782 - Bugs item #1573174 were fixed (MultiCell documentation) 2783 2784 1.53.0.TC024 (2006-09-26) 2785 - getPageHeight() function were fixed (bug 1543476). 2786 - fixed missing breaks on closedHTMLTagHandler function (bug 1535263). 2787 - fixed extra spaces on Write function (bug 1535262). 2788 2789 1.53.0.TC023 (2006-08-04) 2790 - paths to barcode directory were fixed. 2791 - documentation were updated. 2792 2793 1.53.0.TC022 (2006-07-16) 2794 - fixed bug: [ 1516858 ] Probs with PHP autoloader and class_exists() 2795 2796 1.53.0.TC021 (2006-07-01) 2797 - HTML attributes with whitespaces are now supported (thanks to Nelson Benitez for his support) 2798 2799 1.53.0.TC020 (2006-06-23) 2800 - code cleanup 2801 2802 1.53.0.TC019 (2006-05-21) 2803 - fixed <strong> and <em> closing tags 2804 2805 1.53.0.TC018 (2006-05-18) 2806 - fixed font names bug 2807 2808 1.53.0.TC017 (2006-05-18) 2809 - the TTF2UFM utility to convert True Type fonts for TCPDF were included on fonts folder. 2810 - new free unicode fonts were included on /fonts/freefont. 2811 - test_unicode.php example were exended. 2812 - parameter $fill were added on Write, writeHTML and writeHTMLCell functions. 2813 - documentation were updated. 2814 2815 1.53.0.TC016 (2006-03-09) 2816 - fixed closing <strong> tag on html parser. 2817 2818 1.53.0.TC016 (2005-08-28) 2819 - fpdf.php and tcpdf.php files were joined in one single class (you can still extend TCPDF with your own class). 2820 - fixed problem when mb_internal_encoding is set. 2821 2822 1.53.0.TC014 (2005-05-29) 2823 - fixed WriteHTMLCell new page issue. 2824 2825 1.53.0.TC013 (2005-05-29) 2826 - fixed WriteHTMLCell across pages. 2827 2828 1.53.0.TC012 (2005-05-29) 2829 - font color attribute bug were fixed. 2830 2831 1.53.0.TC011 (2005-03-31) 2832 - SetFont function were fixed (thank Sjaak Lauwers for bug notice). 2833 2834 1.53.0.TC010 (2005-03-22) 2835 - the html functions were improved (thanks to Manfred Vervuert for bug reporting). 2836 2837 1.53.0.TC009 (2005-03-19) 2838 - a wrong reference to convertColorHexToDec were fixed. 2839 2840 1.53.0.TC008 (2005-02-07) 2841 - removed some extra bytes from PHP files. 2842 2843 1.53.0.TC007 (2005-01-08) 2844 - fill attribute were removed from writeHTMLCell method. 2845 2846 1.53.0.TC006 (2005-01-08) 2847 - the documentation were updated. 2848 2849 1.53.0.TC005 (2005-01-05) 2850 - Steven Wittens's unicode methods were removed. 2851 - All unicode methods were rewritten from scratch. 2852 - TCPDF is now licensed as LGPL. 2853 2854 1.53.0.TC004 (2005-01-04) 2855 - this changelog were added. 2856 - removed commercial fonts for licensing issue. 2857 - Bitstream Vera Fonts were added (http://www.bitstream.com/font_rendering/products/dev_fonts/vera.html). 2858 - Now the AddFont and SetFont functions returns the basic font if the styled version do not exist. 2859 2860 EOF --------------------------------------------------------
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |