]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - include/tcpdf/CHANGELOG.TXT
Release 6.5.0
[Github/sugarcrm.git] / include / tcpdf / CHANGELOG.TXT
1 4.6.013 (2009-05-28)
2         - List bullets position was fixed for RTL languages.
3
4 4.6.012 (2009-05-23)
5         - setUserRights() method doesn't work anymore unless you call the setSignature() method with the Adobe private key!
6
7 4.6.011 (2009-05-18)
8         - Signature of the Image() method was changed to include the new $fitbox parameter (see source code documentation).
9
10 4.6.010 (2009-05-17)
11         - 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.
12         - <tcpdf> tag indent problem was fixed.
13         - $y parameter was added to checkPageBreak() method.
14         - Bug n. 2791773 "writeHTML" was fixed.
15
16 4.6.009 (2009-05-13)
17         - xref table for embedded files was fixed.
18
19 4.6.008 (2009-05-07)
20         - setSignature() method was improved (but is still experimental).
21         - Example n. 52 was added.
22
23 4.6.007 (2009-05-05)
24         - Bug #2786685 "writeHtmlCell and <br /> in custom footer" was fixed.
25         - Table header repeating bug was fixed.
26         - Some newlines and tabs are now automatically removed from HTML strings.
27
28 4.6.006 (2009-04-28)
29         - Support for "<a name="...">...</a>" was added.
30         - By default TCPDF requires PCRE Unicode support turned on but now works also without it (with limited ability to detect some Unicode blank spaces).
31
32 4.6.005 (2009-04-25)
33         - Points (pt) conversion in getHTMLUnitToUnits() was fixed.
34         - Default tcpdf.pem certificate file was added.
35         - 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).
36
37 4.6.004 (2009-04-23)
38         - Method deletePage() was added to delete pages (see example n. 44).
39
40 4.6.003 (2009-04-21)
41         - The caching mechanism of the UTF8StringToArray() method was fixed.
42
43 4.6.002 (2009-04-20)
44         - Documentation of rollbackTransaction() method was fixed.
45         - The setImageScale() and getImageScale() methods now set and get the adjusting parameter used by pixelsToUnits() method.
46         - HTML images now support other units of measure than pixels (getHTMLUnitToUnits() is now used instead of pixelsToUnits()).
47         - WARNING: PDF_IMAGE_SCALE_RATIO has been changed by default to 1.
48
49 4.6.001 (2009-04-17)
50         - Spaces between HTML block tags are now automatically removed.
51         - The bug related to cMargin changes between tables was fixed.
52
53 4.6.000 (2009-04-16)
54         - WARNING: THIS VERSION CHANGES THE BEHAVIOUR OF $x and $y parameters for several TCPDF methods:
55                 zero coordinates for $x and $y are now valid coordinates;
56                 set $x and $y as empty strings to get the current value.
57         - Some error caused by 'empty' funtion were fixed.
58         - Default color for convertHTMLColorToDec() method was changed to white and the return value for invalid color is false.
59         - HTML on footer bug was fixed.
60         - The following examples were fixed: 5,7,10,17,19,20,21,33,42,43.
61
62 4.5.043 (2009-04-15)
63         - Barcode class (barcode.php) was extended to include new linear barcode types (see example n. 27):
64                 C39 : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9
65                 C39+ : CODE 39 with checksum
66                 C39E : CODE 39 EXTENDED
67                 C39E+ : CODE 39 EXTENDED + CHECKSUM
68                 C93 : CODE 93 - USS-93
69                 S25 : Standard 2 of 5
70                 S25+ : Standard 2 of 5 + CHECKSUM
71                 I25 : Interleaved 2 of 5
72                 I25+ : Interleaved 2 of 5 + CHECKSUM
73                 C128A : CODE 128 A
74                 C128B : CODE 128 B
75                 C128C : CODE 128 C
76                 EAN2 : 2-Digits UPC-Based Extention
77                 EAN5 : 5-Digits UPC-Based Extention
78                 EAN8 : EAN 8
79                 EAN13 : EAN 13
80                 UPCA : UPC-A
81                 UPCE : UPC-E
82                 MSI : MSI (Variation of Plessey code)
83                 MSI+ : MSI + CHECKSUM (modulo 11)
84                 POSTNET : POSTNET
85                 PLANET : PLANET
86                 RMS4CC : RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)
87                 KIX : KIX (Klant index - Customer index)
88                 IMB: Intelligent Mail Barcode - Onecode - USPS-B-3200 (NOTE: requires BCMath PHP extension)
89                 CODABAR : CODABAR
90                 CODE11 : CODE 11
91                 PHARMA : PHARMACODE
92                 PHARMA2T : PHARMACODE TWO-TRACKS
93
94 4.5.042 (2009-04-15)
95         - Method Write() was fixed for the strings containing only zero value.
96
97 4.5.041 (2009-04-14)
98         - Barcode methods were fixed.
99
100 4.5.040 (2009-04-14)
101         - Method Write() was fixed to handle empty strings.
102
103 4.5.039 (2009-04-11)
104         - Support for linear barcodes was extended (see example n. 27 and barcodes.php documentation).
105
106 4.5.038 (2009-04-10)
107         - Write() method was improved to support separators for Japanese, Korean, Chinese Traditional and Chinese Simplified.
108
109 4.5.037 (2009-04-09)
110         - General performances were improved.
111         - The signature of the method utf8Bidi() was changed.
112         - The method UniArrSubString() was added.
113         - Experimental support for 2D barcodes were added (see example n. 50 and 2dbarcodes.php class).
114
115 4.5.036 (2009-04-03)
116         - TCPDF methods can be called inside the HTML code (see example n. 49).
117         - All tag attributes, such as <p align="center"> must be enclosed within double quotes.
118
119 4.5.035 (2009-03-28)
120         - Bug #2717436 "writeHTML rowspan problem (continued)" was fixed.
121         - Bug #2719090 "writeHTML fix follow up" was fixed.
122         - 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.
123         
124 4.5.034 (2009-03-27)
125         - Bug #2716914 "Bug writeHTML of a table in body and footer related with pb" was fixed.
126         - Bug #2717056 ] "writeHTML problem when setting tr style" was fixed.
127         - The signature of the Cell() method was changed.
128         
129 4.5.033 (2009-03-27)
130         - The support for rowspan/colspan on HTML tables was improved (see example n. 48).
131         
132 4.5.032 (2009-03-23)
133         - setPrintFooter(false) bug was fixed.
134         
135 4.5.031 (2009-03-20)
136         - Table header support was extended to multiple pages.
137         
138 4.5.030 (2009-03-20)
139         - thead tag is now supported on HTML tables (header rows are repeated after page breaks).
140         - The startTransaction() was improved to autocommit.
141         - List bullets now uses the foreground color (putHtmlListBullet()).
142         
143 4.5.029 (2009-03-19)
144         - The following methods were added to UNDO commands (see example 47): startTransaction(), commitTransaction(), rollbackTransaction().
145         - All examples were updated.
146
147 4.5.028 (2009-03-18)
148         - Bug #2690945 "List Bugs" was fixed.
149         - HTML text alignment on lists was fixed.
150         - The constant PDF_FONT_MONOSPACED was added to the configuration file to define the default monospaced font.
151         - The following methods were fixed: getPageWidth(), getPageHeight(), getBreakMargin().
152         - All examples were updated.
153
154 4.5.027 (2009-03-16)
155         - Method getPageDimensions() was added to get page dimensions.
156         - The signature of the following methos were changed: getPageWidth(), getPageHeight(), getBreakMargin().
157         - _parsepng() method was fixed for PNG URL images (fread bug).
158
159 4.5.026 (2009-03-11)
160         - Bug #2681793 affecting URL images with spaces was fixed.
161
162 4.5.025 (2009-03-10)
163         - A small bug affecting hyphenation support was fixed.
164         - The method SetDefaultMonospacedFont() was added to define the default monospaced font.
165
166 4.5.024 (2009-03-07)
167         - The bug #2666493 was fixed "Footer corrupts document".
168
169 4.5.023 (2009-03-06)
170         - The bug #2666688 was fixed "Rowspan in tables".
171
172 4.5.022 (2009-03-05)
173         - The bug #2659676 was fixed "refer to #2157099 test 4 < BR > problem still not fixed".
174         - addTOC() function bug was fixed.
175
176 4.5.020 (2009-03-03)
177         - The following bug was fixed: "function removeSHY corrupts unicode".
178
179 4.5.019 (2009-02-28)
180         - The problem of decimal separator using different locale was fixed.
181         - The text hyphenation is now supported (see example n. 46).
182         
183 4.5.018 (2009-02-26)
184         - The _destroy() method was added to unset all class variables and frees memory.
185         - Now it's possible to call Output() method multiple times.
186         
187 4.5.017 (2009-02-24)
188         - A minor bug that raises a PHP warning was fixed.
189         
190 4.5.016 (2009-02-24)
191         - Bug item #2631200 "getNumLines() counts wrong" was fixed.
192         - Multiple attachments bug was fixed.
193         - All class variables are now cleared on Output() for memory otpimization.
194         
195 4.5.015 (2009-02-18)
196         - Bug item #2612553 "function Write() must not break a line on &nbsp;  character" was fixed.
197         
198 4.5.014 (2009-02-13)
199         - Bug item #2595015 "POSTNET Barcode Checksum Error" was fixed (on barcode.php).
200         - Pagebreak bug for barcode was fixed.
201         
202 4.5.013 (2009-02-12)
203         - border attribute is now supported on HTML images (only accepts the same values accepted by Cell()).
204         
205 4.5.012 (2009-02-12)
206         - An error on image border feature was fixed.
207         
208 4.5.011 (2009-02-12)
209         - HTML links for images are now supported.
210         - height attribute is now supported on HTML cells.
211         - $border parameter was added to Image() and ImageEps() methods.
212         - The method getNumLines() was added to estimate the number of lines required for the specified text.
213         
214 4.5.010 (2009-01-29)
215         - Bug n. 2546108 "BarCode Y position" was fixed.
216         
217 4.5.009 (2009-01-26)
218         - Bug n. 2538094 "Empty pdf file created" was fixed.
219         
220 4.5.008 (2009-01-26)
221         - setPage() method was fixed to correctly restore graphic states.
222         - Source code was cleaned up for performances.
223
224 4.5.007 (2009-01-24)
225         - checkPageBreak() and write1DBarcode() methods were fixed.
226         - Source code was cleaned up for performances.
227         - barcodes.php was updated.
228
229 4.5.006 (2009-01-23)
230         - getHTMLUnitToPoints() method was replaced by getHTMLUnitToUnits() to fix HTML units bugs.
231
232 4.5.005 (2009-01-23)
233         - Page closing bug was fixed.
234
235 4.5.004 (2009-01-21)
236         - The access of convertHTMLColorToDec() method was changed to public
237         - Fixed bug on UL tag.
238
239 4.5.003 (2009-01-19)
240         - Fonts on different folders are now supported.
241
242 4.5.002 (2009-01-07)
243         - addTOC() function was improved (see example n. 45).
244
245 4.5.001 (2009-01-04)
246         - The signature of startPageGroup() function was changed.
247         - Method Footer() was improved to automatically print page or page-group number (see example n. 23).
248         - Protected method formatTOCPageNumber() was added to customize the format of page numbers on the Table Of Content.
249         - The signature of addTOC() was changed to include the font used for page numbers.
250         
251 4.5.000 (2009-01-03)
252         - A new $diskcache parameter was added to class constructor to enable disk caching and reduce RAM memory usage (see example n. 43).
253         - The method movePageTo() was added to move pages to previous positions (see example n. 44).
254         - The methods getAliasNumPage() and getPageNumGroupAlias() were added to get the alias for page number (needed when using movepageTo()).
255         - The methods addTOC() was added to print a Table Of Content (see example n. 45).
256         - Imagick class constant was removed for better compatibility with PHP4.
257         - All existing examples were updated and new examples were added.
258
259 4.4.009 (2008-12-29)
260         - Examples 1 and 35 were fixed.
261
262 4.4.008 (2008-12-28)
263         - Bug #2472169 "Unordered bullet size not adjusted for unit type" was fixed.
264
265 4.4.007 (2008-12-23)
266         - Bug #2459935 "no unit conversion for header line" was fixed.
267         - Example n. 42 for image alpha channel was added.
268         - All examples were updated.
269
270 4.4.006 (2008-12-11)
271         - Method setLIsymbol() was changed to reflect latest changes in HTML list handling.
272
273 4.4.005 (2008-12-10)
274         - Bug item #2413870 "ordered list override value" was fixed.
275
276 4.4.004 (2008-12-10)
277         - The protected method getHTMLUnitToPoints() was added to accept various HTML units of measure (em, ex, px, in, cm, mm, pt, pc, %).
278         - The method intToRoman() was added to convert integer number to Roman representation.
279         - Support fot HTML lists was improved: the CSS property list-style-type is now supported.
280
281 4.4.003 (2008-12-09)
282         - Bug item #2412147 "Warning on line 3367" was fixed.
283         - Method setHtmlLinksStyle() was added to set default HTML link colors and font style.
284         - Method addHtmlLink() was changed to use color and style defined on the inline CSS.
285         
286 4.4.002 (2008-12-09)
287         - Borders on Multicell() were fixed.
288         - Problem of Multicell() on Header function (Bug item #2407579) was fixed.
289         - Problem on graphics tranformations applied to Multicell() was fixed.
290         - Support for ImageMagick was added.
291         - Width calculation for nested tables was fixed.
292         
293 4.4.001 (2008-12-08)
294         - Some missing core fonts were added on fonts directory.
295         - CID0 fonts rendering was fixed.
296         - HTML support was improved (<pre> and <tt> tags are now supported).
297         - Bug item #2406022 "Left padding bug in MultiCell with maxh" was fixed.
298         
299 4.4.000 (2008-12-07)
300         - File attachments are now supported (see example n. 41).
301         - Font functions were optimized to reduce document size.
302         - makefont.php was updated.
303         - Linux binaries were added on /fonts/utils
304         - All fonts were updated.
305         - $autopadding parameter was added to Multicell() to disable automatic padding features.
306         - $maxh parameter was added to Multicell() and Write() to set a maximum height.
307
308 4.3.009 (2008-12-05)
309         - Bug item #2392989 (Custom header + setlinewidth + cell border bug) was fixed.
310         
311 4.3.008 (2008-12-05)
312         - Bug item #2390566 "rect bug" was fixed.
313         - File path was fixed for font embedded files.
314         - SetFont() method signature was changed to include the font filename.
315         - Some font-related methods were improved.
316         - Methods getFontFamily() and getFontStyle() were added.
317         
318 4.3.007 (2008-12-03)
319         - PNG alpha channel is now supported (GD library is required).
320         - AddFont() function now support custom font file path on $file parameter.
321         - The default width variable ($dw) is now always defined for any font.
322         - The 'Style' attribute on CID-0 fonts was removed because of protection bug.
323         
324 4.3.006 (2008-12-01)
325         - A regular expression on getHtmlDomArray() to find HTML tags was fixed.
326
327 4.3.005 (2008-11-25)
328         - makefont.php was fixed.
329         - Bug item #2339877 was fixed (false loop condition detected on WriteHTML()).
330         - Bug item #2336733 was fixed (lasth value update on Multicell() when border and fill are disabled).
331         - Bug item #2342303 was fixed (automatic page-break on Image() and ImageEPS()).
332
333 4.3.004 (2008-11-19)
334         - Function _textstring() was fixed (bug 2309051).
335         - All examples were updated.
336
337 4.3.003 (2008-11-18)
338         - CID-0 font bug was fixed.
339         - Some functions were optimized.
340         - Function getGroupPageNoFormatted() was added.
341         - Example n. 23 was updated.
342
343 4.3.002 (2008-11-17)
344         - Bug item #2305518 "CID-0 font don't work with encryption" was fixed.
345         
346 4.3.001 (2008-11-17)
347         - Bug item #2300007 "download mimetype pdf" was fixed.
348         - Double quotes were replaced by single quotes to improve PHP performances.
349         - A bug relative to HTML cell borders was fixed.
350         
351 4.3.000 (2008-11-14)
352         - The function setOpenCell() was added to set the top/bottom cell sides to be open or closed when the cell cross the page.
353         - A bug relative to list items indentation was fixed.
354         - A bug relative to borders on HTML tables and Multicell was fixed.
355         - A bug relative to rowspanned cells was fixed.
356         - A bug relative to html images across pages was fixed.
357         
358 4.2.009 (2008-11-13)
359         - Spaces between li tags are now automatically removed.
360         
361 4.2.008 (2008-11-12)
362         - A bug relative to fill color on next page was fixed.
363         
364 4.2.007 (2008-11-12)
365         - The function setListIndentWidth() was added to set custom indentation widht for HTML lists.
366         
367 4.2.006 (2008-11-06)
368         - A bug relative to HTML justification was fixed.
369         
370 4.2.005 (2008-11-06)
371         - A bug relative to HTML justification was fixed.
372         - The methods formatPageNumber() and PageNoFormatted() were added to format page numbers.
373         - Default Footer() method was changed to use PageNoFormatted() instead of PageNo().
374         - Example 6 was updated.
375         
376 4.2.004 (2008-11-04)
377         - Bug item n. 2217039 "filename handling improvement" was fixed.
378         
379 4.2.003 (2008-10-31)
380         - Font style bug was fixed.
381         
382 4.2.002 (2008-10-31)
383         - Bug item #2210922 (htm element br not work) was fixed.
384         - Write() function was improved to support margin changes.
385         
386 4.2.001 (2008-10-30)
387         - setHtmlVSpace($tagvs) function was added to set custom vertical spaces for HTML tags.
388         - writeHTML() function now support margin changes during execution.
389         - Signature of addHTMLVertSpace() function is changed.
390         
391 4.2.000 (2008-10-29)
392         - htmlcolors.php was changed to support class-loaders.
393         - ImageEps() function was improved in performances.
394         - Signature of Link() And Annotation() functions were changed.
395         - (Bug item #2198926) Links and Annotations alignment were fixed (support for geometric tranformations was added).
396         - rowspan mode for HTML table cells was improved and fixed.
397         - Booklet mode for double-sided pages was added; see SetBooklet() function and example n. 40.
398         - lastPage() signature is changed.
399         - Signature of Write() function is changed.
400         - Some HTML justification problems were fixed.
401         - Some functions were fixed to better support RTL mode.
402         - Example n. 10 was changed to support RTL mode.
403         - All examples were updated.
404         
405 4.1.004 (2008-10-23)
406         - unicode_data.php was changed to support class-loaders.
407         - Bug item #2186040/2 (writeHTML margin problem) was fixed.
408         
409 4.1.003 (2008-10-22)
410         - Bug item #2185399 was fixed (rowspan and page break).
411         - Bugs item #2186040 was fixed (writeHTML margin problem).
412         - Newline after table was removed.
413         
414 4.1.002 (2008-10-21)
415         - Bug item #2184525 was fixed (rowspan on HTML cell).
416         
417 4.1.001 (2008-10-21)
418         - Support for "start" attribute was added to HTML ordered list.
419         - unicode_data.php file was changed to include UTF-8 to ASCII table.
420         - Some functions were modified to better support UTF-8 extensions to core fonts.
421         - Support for images on HTML lists was improved.
422         - Examples n. 1 and 6 were updated.
423         
424 4.1.000 (2008-10-18)
425         - Page-break bug using HTML content was fixed.
426         - The "false" parameter was reintroduced to class_exists function on PHP5 version to avoid autoload.
427         - addHtmlLink() function was improved to support internal links (i.e.: <a href="#23">link to page 23</a>).
428         - Justification alignment is now supported on HTML (see example n. 39).
429         - example_006.php was updated.
430         
431 4.0.033 (2008-10-13)
432         - Bug n. 2157099 was fixed.
433         - SetX() and SetY() functions were improved.
434         - SetY() includes a new parameter to avoid the X reset.
435
436 4.0.032 (2008-10-10)
437         - Bug n. 2156926 was fixed (bold, italic, underlined, linethrough).
438         - setStyle() method was removed.
439         - Configuration file was changed to use helvetica (non-unicode) font by default.
440         - The use of mixed font types was improved.
441         - All examples were updated.
442
443 4.0.031 (2008-10-09)
444         - _putannots() and _putbookmarks() links alignments were fixed.
445
446 4.0.030 (2008-10-07)
447         - _putbookmarks() function was fixed.
448         - _putannots() was fixed to include internal links.
449
450 4.0.029 (2008-09-27)
451         - Infinite loop bug was fixed [Bug item #130309].
452         - Multicell() problem on Header() was fixed.
453         
454 4.0.028 (2008-09-26)
455         - setLIsymbol() was added to set the LI symbol used on UL lists.
456         - Missing $padding and $encryption_key variables declarations were added [Bug item #2129058].
457         
458 4.0.027 (2008-09-19)
459         - Bug #2118588 "Undefined offset in tcpdf.php on line 9581" was fixed.
460         - arailunicid0.php font was updated.
461         - The problem of javascript form fields duplication after saving was fixed.
462                 
463 4.0.026 (2008-09-17)
464         - convertHTMLColorToDec() function was improved to support rgb(RR,GG,BB) notation.
465         - 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
466         - Example n. 6 was updated.
467                 
468 4.0.025 (2008-09-15)
469         - _putcidfont0 function was improved to include CJK fonts (Chinese, Japanese, Korean, CJK, Asian fonts) without embedding.
470         - arialunicid0 font was added (see the new example n. 38).
471         - The following Unicode to CID-0 tables were added on fonts folder: uni2cid_ak12.php, uni2cid_aj16.php, uni2cid_ag15.php, uni2cid_ac15.php. 
472                 
473 4.0.024 (2008-09-12)
474         - "stripos" function was replaced with "strpos + strtolower" for backward compatibility with PHP4.
475         - support for Spot Colors were added. Check the new example n. 37 and the following new functions:
476                 AddSpotColor()
477                 SetDrawSpotColor()
478                 SetFillSpotColor()
479                 SetTextSpotColor()
480                 _putspotcolors()
481         - Bookmark() function was improved to fix wrong levels.
482         - $lasth changes after header/footer calls were fixed.
483         
484 4.0.023 (2008-09-05)
485         - Some HTML related problems were fixed.
486         - Image alignment on HTML was changed, now it always defaults to the normal mode (see example_006.php).
487         
488 4.0.022 (2008-08-28)
489         - Line height on HTML was fixed.
490         - Image inside an HTML cell problem was fixed.
491         - A new "zarbold" persian font was added.
492         
493 4.0.021 (2008-08-24)
494         - HTTP headers were fixed on Output function().
495         - getAliasNbPages() and getPageGroupAlias() functions were changed to support non-unicode fonts on unicode documents.
496         - Function Write() was fixed.
497         - The problem of additional vertical spaces on HTML was fixed.
498         - The problem of frame around HTML links was fixed.
499
500 4.0.020 (2008-08-15)
501         - "[2052259] WriteHTML <u> & <b>" bug was fixed.
502
503 4.0.019 (2008-08-13)
504         - "Rowspan on first cell" bug was fixed.
505
506 4.0.018 (2008-08-08)
507         - Default cellpadding for HTML tables was fixed.
508         - Annotation() function was added to support some PDF annotations (see example_036.php and section 8.4 of PDF reference 1.7).
509         - HTML links are now correclty shifted during line alignments.
510         - function getAliasNbPages() was added and Footer() was updated.
511         - RowSpan mode for HTML tables was fixed.
512         - Bugs item #2043610 "Multiple sizes vertical align wrong" was fixed.
513         - ImageEPS() function was improved and RTL alignment was fixed (see example_032.php).
514
515 4.0.017 (2008-08-05)
516         - Missing CNZ and CEO style modes were added to Rect() function.
517         - Fonts utils were updated to include support for OpenType fonts.
518         - getLastH() function was added.
519
520 4.0.016 (2008-07-30)
521         - setPageMark() function was added. This function must be called after calling Image() function for a background image.
522
523 4.0.015 (2008-07-29)
524         - Some functions were changed to support different page formats (see example_028.php).
525         - The signature of setPage() function is changed.
526
527 4.0.014 (2008-07-29)
528         - K_PATH_MAIN calculation on tcpdf_config.php was fixed.
529         - HTML support for EPS/AI images was added (see example_006.php).
530         - Bugs item #2030807 "Truncated text on multipage html fields" was fixed.
531         - PDF header bug was fixed.
532         - helvetica was added as default font family.
533         - Stroke mode was fixed on Text function.
534         - several minor bugs were fixed.
535
536 4.0.013 (2008-07-27)
537         - Bugs item #2027799 " Big spaces between lines after page break" was fixed.
538         - K_PATH_MAIN calculation on tcpdf_config.php was changed.
539         - Function setVisibility() was fixed to avoid the "Incorrect PDEObject type" error message.
540
541 4.0.012 (2008-07-24)
542         - Addpage(), Header() and Footer() functions were changed to simplify the implementation of external header/footer functions.
543         - The following functions were added: 
544                         setHeader()
545                         setFooter()
546                         getImageRBX()
547                         getImageRBY()
548                         getCellHeightRatio()
549                         getHeaderFont()
550                         getFooterFont()
551                         getRTL()
552                         getBarcode()
553                         getHeaderData()
554                         getHeaderMargin()
555                         getFooterMargin()
556         
557 4.0.011 (2008-07-23)
558         - Font support was improved.
559         - The folder /fonts/utils contains new utilities and instructions for embedd font files.
560         - Documentation was updated.
561
562 4.0.010 (2008-07-22)
563         - HTML tables were fixed to work across pages.
564         - Header() and Footer() functions were updated to preserve previous settings.
565         - example_035.php was added.
566
567 4.0.009 (2008-07-21)
568         - UTF8StringToArray() function was fixed for non-unicode mode.
569
570 4.0.008 (2008-07-21)
571         - Barcodes alignment was fixed (see example_027.php).
572         - unicode_data.php was updated.
573         - Arabic shaping for "Zero-Width Non-Joiner" character (U+200C) was fixed.
574
575 4.0.007 (2008-07-18)
576         - str_split was replaced by preg_split for compatibility with PHP4 version.
577         - Clipping mode was added to all graphic functions by using parameter $style = "CNZ" or "CEO" (see example_034.php).
578
579 4.0.006 (2008-07-16)
580         - HTML rowspan bug was fixed.
581         - Line style for MultiCell() was fixed.
582         - WriteHTML() function was improved.
583         - CODE128C barcode was fixed (barcodes.php).
584
585 4.0.005 (2008-07-11)
586         - Bug [2015715] "PHP Error/Warning" was fixed.
587
588 4.0.004 (2008-07-09)
589         - HTML cell internal padding was fixed.
590
591 4.0.003 (2008-07-08)
592         - Removed URL encoding when F option is selected on Output() function.
593         - fixed some minor bugs in html tables.
594
595 4.0.002 (2008-07-07)
596         - Bug [2000861] was still unfixed and has been fixed.
597         
598 4.0.001 (2008-07-05)
599         - Bug [2000861] was fixed.
600
601 4.0.000 (2008-07-03)
602         - THIS IS A MAIN RELEASE THAT INCLUDES SEVERAL NEW FEATURES AND BUGFIXES
603         - Signature fo SetTextColor() and SetFillColor() functions was changed (parameter $storeprev was removed).
604         - HTML support was completely rewritten and improved (see example 6).
605         - Alignments parameters were fixed.
606         - Functions GetArrStringWidth() and GetStringWidth() now include font parameters.
607         - Fonts support was improved.
608         - All core fonts were replaced and moved to fonts/ directory.
609         - The following functions were added: getMargins(), getFontSize(), getFontSizePt().
610         - File config/tcpdf_config_old.php was renamed tcpdf_config_alt.php and updated.
611         - Multicell and WriteHTMLCell fill function was fixed.
612         - Several minor bugs were fixed.
613         - barcodes.php was updated.
614         - All examples were updated.
615         
616 ------------------------------------------------------------
617
618 3.1.001 (2008-06-13)
619         - Bug [1992515] "K_PATH_FONTS default value wrong" was fixed.
620         - Vera font was removed, DejaVu font and Free fonts were updated.
621         - Image handling was improved.
622         - All examples were updated.
623         
624 3.1.000 (2008-06-11)
625         - setPDFVersion() was added to change the default PDF version (currently 1.7).
626         - setViewerPreferences() was added to control the way the document is to be presented on the screen or printed (see example 29).
627         - SetDisplayMode() signature was changed (new options were added).
628         - LinearGradient(), RadialGradient(), CoonsPatchMesh() functions were added to print various color gradients (see example 30).
629         - PieSector() function was added to render render pie charts (see example 31).
630         - ImageEps() was added to display EPS and AI images with limited support (see example 32).
631         - writeBarcode() function is now depracated, a new write1DBarcode() function was added. The barcode directory was removed and a new barcodes.php file was added.
632         - 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.
633         - HTML lists were improved and could be nested (you may now represent trees).
634         - AddFont() bug was fixed.
635         - _putfonts() bug was fixed.
636         - graphics functions were fixed.
637         - unicode_data.php file was updated (fixed).
638         - almohanad font was updated.
639         - example 18 was updated (Farsi and Arabic languages).
640         - source code cleanup.
641         - All examples were updated and new examples were added.
642         
643 3.0.015 (2008-06-06)
644         - AddPage() function signature is changed to include page format.
645         - example 28 was added to show page format changes.
646         - setPageUnit() function was added to change the page units of measure.
647         - setPageFormat() function was added to change the page format and orientation between pages.
648         - setPageOrientation() function was added to change the page orientation.
649         - Arabic font shaping was fixed for laa letter and square boxes (see the example 18).
650
651 3.0.014 (2008-06-04)
652         - Arabic font shaping was fixed.
653         - setDefaultTableColumns() function was added.
654         - $cell_height_ratio variable was added.
655         - setCellHeightRatio() function was added to define the default height of cell repect font height.
656
657 3.0.013 (2008-06-03)
658         - Multicell height parameter was fixed.
659         - Arabic font shaping was improved.
660         - unicode_data.php was updated.
661
662 3.0.012 (2008-05-30)
663         - K_PATH_MAIN and K_PATH_URL constants are now automatically set on config file.
664         - DOCUMENT_ROOT constant was fixed for IIS Webserver (config file was updated).
665         - Arabic font shaping was improved.
666         - TranslateY() function was fixed (bug [1977962]).
667         - setVisibility() function was fixed.
668         - writeBarcode() function was fixed to scale using $xref parameter.
669         - All examples were updated.
670
671 3.0.011 (2008-05-23)
672         - CMYK color support was added to all graphic functions.
673         - HTML table support was improved: 
674           -- now it's possible to include additional html tags inside a cell;
675           -- colspan attribute was added.
676         - example 006 was updated.
677
678 3.0.010 (2008-05-21)
679         - fixed $laa_array inclusion on utf8Bidi() function.
680
681 3.0.009 (2008-05-20)
682         - unicode_data.php was updated.
683         - Arabic laa letter problem was fixed.
684
685 3.0.008 (2008-05-12)
686         - Arabic support was fixed and improved (unicode_data.php was updated).
687         - Polycurve() function was added to draw a poly-Bezier curve.
688         - list items alignment was fixed.
689         - example 6 was updated.
690
691 3.0.007 (2008-05-06)
692         - Arabic support was fixed and improved.
693         - AlMohanad (arabic) font was added.
694         - C128 barcode bugs were fixed.
695         
696 3.0.006 (2008-04-21)
697         - Condition to check negative width values was added.
698
699 3.0.005 (2008-04-18)
700         - back-Slash character escape was fixed on writeHTML() function.
701         - Exampe 6 was updated.
702
703 3.0.004 (2008-04-11)
704         - Bug [1939304] (Right to Left Issue) was fixed.
705
706 3.0.003 (2008-04-07)
707         - Bug [1934523](Words between HTML tags in cell not kept on one line) was fixed.
708         - "face" attribute of "font" tag is now fully supported.
709
710 3.0.002 (2008-04-01)
711         - Write() functions now return the number of cells and not the number of lines.
712         - TCPDF is released under LGPL 2.1, or any later version.
713         
714 3.0.001 (2008-05-28)
715         - _legacyparsejpeg() and _legacyparsepng() were renamed _parsejpeg() and _parsepng().
716         - function writeBarcode() was fixed.
717         - all examples were updated.
718         - example 27 was added to show various barcodes.
719         
720 3.0.000 (2008-03-27)
721         - private function pixelsToMillimeters() was changed to public function pixelsToUnits() to fix html image size bug.
722         - Image-related functions were rewritten.
723         - resize parameter was added to Image() signature to reduce the image size and fit width and height (see example 9).
724         - TCPDF now supports all images supported by GD library: GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM.
725         - CMYK support was added to SetDrawColor(), SetFillColor(), SetTextColor() (see example 22).
726         - Page Groups were added (see example 23).
727         - setVisibility() function was added to restrict the rendering of some elements to screen or printout (see example 24).
728         - All private variables and functions were changed to protected.
729         - setAlpha() function was added to give transparency support for all objects (see example 25).
730         - Clipping and stroke modes were added to Text() function (see example 26).
731         - All examples were moved to "examples" directory.
732         - function setJPEGQuality() was added to set the JPEG image comrpession (see example 9).
733
734 2.9.000 (2008-03-26)
735         - htmlcolors.php file was added to include html colors.
736         - Support for HTML color names and three-digit hexadecimal color codes was added.
737         - private function convertColorHexToDec() was renamed convertHTMLColorToDec().
738         - color and bgcolor attributes are now supported on all HTML tags (color nesting is also supported).
739         - Write() function were fixed.
740         - example_006.php was updated.
741         - private function setUserRights() was added to release user rights on Acrobat Reader (this allows to display forms, see example 14)
742         
743 2.8.000 (2008-03-20)
744         - Private variables were changed to protected.
745         - Function Write() was fixed and improved.
746         - Support for dl, dt, dd, del HTML tags was introduced.
747         - Line-trought mode was added for HTML and text.
748         - Text vertical alignment on cells were fixed.
749         - Examples were updated to reflect changes.
750                 
751 2.7.002 (2008-03-13)
752         - Bug "[1912142] Encrypted PDF created/modified date" was fixed.
753         
754 2.7.001 (2008-03-10)
755         - Cell justification was fixed for non-unicode mode.
756
757 2.7.000 (2008-03-09)
758         - Cell() stretching mode 4 (forced character spacing) was fixed.
759         - writeHTMLCell() now uses Multicell() to write.
760         - Multicell() has a new parameter $ishtml to act as writeHTMLCell().
761         - Write() speed was improved for non-arabic strings.
762         - Example n. 20 was changed.
763         
764 2.6.000 (2008-03-07)
765         - various alignments bugs were fixed.
766         
767 2.5.000 (2008-03-07)
768         - Several bugs were fixed.
769         - example_019.php was added to test non-unicode mode using old fonts.
770
771 2.4.000 (2008-03-06)
772         - RTL support was deeply improved.
773         - GetStringWidth() was fixed to support RTL languages.
774         - Text() RTL alignment was fixed.
775         - Some functions were added: GetArrStringWidth(), GetCharWidth(), uniord(), utf8Bidi().
776         - example_018.php was added and test_unicode.php was removed.
777
778 2.3.000 (2008-03-05)
779         - MultiCell() signature is changed. Now support multiple columns across pages (see example_017).
780         - Write() signature is changed. Now support the cell mode to be used with MultiCell.
781         - Header() and Footer() were changed.
782         - The following functions were added: UTF8ArrSubString() and unichr().
783         - Examples were updated to reflect last changes.
784
785 2.2.004 (2008-03-04)
786         - Several examples were added.
787         - AddPage() Header() and Footer() were fixed.
788         - Documentation is now available on http://www.tcpdf.org
789         
790 2.2.003 (2008-03-03)
791         - [1894853] Performance of MultiCell() was improved.
792         - RadioButton and ListBox functions were added.
793         - 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.
794         
795 2.2.002 (2008-02-28)
796         - [1900495] html images path was fixed.
797         - Legacy image functions were reintroduced to allow PNG and JPEG support without GD library.
798
799 2.2.001 (2008-02-16)
800         - The bug "[1894700] bug with replace relative path" was fixed
801         - Justification was fixed
802         
803 2.2.000 (2008-02-12)
804         - fixed javascript bug introduced with latest release
805
806 2.1.002 (2008-02-12)
807         - Justify function was fixed on PHP4 version.
808         - Bookmank function was added ([1578250] Table of contents).
809         - Javascript and Form fields support was added ([1796359] Form fields).
810         
811 2.1.001 (2008-02-10)
812         - The bug "[1885776] Race Condition in function justitfy" was fixed.
813         - The bug "[1890217] xpdf complains that pdf is incorrect" was fixed.   
814
815 2.1.000 (2008-01-07)
816         - FPDF_FONTPATH constant was changed to K_PATH_FONTS on config file
817         - Bidirectional Algorithm to correctly reverse bidirectional languages was added.
818         - SetLeftMargin, SetTopMargin, SetRightMargin functions were fixed.
819         - SetCellPadding function was added.
820         - writeHTML was updated with new parameters.
821         - Text function was fixed.
822         - MultiCell function was fixed, now works also across multiple pages.
823         - Line width was fixed on Header and Footer functions and <hr> tag.
824         - "GetImageSize" was renamed "getimagesize".
825         - Document version was changed from 1.3 to 1.5.
826         - _begindoc() function was fixed.
827         - ChangeDate was fixed and ModDate was added.
828         - The following functions were added:
829           setPage() : Move pointer to the specified document page.
830           getPage() : Get current document page number.
831           lastpage() : Reset pointer to the last document page.
832           getNumPages() : Get the total number of inserted pages.
833           GetNumChars() : count the number of (UTF-8) characters in a string.
834         - $stretch parameter was added to Cell() function to fit text on cell:
835                         0 = disabled
836                         1 = horizontal scaling only if necessary
837                         2 = forced horizontal scaling
838                         3 = character spacing only if necessary
839                         4 = forced character spacing
840         - Line function was fixed for RTL.
841         - Graphic transformation functions were added [1811158]:
842                         StartTransform()
843                         StopTransform()
844                         ScaleX()
845                         ScaleY()
846                         ScaleXY()
847                         Scale()
848                         MirrorH()
849                         MirrorV()
850                         MirrorP()
851                         MirrorL()
852                         TranslateX()
853                         TranslateY()
854                         Translate()
855                         Rotate()
856                         SkewX()
857                         SkewY()
858                         Skew()
859         - Graphic function were added/updated [1688549]:
860                         SetLineStyle()
861                         _outPoint()
862                         _outLine()
863                         _outRect()
864                         _outCurve()
865                         Line()
866                         Rect()
867                         Curve
868                         Ellipse
869                         Circle
870                         Polygon
871                         RegularPolygon
872                 
873 2.0.000 (2008-01-04)
874         - 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.
875         - setRTL($enable) method was added to manually enable/disable the RTL text direction.
876         - 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.
877         - RC4 40bit encryption was added. Check the SetProtection method.
878         - [1815213] Improved image support for GIF, JPEG, PNG formats.
879         - [1800094] Attribute "value" was added to ordered list items <li>.
880         - 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:
881                         T: top-right for LTR or top-left for RTL
882                         M: middle-right for LTR or middle-left for RTL
883                         B: bottom-right for LTR or bottom-left for RTL
884                         N: next line
885         - Attribute "align" was added to <img> html tag to set the above image "align" parameter. Possible values are:
886                         top: top-right for LTR or top-left for RTL
887                         middle: middle-right for LTR or middle-left for RTL
888                         bottom: bottom-right for LTR or bottom-left for RTL
889         - [1798103] newline was added after </ul>, </ol> and </p> tages.
890         - [1816393] Documentation was updated.
891         - 'ln' parameter was fixed on writeHTMLCell. Now it's possible to print two or more columns across several pages;
892         - The method lastPage() was added to move the pointer on the last page;
893
894 ------------------------------------------------------------
895
896 1.53.0.TC034 (2007-07-30)
897         - fixed htmlentities conversion.
898         - MultiCell() function returns the number of cells.
899         
900 1.53.0.TC033 (2007-07-30)
901         - fixed bug 1762550: case sensitive for font files
902         - NOTE: all fonts files names must be in lowercase!
903
904 1.53.0.TC032 (2007-07-27)
905         - setLastH method was added to resolve bug 1689071.
906         - all fonts names were converted in lowercase (bug 1713005).
907         - bug 1740954 was fixed.
908         - justification was added as Cell option.
909
910 1.53.0.TC031 (2007-03-20)
911         - ToUnicode CMap were added on _puttruetypeunicode function. Now you may search and copy unicode text.
912         
913 1.53.0.TC030 (2007-03-06)
914         - fixed bug on PHP4 version.
915         
916 1.53.0.TC029 (2007-03-06)
917         - DejaVu Fonts were added.
918         
919 1.53.0.TC028 (2007-03-03)
920         - MultiCell function signature were changed: the $ln parameter were added. Check documentation for further information.
921         - Greek language were added on example sentences.
922         - setPrintHeader() and setPrintFooter() functions were added to enable or disable page header and footer.
923
924 1.53.0.TC027 (2006-12-14)
925         - $attr['face'] bug were fixed.
926         - K_TCPDF_EXTERNAL_CONFIG control where introduced on /config/tcpdf_config.php to use external configuration files.
927         
928 1.53.0.TC026 (2006-10-28)
929         - writeHTML function call were fixed on examples.
930
931 1.53.0.TC025 (2006-10-27)
932         - Bugs item #1421290 were fixed (0D - 0A substitution in some characters)
933         - Bugs item #1573174 were fixed (MultiCell documentation)
934         
935 1.53.0.TC024 (2006-09-26)
936         - getPageHeight() function were fixed (bug 1543476).
937         - fixed missing breaks on closedHTMLTagHandler function (bug 1535263).
938         - fixed extra spaces on Write function (bug 1535262).
939         
940 1.53.0.TC023 (2006-08-04)
941         - paths to barcode directory were fixed.
942         - documentation were updated.
943         
944 1.53.0.TC022 (2006-07-16)
945         - fixed bug: [ 1516858 ] Probs with PHP autoloader and class_exists() 
946
947 1.53.0.TC021 (2006-07-01)
948         - HTML attributes with whitespaces are now supported (thanks to Nelson Benitez for his support)
949         
950 1.53.0.TC020 (2006-06-23)
951         - code cleanup
952         
953 1.53.0.TC019 (2006-05-21)
954         - fixed <strong> and <em> closing tags
955         
956 1.53.0.TC018 (2006-05-18)
957         - fixed font names bug
958         
959 1.53.0.TC017 (2006-05-18)
960         - the TTF2UFM utility to convert True Type fonts for TCPDF were included on fonts folder.
961         - new free unicode fonts were included on /fonts/freefont.
962         - test_unicode.php example were exended.
963         - parameter $fill were added on Write, writeHTML and writeHTMLCell functions.
964         - documentation were updated.
965         
966 1.53.0.TC016 (2006-03-09)
967         - fixed closing <strong> tag on html parser.
968         
969 1.53.0.TC016 (2005-08-28)
970         - fpdf.php and tcpdf.php files were joined in one single class (you can still extend TCPDF with your own class).
971         - fixed problem when mb_internal_encoding is set.
972
973 1.53.0.TC014 (2005-05-29)
974         - fixed WriteHTMLCell new page issue.
975         
976 1.53.0.TC013 (2005-05-29)
977         - fixed WriteHTMLCell across pages.
978         
979 1.53.0.TC012 (2005-05-29)
980         - font color attribute bug were fixed.
981         
982 1.53.0.TC011 (2005-03-31)
983         - SetFont function were fixed (thank Sjaak Lauwers for bug notice).
984         
985 1.53.0.TC010 (2005-03-22)
986         - the html functions were improved (thanks to Manfred Vervuert for bug reporting).
987         
988 1.53.0.TC009 (2005-03-19)
989         - a wrong reference to convertColorHexToDec were fixed.
990         
991 1.53.0.TC008 (2005-02-07)
992         - removed some extra bytes from PHP files.
993         
994 1.53.0.TC007 (2005-01-08)
995         - fill attribute were removed from writeHTMLCell method.
996         
997 1.53.0.TC006 (2005-01-08)
998         - the documentation were updated.
999         
1000 1.53.0.TC005 (2005-01-05)
1001         - Steven Wittens's unicode methods were removed.
1002         - All unicode methods were rewritten from scratch.
1003         - TCPDF is now licensed as LGPL.
1004
1005 1.53.0.TC004 (2005-01-04)
1006         - this changelog were added.
1007         - removed commercial fonts for licensing issue.
1008         - Bitstream Vera Fonts were added (http://www.bitstream.com/font_rendering/products/dev_fonts/vera.html).
1009         - Now the AddFont and SetFont functions returns the basic font if the styled version do not exist.
1010