Statistics
| Branch: | Revision:

root / evote / tcpdf / CHANGELOG.TXT @ f52a1778

History | View | Annotate | Download (87.4 kB)

1
5.9.134 (2011-10-29)
2
	- The default value for $defcol parameter on convertHTMLColorToDec() method was fixed.
3
	- Deafult HTTP headers were changed to avoid browser caching.
4
	- Some deprecated syntax were replaced.
5

    
6
5.9.133 (2011-10-26)
7
	- Bug item #3428446 "copyPage method not working when diskcache enabled" was fixed.
8

    
9
5.9.132 (2011-10-20)
10
	- Bug item #3426167 "bug in function convertHTMLColorToDec()" was fixed.
11

    
12
5.9.131 (2011-10-13)
13
	- An error message was added to ImagePngAlpha() method.
14

    
15
5.9.130 (2011-10-12)
16
	- Now you can set image data strings on HTML img tag by encoding the image binary data in this way: $imgsrc = '@'.base64_encode($imgdata);
17

    
18
5.9.129 (2011-10-07)
19
	- Core fonts metrics was fixed (replace all helvetica and times php files on fonts folder).
20
	- Form fields support was improved and some problems were fixed (check the example n. 14).
21
	- Bug item #3420249 "Issue with booklet and MultiCell" was fixed.
22

    
23
5.9.128 (2011-10-06)
24
	- Method addTTFfont() was improved (check the source code documentation).
25
	- Method setExtraXMP() to set custom XMP data was added.
26

    
27
5.9.127 (2011-10-04)
28
	- Readonly mode option was activated for radiobuttons.
29

    
30
5.9.126 (2011-10-03)
31
	- Bug item #3417989 "Graphics State operator in form XObject fails to render" was fixed.
32
	- Xobjects problems with transparency, gradients and spot colors were fixed.
33

    
34
5.9.125 (2011-10-03)
35
	- Support for 8-digit CMYK hexadecimal color representation was added (to be used with XHTML and SVG).
36
	- Spot colors support was improved (check example n. 37).
37
	- Color methods were improved.
38

    
39
5.9.124 (2011-10-02)
40
	- Core fonts were updated.
41

    
42
5.9.123 (2011-10-02)
43
	- The method addTTFfont() wad added to automatically convert TTF fonts (check the new fonts guide at http://www.tcpdf.org).
44
	- Old font utils were removed.
45
	- All fonts were updated and new arabic fonts were added (almohanad were removed and replaced by aefurat and aealarabiya).
46
	- The file unicode_data.php was updated.
47
	- The file encodings_maps.php was added.
48
	- PDF/A files are now compressed to save space.
49
	- XHTML input form fields now support text-alignment attribute.
50

    
51
5.9.122 (2011-09-29)
52
	- PDF/A-1b compliance was improved to pass some online testing.
53

    
54
5.9.121 (2011-09-28)
55
	- This version includes support for PDF/A-1b format (the class constructor signature was changed - see example n. 65).
56
	- Method setSRGBmode() was added to force sRGB_IEC61966-2.1 black scaled ICC color profile for the whole document (file sRGB.icc was added).
57
	- 14 new fonts were added to allow embedding core fonts (for PDF/A compliance).
58
	- Font utils were fixed.
59

    
60
5.9.120 (2011-09-22)
61
	- This version includes a fix for _getTrueTypeFontSubset() method.
62

    
63
5.9.119 (2011-09-19)
64
	- This version includes a fix for extra page numbering on TOC.
65

    
66
5.9.118 (2011-09-17)
67
	- This version includes some changes that allows you to add a bookmark for a page that do not exist.
68

    
69
5.9.117 (2011-09-15)
70
	- TCPDFBarcode and TCPDF2DBarcode classes were extended to include a method for exporting barcodes as PNG images.
71

    
72
5.9.116 (2011-09-14)
73
	- Datamatrix class was improved and documentation was fixed.
74

    
75
5.9.115 (2011-09-13)
76
	- Datamatrix ECC200 barcode support was added (a new datamatrix.php file was added) - check example n. 50.
77
	- getBarcodeHTML() method was added on TCPDFBarcode and TCPDF2DBarcode classes to return an HTML representation of the barcode.
78
	- cURL options on Image() method were improved.
79
	- A bug on write2DBarcode() was fixed.
80

    
81
5.9.114 (2011-09-04)
82
	- A bug related to column position was fixed.
83

    
84
5.9.113 (2011-08-24)
85
	- This release include two new experimental files for parsing an existing PDF document (the integration with TCPDF is under development).
86

    
87
5.9.112 (2011-08-18)
88
	- A newline character was added after the 'trailer' keyword for compatibility with some parsers.
89
	- Support for layers was improved.
90

    
91
5.9.111 (2011-08-17)
92
	- Barcode CODE 39 default gap was restored at 1.
93

    
94
5.9.110 (2011-08-17)
95
	- Barcode CODE 39 was fixed.
96

    
97
5.9.109 (2011-08-12)
98
	- Method getNumLines() was fixed.
99
	- A bug related to page break in multi-column mode was fixed.
100

    
101
5.9.108 (2011-08-09)
102
	- A bug on PHP4 version was fixed.
103

    
104
5.9.107 (2011-08-08)
105
	- This version includes a minor bugfix.
106

    
107
5.9.106 (2011-08-04)
108
	- This version includes transparency groups: check the new parameter on startTemplate() method and example 62.
109

    
110
5.9.105 (2011-08-04)
111
	- Bug item #3386153 "Check Box not ticked when set to true" was fixed.
112

    
113
5.9.104 (2011-08-01)
114
	- Bug item #3383698 "imagemagick, resize and dpi" was fixed.
115

    
116
5.9.103 (2011-07-16)
117
	- Alignment of XHTML lines was improved.
118
	- Spell of the "length" word was fixed.
119

    
120
5.9.102 (2011-07-13)
121
	- Methods startLayer() and endLayer() were added to support arbitrary PDF layers.
122
	- Some improvements/fixes for images were added (thanks to Brendan Abbott).
123

    
124
5.9.101 (2011-07-07)
125
	- Support for JPEG and PNG ICC Color Profiles was added.
126
	- Method addEmptySignatureAppearance() was added to add empty signature fields (see example n. 52).
127
	- Bug item #3354332 "Strange line spacing with reduced font-size in writeHTML" was fixed.
128

    
129
5.9.100 (2011-06-29)
130
	- An SVG bug has been fixed.
131

    
132
5.9.099 (2011-06-27)
133
	- Bug item #3335045 "Font freesans seems somehow corrupted in footer" was fixed.
134

    
135
5.9.098 (2011-06-23)
136
	- The Named Destination feature was fixed.
137

    
138
5.9.097 (2011-06-23)
139
	- The method setHtmlVSpace() now can be used also for tags: div, li, br, dt and dd.
140
	- The Named Destination feature was added (check the example n. 15) - thanks to Christian Deligant.
141

    
142
5.9.096 (2011-06-19)
143
	- Bug item #3322234 "Surrogate pairs codes in arrUTF8ToUTF16BE" was fixed.
144

    
145
5.9.095 (2011-06-18)
146
	- Numbers alignment for Table-Of-Content methods was improved and fixed.
147
	- Font subsetting was fixed to include all parts of composite fonts.
148

    
149
5.9.094 (2011-06-17)
150
	- Bug item #3317898 "Page Group numbering broken in 5.9.093" was fixed.
151

    
152
5.9.093 (2011-06-16)
153
	- Method setStartingPageNumber() was added to set starting page number (for automatic page numbering).
154

    
155
5.9.092 (2011-06-15)
156
	- Method _putpages() was improved.
157
	- Bug item #3316678 "Memory overflow when use Rotate and SetAutoPageBreak" was fixed.
158
	- Right alignment of page numbers was improved.
159

    
160
5.9.090 (2011-06-14)
161
	- Methods AliasNbPages() and AliasNumPage() were re-added as deprecated for backward compatibility.
162

    
163
5.9.089 (2011-06-13)
164
	- Example n. 8 was updated.
165
	- Method sendOutputData() was changed to remove default compression (it was incompatible with some server settings).
166
	- Bugs related to page group numbers were fixed.
167
	- Method copyPage() was fixed.
168
	- Method Image() was improved to include support for alternative and external images.
169

    
170
5.9.088 (2011-06-01)
171
	- Method getAutoPageBreak() was added (see example n. 51).
172
	- Example n. 51 (full page background) was updated.
173

    
174
5.9.087 (2011-06-01)
175
	- Method sendOutputData() was improved to include deflate encoding.
176
	- Barcode classes on PHP 4 version were fixed.
177

    
178
5.9.086 (2011-05-31)
179
	- Font files were updated (the ones on the previous release were broken).
180
	- The script fonts/utils/makeallttffonts.php was updated and fixed.
181
	- Output() method was improved to use compression when available.
182

    
183
5.9.085 (2011-05-31)
184
	- TCPDFBarcode class (barcodes.php) now includes getBarcodeSVG() and getBarcodeSVGcode() methods to get SVG image representation of the barcode.
185
	- TCPDF2DBarcode class (2dbarcodes.php) now includes getBarcodeSVG() and getBarcodeSVGcode() methods to get SVG image representation of the barcode.
186

    
187
5.9.084 (2011-05-29)
188
	- Font files were updated.
189
	- The file fonts/utils/makeallttffonts.php was updated.
190
	- Bug item# 3308774 "Problems with font subsetting" was fixed.
191

    
192
5.9.083 (2011-05-24)
193
	- Bug item #3308387 "line height & SetCellHeightRatio" was fixed.
194

    
195
5.9.082 (2011-05-22)
196
	- Bug item #3305592 "Setting fill color <> text color breaks text clipping" was fixed.
197

    
198
5.9.081 (2011-05-18)
199
	- Method resetHeaderTemplate() was added to reset the xobject template used by Header() method.
200
	- Method setHeaderTemplateAutoreset() was added to automatically reset the xobject template used by Header() method at each page.
201

    
202
5.9.080 (2011-05-17)
203
	- A problem related to file path calculation for images was fixed.
204
	- A problem related to unsupressed getimagesize() error was fixed.
205

    
206
5.9.079 (2011-05-16)
207
	- Footer() method was changed to use C128 barcode as default (instead of the previous C128B).
208

    
209
5.9.078 (2011-05-12)
210
	- Bug item #3300878 "wrong rendering for html bullet list in some case" was fixed.
211
	- Bug item #3301017 "Emphasized vs. font-weight" was fixed.
212
	- Barcode Code 128 was improved to include AUTO mode (automatically switch between A, B and C modes).
213
	- Examples n. 27 and 49 were updated.
214

    
215
5.9.077 (2011-05-07)
216
	- Bug item #3298591 "error code93" was fixed.
217
	- SetLineStyle() function was improved.
218

    
219
5.9.076 (2011-05-06)
220
	- Bug item #3298264 "codebar 93 error" was fixed.
221

    
222
5.9.075 (2011-05-02)
223
	- Table header alignment when using WriteHTMLCell() or MultiCell() was fixed.
224

    
225
5.9.074 (2011-04-28)
226
	- Bug item #3294306 "CSS classes not work in <thead> table section" was fixed.
227

    
228
5.9.073 (2011-04-27)
229
	- A bug related to character entities on HTML cells was fixed.
230

    
231
5.9.072 (2011-04-26)
232
	- Method resetColumns() was added to remove multiple columns and reset page margins (example n. 10 was updated).
233

    
234
5.9.071 (2011-04-19)
235
	- Bug #3288574 "<br/> trouble" was fixed.
236

    
237
5.9.069 (2011-04-19)
238
	- Bug #3288763 "HTML-Table: non-breaking table rows: Bug" was fixed.
239

    
240
5.9.068 (2011-04-15)
241
	- Bookmark, addTOC and addHTMLTOC methods were improved to include font style and color (Examples 15, 49 and 59 were updated).
242
	- Default $_SERVER['DOCUMENT_ROOT'] value on tcpdf_config.php file was changed.
243

    
244
5.9.067 (2011-04-10)
245
	- Performances were drastically improved (PDF documents are now created more quickly).
246

    
247
5.9.066 (2011-04-09)
248
	- A bug related to digital signature + encryption was fixed.
249
	- A bug related to encryption + xobject templates was fixed.
250

    
251
5.9.065 (2011-04-08)
252
	- Bug item #3280512 "Text encoding iso-8859-2 crashes" was fixed.
253

    
254
5.9.064 (2011-04-05)
255
	- A bug related to character entities on HTML cells was fixed.
256

    
257
5.9.063 (2011-04-01)
258
	- Bug item #3267235 "WriteHTML() and image that doesn't fit on the page" was fixed.
259

    
260
5.9.062 (2011-03-23)
261
	- Bug item #3232650 "Using Write if there are pageRegions active creates error" was fixed.
262
	- Bug item #3221891 "text input borders" was fixed.
263
	- Bug item #3228958 "Adobe Reader 9.4.2 crash" was fixed.
264

    
265
5.9.061 (2011-03-15)
266
	- Bug item #3213488 "wrong function call in function Write" was fixed.
267
	- Bug item #3203007 "list element with black background" was fixed.
268

    
269
5.9.060 (2011-03-08)
270
	- addTOC() method was fixed for text alignment problems.
271

    
272
5.9.059 (2011-02-27)
273
	- Default Header() method was improved to reduce document size.
274

    
275
5.9.058 (2011-02-25)
276
	- Image() method was improved to cache images with transparency layers (thanks to Korneliusz Jarzębski for reporting this problem).
277

    
278
5.9.057 (2011-02-24)
279
	- A problem with image caching system was fixed (thanks to Korneliusz Jarzębski for reporting this problem).
280

    
281
5.9.056 (2011-02-22)
282
	- A bug on fixHTMLCode() method was fixed.
283
	- Automatic line break for HTML was fixed.
284

    
285
5.9.055 (2011-02-17)
286
	- Another bug related to HTML table page break was fixed.
287

    
288
5.9.054 (2011-02-16)
289
	- A bug related to HTML table page break was fixed.
290

    
291
5.9.053 (2011-02-16)
292
	- Support for HTML attribute display="none" was added.
293

    
294
5.9.052 (2011-02-15)
295
	- A bug related to HTML automatic newlines was fixed.
296

    
297
5.9.051 (2011-02-12)
298
	- "Commas at beginning of new lines" problem was fixed.
299

    
300
5.9.050 (2011-02-11)
301
	- Bug #3177606 "SVG Bar chart error" was fixed.
302

    
303
5.9.049 (2011-02-03)
304
	- Bug #3170777 "TCPDF creates a new page after a single line in writeHTML" was fixed.
305

    
306
5.9.048 (2011-02-02)
307
	- No changes. Just released to override previous release that was not uploaded correctly.
308

    
309
5.9.047 (2011-01-28)
310
	- Bug #3167115 "PDF error in <table> (example 48)" was fixed (was introduced in 5.8.046).
311

    
312
5.9.046 (2011-01-18)
313
	- PDF view/print layers are now automatically turned off if not used (see setVisibility() method).
314

    
315
5.9.045 (2011-01-17)
316
	- HTML list support were improved.
317

    
318
5.9.044 (2011-01-15)
319
	- Bug #3158422 "writeHTMLCell Loop" was fixed.
320
	- Some HTML image alignment problems were fixed.
321

    
322
5.9.043 (2011-01-14)
323
	- Bug #3158178 "PHP Notice" was fixed.
324
	- Bug #3158193 "Endless loop in writeHTML" was fixed.
325
	- Bug #3157764 "SVG Pie chart incorrectly rendered2".
326

    
327
5.9.042 (2011-01-14)
328
	- Some problems of the PHP4 version were fixed.
329

    
330
5.9.041 (2011-01-13)
331
	- A problem with SVG elliptical arc path was fixed (ref. bug #3156574).
332
	- A problem related to font weight on HTML table headers was fixed.
333

    
334
5.9.040 (2011-01-12)
335
	- A bug related to empty pages after table was fixed.
336

    
337
5.9.039 (2011-01-12)
338
	- Bug item #3155759 "openssl_random_pseudo_bytes() slow under Windows" was fixed.
339

    
340
5.9.038 (2011-01-11)
341
	- Minor bugs were fixed.
342

    
343
5.9.037 (2011-01-09)
344
	- An alignment problem for HTML texts was fixed.
345

    
346
5.9.036 (2011-01-07)
347
	- A bug related to HTML tables on header was fixed.
348

    
349
5.9.035 (2011-01-03)
350
	- A problem related to HTML table border alignment was fixed.
351
	- Bug #2996366 "FastCGI and Header Problems" was fixed.
352

    
353
5.9.034 (2010-12-19)
354
	- DejaVu and GNU Free fonts were updated.
355

    
356
5.9.033 (2010-12-18)
357
	- Source code documetnation was improved.
358

    
359
5.9.032 (2010-12-18)
360
	- Default font stretching and spacing values are now inherited by HTML methods.
361

    
362
5.9.031 (2010-12-16)
363
	- Source code documentation errors were fixed.
364

    
365
5.9.030 (2010-12-16)
366
	- Several source code documentation errors were fixed.
367
	- Source code style was changed for Doxygen.
368
	- Source code documentation was moved online to http://www.tcpdf.org
369

    
370
5.9.029 (2010-12-04)
371
	- The $fitbox parameter on Image() method was extended to specify image alignment inside the box (check the example n. 9).
372

    
373
5.9.028 (2010-12-03)
374
	- Font utils makefont.php and makeallttffonts.php were updated.
375

    
376
5.9.027 (2010-12-01)
377
	- Spot Colors are now better integrated with HTML mode.
378
	- Method SetDocInfoUnicode() was added to turn on/off Unicode mode for document information dictionary (meta tags) - check the example n. 19.
379

    
380
5.9.026 (2010-12-01)
381
	- A problem with mixed text directions on HTML was fixed.
382

    
383
5.9.025 (2010-12-01)
384
	- The AddSpotColor() now automatically fills the spotcolor array (defined on spotcolors.php file).
385

    
386
5.9.024 (2010-11-30)
387
	- Bug item #3123612 "SVG not use gradientTransform in percentage mode" was fixed.
388

    
389
5.9.023 (2010-11-25)
390
	- A potential bug on SVG transcoder was fixed.
391

    
392
5.9.022 (2010-11-21)
393
	- Method ImageEPS includes support for EPS/AI Spot colors.
394
	- Method ImageEPS includes a new parameter $fixoutvals to remove values outside the bounding box.
395

    
396
5.9.021 (2010-11-20)
397
	- Support for custom bullet points images was added (check the example n.6)
398
	- Examples n. 6 and 61 were update (check the comments inside).
399

    
400
5.9.020 (2010-11-19)
401
	- A problem related to additional page when using multicolumn mode was fixed.
402

    
403
5.9.019 (2010-11-19)
404
	- An SVG bug was fixed.
405
	- ImageSVG() and ImageEPS() methods now accepts image data streams (put the string on the $file parameter preceded by '@' character).
406
	- Option 'E' was added to the $dest parameter of Output() method to return the document as base64 mime multi-part email attachment (RFC 2045).
407

    
408
5.9.018 (2010-11-19)
409
	- An SVG bug was fixed.
410

    
411
5.9.017 (2010-11-16)
412
	- Tagline color was set to transparent.
413
	- The method fixHTMLCode() was added to automatically clean up HTML code (requires HTML Tidy).
414

    
415
5.9.016 (2010-11-16)
416
	- Bug item #3109705 "list item page break hanging bullet" was fixed.
417

    
418
5.9.015 (2010-11-16)
419
	- Bug item affecting QRCode was fixed.
420
	- Some bugs affecting HTML lists were fixed.
421
	- ImageSVG() and fitBlock() methods were improved to handle some SVG problems.
422
	- Some problems with PHP4 compatibility were fixed.
423

    
424
5.9.014 (2010-11-15)
425
	- Bug item #3109464 "QRCode error" was fixed.
426

    
427
5.9.013 (2010-11-15)
428
	- Bug item #3109257 "Problem with interlaced GIFs and PNGs" was fixed.
429
	- Image function now accepts image data streams (check example n. 9).
430

    
431
5.9.012 (2010-11-12)
432
	- Method getTCPDFVersion() was added.
433
	- PDF_PRODUCER constant was removed.
434
	- Method convertHTMLColorToDec() was improved.
435
	- HTML colors now support spot color names defined on the new spotcolors.php file.
436
	- The default method Header() was improved to support SVG and EPS/AI images.
437
	- A bug on SVG importer was fixed.
438

    
439
5.9.011 (2010-11-02)
440
	- Bug item #3101486 "Bug Fix for image loading" was fixed.
441

    
442
5.9.010 (2010-10-27)
443
	- Support for CSS properties 'border-spacing' and 'padding' for tables were added.
444
	- Several language files were added.
445

    
446
5.9.009 (2010-10-21)
447
	- HTML text alignment was improved to include the case of RTL text on LTR direction and LTR text on RTL direction.
448

    
449
5.9.008 (2010-10-21)
450
	- Bug item #3091502 "Bookmark oddity" was fixed.
451
	- HTML internal links now accepts page number and Y position.
452
	- The method write1DBarcode() was improved to accept separate horizontal and vertical padding (see example n. 27).
453

    
454
5.9.007 (2010-10-20)
455
	- Method adjustCellPadding() was fixed to handle bad input.
456

    
457
5.9.006 (2010-10-19)
458
	- Support for AES 256 bit encryption was added (see example n. 16).
459
	- Method getNumLines() was fixed for the empty string case.
460

    
461
5.9.005 (2010-10-18)
462
	- Method addPageRegion() was changed to accept regions starting exactly from the top of the page.
463

    
464
5.9.004 (2010-10-18)
465
	- A bug related to annotations was fixed.
466
	- The file unicode_data.php was canged to encapsulate all data in a class.
467
	- The file htmlcolors.php was changed to remove the global variable.
468

    
469
5.9.003 (2010-10-15)
470
	- Support for no-write page regions was added. Check the example n. 64 and new methods setPageRegions(), addPageRegion(), getPageRegions(), removePageRegion().
471
	- A bug on Right-To-Left alignment was fixed.
472

    
473
5.9.002 (2010-10-08)
474
	- Cell method was improved to preserve the font stretching and spacing values when using the $stretch parameter (see example n. 4).
475

    
476
5.9.001 (2010-10-07)
477
	- The problem of blank page for nobr table higher than a single page was fixed.
478

    
479
5.9.000 (2010-10-06)
480
	- Support for text stretching and spacing (kerning) was added, see example n. 63 and methods setFontStretching(), getFontStretching(), setFontSpacing(), getFontSpacing().
481
	- Support for CSS properties 'font-stretch' and 'letter-spacing' was added (see example n. 63).
482
	- The cMargin state was replaced by cell_padding array that can be set/get using setCellPadding() and getCellPadding() methods.
483
	- Methods getCellPaddings() and setCellPaddings() were added to fine tune cell paddings (see example n. 5).
484
	- Methods getCellMargins() and setCellMargins() were added to fine tune cell margins (see example n. 5).
485
	- Method write1DBarcode() was improved to permit custom labels (see example n. 27).
486
	- Method ImagePngAlpha() now includes support for ImageMagick to improve performances.
487
	- XObject Template support was extended to support Multicell(), writeHTML() and writeHTMLCell() methods.
488
	- The signature of getNumLines() and getStringHeight() methods is changed.
489
	- Example n. 57 was updated.
490

    
491
// -------------------------------------------------------------------
492

    
493
5.8.034 (2010-09-27)
494
	- A bug related to SetFont on XObject templates was fixed.
495

    
496
5.8.033 (2010-09-25)
497
	- A problem with Footer() and multiple columns was fixed.
498

    
499
5.8.032 (2010-09-22)
500
	- Bug #3073165 "Issues with changes to addHTMLVertSpace()" was fixed.
501

    
502
5.8.031 (2010-09-20)
503
	- Bug #3071961 "Spaces in HTML" was fixed.
504

    
505
5.8.030 (2010-09-17)
506
	- SVG support was improved and some bugs were fixed.
507

    
508
5.8.029 (2010-09-16)
509
	- A problem with HTML borders was fixed.
510

    
511
5.8.028 (2010-09-13)
512
	- Bug #3065224 "mcrypt_create_iv error on TCPDF 5.8.027 on PHP 5.3.2" was fixed.
513

    
514
5.8.027 (2010-09-13)
515
	- Bug #3065118 "mcrypt_decrypt error on TCPDF 5.8.026 on PHP 5.3.2" was fixed.
516

    
517
5.8.026 (2010-09-13)
518
	- A bug on addHTMLTOC() method was fixed. Note: be sure that the #TOC_PAGE_NUMBER# template has enough width to be printed correctly.
519

    
520
5.8.025 (2010-09-09)
521
	- Bug #3062692 "Textarea inside a table" was fixed.
522

    
523
5.8.024 (2010-09-08)
524
	- Bug #3062005 "Undefined variable: ann_obj_id" was fixed.
525

    
526
5.8.023 (2010-08-31)
527
	- Forms bug added on version 5.8.019 was fixed.
528

    
529
5.8.022 (2010-08-31)
530
	- Bug #3056632 "SVG rendered vertically flipped" was fixed.
531

    
532
5.8.021 (2010-08-30)
533
	- A new CID-0 'chinese' font was added for traditional Chinese.
534
	- Bug #3054287 'Inner tags are ignored due to "align" attribute' was fixed.
535

    
536
5.8.020 (2010-08-26)
537
	- CSS "catch-all" class selector is now supported.
538

    
539
5.8.019 (2010-08-26)
540
	- XObject Templates now includes support for links and annotations.
541
	- A problem related to link alignment on cell was fixed.
542
	- A problem related to SVG styles was fixed.
543

    
544
5.8.018 (2010-08-25)
545
	- Method getNumberOfColumns() was added.
546
	- A problem related to table header was fixed.
547
	- Method getSVGTransformMatrix() was fixed to apply SVG transformations in the correct order.
548
	- SVG support was improved and several bugs were fixed.
549

    
550
5.8.017 (2010-08-25)
551
	- This version includes support for XObject Templates (see the new example n. 62).
552
	- Methods starttemplate(), endTemplate() and printTemplate() were added (see the new example n. 62).
553

    
554
5.8.016 (2010-08-24)
555
	- Alignment problem on write2DBarcode was fixed.
556

    
557
5.8.015 (2010-08-24)
558
	- A problem arised with the latest bugfix was fixed.
559

    
560
5.8.014 (2010-08-23)
561
	- Method _getxobjectdict() was added for better compatibility with external extensions.
562
	- A bug related to radiobuttons was fixed.
563
	- Bug #3051509 "new line after punctuation marks" was fixed (partially).
564

    
565
5.8.013 (2010-08-23)
566
	- SVG support for 'direction' property was added.
567
	- A problem on default width calculation for linear barcodes was fixed.
568
	- New option was added to write1DBarcode() method to improve alignments (see example n. 27).
569
	- Bug #3050896 "Nested HTML tables: styles are not applied" was fixed.
570
	- Method _putresourcedict() was improved to include external XObject templates.
571

    
572
5.8.012 (2010-08-22)
573
	- Support for SVG 'text-anchor' property was added.
574

    
575
5.8.011 (2010-08-21)
576
	- Method write1DBarcode() was improved to be backward compatible (check the new example n. 27).
577
	- Support for CSS width and height properties on images were added.
578

    
579
5.8.010 (2010-08-20)
580
	- Documentation of unhtmlentities() was fixed.
581
	- The 'fitwidth' option was added and border color problem was fixed on write1DBarcode() method (check the example n. 27).
582

    
583
5.8.009 (2010-08-20)
584
	- Internal object numbering was improved.
585
	- Some errors in object encryption were fixed.
586

    
587
5.8.008 (2010-08-19)
588
	- Method write1DBarcode() was changed, check the example n. 27.
589
	- Method Footer() was changed to account for barcode changes.
590
	- Automatic calculation of K_PATH_URL constant was fixed on configuration file.
591
	- Method setEqualColumns() was fixed for $width=0 case.
592
	- Method AddTOC() was fixed for multipage and multicolumn modes.
593
	- Better support for SVG "font-family" property.
594
	- A problem on default Page Zoom mode was fixed.
595
	- Several Annotation bugs were fixed.
596

    
597
5.8.007 (2010-08-18)
598
	- A bug affecting HTML tables was fixed.
599
	- Bug #3047500 "SVG not rendering paths properly" was fixed.
600

    
601
5.8.006 (2010-08-17)
602
	- A bug affecting HTML table nesting was fixed.
603

    
604
5.8.005 (2010-08-17)
605
	- A bug affecting the HTML 'select' tag in certain conditions was fixed.
606

    
607
5.8.004 (2010-08-17)
608
	- Better support for HTML "font-family" property.
609
	- A bug related to HTML multicolumn was fixed.
610

    
611
5.8.003 (2010-08-16)
612
	- Better support for HTML "font-family" property.
613

    
614
5.8.002 (2010-08-14)
615
	- HTML alignments were improved
616
	- 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.
617
	- Example n. 1 was updated.
618

    
619
5.8.001 (2010-08-12)
620
	- Bug #3043650 "subsetchars incorrectly cached" was fixed.
621

    
622
5.8.000 (2010-08-11)
623
	- A control to avoid bookmarking page 0 was added.
624
	- addTOC() method now includes support for multicolumn mode.
625
	- Support for tables in multicolumn mode was improved.
626
	- Example n.10 was updated.
627
	- All trimming functions were replaced with stringLeftTrim(), stringRightTrim() and stringTrim().
628
	- HTML alignments were improved.
629

    
630
------------------------------------------------------------
631

    
632
5.7.003 (2010-08-08)
633
	- Bug #3041263 "php source ending is bad" was fixed (all PHP files were updated, including fonts).
634

    
635
5.7.002 (2010-08-06)
636
	- Methods copyPage(), movePage() and deletePage() were changed to account for internal markings.
637

    
638
5.7.001 (2010-08-05)
639
	- Bug #3040105 "Broken PDF when using TOC (example 45)" was fixed.
640

    
641
5.7.000 (2010-08-03)
642
	- CSS borders are now supported for HTML tables and other block tags (see example n. 61);
643
	- Cell borders were improved (see example n. 57);
644
	- Minor bugs were fixed.
645

    
646
------------------------------------------------------------
647

    
648
5.6.000 (2010-07-31)
649
	- A bug with object IDs was fixes.
650
	- Performances were improved.
651

    
652
------------------------------------------------------------
653

    
654
5.5.015 (2010-07-29)
655
	- Automatic fix for unclosed self-closing tag.
656
	- Support for deprecated 's' and 'strike' tags was added.
657
	- Empty list items problem was fixed.
658

    
659
5.5.014 (2010-07-15)
660
	- Support for external images was improved.
661

    
662
5.5.013 (2010-07-14)
663
	- Bug #3029338 "FI and FO output destination filename bug" was fixed (previous fix was wrong).
664

    
665
5.5.012 (2010-07-14)
666
	- Bug #3029310 "Font baseline inconsistencies with line-height and font-size" was fixed.
667
	- Bug #3029338 "FI and FO output destination filename bug" was fixed.
668

    
669
5.5.011 (2010-07-09)
670
	- Support for multiple CSS classes was added.
671
	- The method getColumn() was added to return the current column number.
672
	- Some regular Expressions were fixed to be more compatible with UTF-8.
673

    
674
5.5.010 (2010-07-06)
675
	- Bug item #3025772 "Borders in all image functions are still flawed" was fixed.
676

    
677
5.5.009 (2010-07-05)
678
	- A problem related to last page footer was fixed.
679
	- Image alignments and fit-on-page features were improved.
680

    
681
5.5.008 (2010-07-02)
682
	- A problem on table header alignment in booklet mode was fixed.
683
	- Default graphic vars are now applied for setHeader();
684

    
685
5.5.007 (2010-07-02)
686
	- Attribute "readonly" was added to input and textarea form fields.
687
	- Vertical alignment feature was added on MultiCell() method only for simple text mode (see example n. 5).
688
	- Text-Fit feature was added on MultiCell() method only for simple text mode (see example n. 5).
689

    
690
5.5.006 (2010-06-29)
691
	- getStringHeight() and getNumLines() methods were fixed.
692

    
693
5.5.005 (2010-06-28)
694
	- Bug #3022170 "getFontDescent() does not return correct descent value" was fixed.
695
	- Some problems with multicolumn mode were fixed.
696

    
697
5.5.004 (2010-06-27)
698
	- Bug #3021803 "SVG Border" was fixed.
699

    
700
5.5.003 (2010-06-26)
701
	- On Write() method, blank lines at the beginning of a page or column are now automatically removed.
702

    
703
5.5.002 (2010-06-24)
704
	- ToUnicode Identity-H name was replaced with a full CMap (to avoid preflight syntax error).
705
	- Bug #3020638 "str_split() not available in php4" was fixed.
706
	- Bug #3020665 "file_get_contents() too many parameters for php4" was fixed.
707

    
708
5.5.001 (2010-06-23)
709
	- A problem on image streams was fixed.
710

    
711
5.5.000 (2010-06-22)
712
	- Several PDF syntax errors (and related bugs) were fixed.
713
	- Bug #3019090 "/Length values are wrong if AES encryption is used" was fixed.
714

    
715
------------------------------------------------------------
716

    
717
5.4.003 (2010-06-19)
718
	- A problem related to page boxes was fixed.
719
	- Bug #3016920 "Font subsetting issues when editing pdf" was partially fixed (Note that flattening transparency layers is currently incompatible with TrueTypeUnicode fonts).
720

    
721
5.4.002 (2010-06-18)
722
	- A problem related with setProtection() method was fixed.
723

    
724
5.4.001 (2010-06-18)
725
	- A problem related with setProtection() method was fixed.
726

    
727
5.4.000 (2010-06-18)
728
	- The method setSignatureAppearance() was added, check the example n. 52.
729
	- Several problems related to font subsetting were fixed.
730

    
731
------------------------------------------------------------
732

    
733
5.3.010 (2010-06-15)
734
	- Previous release was corrupted.
735

    
736
5.3.009 (2010-06-15)
737
	- Bug #3015934 "Bullets don't display correctly" was fixed.
738

    
739
5.3.008 (2010-06-13)
740
	- This version fixes some problems of SVG rasterization.
741

    
742
5.3.007 (2010-06-13)
743
	- This version improves SVG support.
744

    
745
5.3.006 (2010-06-10)
746
	- This version includes a change in uniqid calls for backward compatibility with PHP4.
747

    
748
5.3.005 (2010-06-09)
749
	- The method getPageSizeFromFormat() was changed to include all standard page formats (includes 281 page formats + variation).
750

    
751
5.3.004 (2010-06-08)
752
	- Bug #3013291 "HTML table cell width" was fixed.
753
	- Bug #3013294 "HTML table cell alignment" was fixed.
754
	- The columns widths of HTML tables are now inherited from the first row.
755

    
756
5.3.003 (2010-06-08)
757
	- Bug #3013102 "HTML table header misaligned after page break" was fixed.
758

    
759
5.3.002 (2010-06-07)
760
	- The methods setFontSubsetting() and setFontSubsetting() were added to control the default font subsetting mode (see example n. 1).
761
	- Bug #3012596 "Whitespace should not appeared after use Thai top characters" was fixed.
762
	- Examples n. 1, 14, and 54 were updated.
763

    
764
5.3.001 (2010-06-06)
765
	- Barcode PDF417 was improved to support Macro Code Blocks (see example n. 50).
766

    
767
5.3.000 (2010-06-05)
768
	- License was changed to GNU-LGPLv3 (see the updated LICENSE.TXT file).
769
	- PDF417 barcode support was added (check the example n. 50).
770
	- The method write2DBarcode() was improved (some parameters were added and other changed - check example n. 50).
771

    
772
------------------------------------------------------------
773

    
774
5.2.000 (2010-06-02)
775
	- IMPORTANT: Support for font subsetting was added by default to reduce the size of documents using large unicode font files.
776
		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.
777
		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.
778
	- The signature of the SetFont() and AddFont() methods were changed to include the font subsetting option (subsetting is applied by default).
779
	- Examples 14 and 54 were updated.
780

    
781
------------------------------------------------------------
782

    
783
5.1.002 (2010-05-27)
784
	- Bug #3007818 "SetAutoPageBreak fails with MultiCell" was fixed.
785
	- A bug related to MultiCell() minimun height was fixed.
786

    
787
5.1.001 (2010-05-26)
788
	- The problem of blank page after table was fixed.
789

    
790
5.1.000 (2010-05-25)
791
	- This version includes support for CSS (Cascading Style Sheets) (see example n. 61).
792
	- The convertHTMLColorToDec() method was improved.
793

    
794
------------------------------------------------------------
795

    
796
5.0.014 (2010-05-21)
797
	- A problem on color and style of HTML links was fixed.
798
	- A bug relative to gradients was fixed.
799
	- The getStringHeight() method was added and getNumLines() method was improved.
800
	- All examples were updated.
801

    
802
5.0.013 (2010-05-19)
803
	- A bug related to page-breaks and table cells was fixed.
804

    
805
5.0.012 (2010-05-19)
806
	- Page orientation bug was fixed.
807
	- The access to method setPageFormat() was changed to 'protected' because it is not intended to be directly called.
808

    
809
5.0.011 (2010-05-19)
810
	- Page orientation bug was fixed.
811
	- Bug #3003966 "Multiple columns and nested lists" was fixed.
812

    
813
5.0.010 (2010-05-17)
814
	- The methods setPageFormat(), setPageOrientation() and related methods were extended to include page boxes, page rotations and page transitions.
815
	- The method setPageBoxes() was added to set page boundaries (MediaBox, CropBox, BleedBox, TrimBox, ArtBox);
816
	- A bug relative to underline, overline and linethrough was fixed.
817

    
818
5.0.009 (2010-05-16)
819
	- Bug #3002381 "Multiple columns and nested lists" was fixed.
820

    
821
5.0.008 (2010-05-15)
822
	- Bug "Columns WriteHTML and Justification" was fixed.
823

    
824
5.0.007 (2010-05-14)
825
	- Bug #3001347 "Bug when using  WriteHTML with setEqualColumns()" was fixed.
826
	- Bug #3001505 "problem with sup and sub tags at the beginning of a line" was fixed.
827

    
828
5.0.006 (2010-05-13)
829
	- Length of hr tag was fixed.
830
	- An error on 2d barcode method was fixed.
831

    
832
5.0.005 (2010-05-12)
833
	- 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.
834
	- SetProtection() method was extended to support RSA and AES 128 encryption and public-keys (see example 16).
835
	- Bug #2999489 "setEqualColumns() and TOC uses wrong columns" was fixed (see the example 10).
836

    
837
5.0.004 (2010-05-10)
838
	- HTML line alignment when using sub and sup tags was fixed.
839

    
840
5.0.003 (2010-05-07)
841
	- 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.
842
	- Header() method was changed to account for new image alignment rules.
843

    
844
5.0.002 (2010-05-06)
845
	- Bookmark() and related methods were fixed to accept HTML code.
846
	- A problem on HTML links was fixed.
847

    
848
5.0.001 (2010-05-06)
849
	- Protected method _putstream was re-added for backward compatibility.
850
	- The following method were added to display HTML Table Of Content (see example n. 59):
851
		addTOCPage(), endTOCPage(), addHTMLTOC().
852

    
853
5.0.000 (2010-05-05)
854
	- Method ImageSVG() was added to embedd SVG images (see example n. 58). Note that not all SVG images are supported.
855
	- Method setRasterizeVectorImages() was added to enable/disable rasterization for vector images via ImageMagick library.
856
	- Method RoundedRectXY() was added.
857
	- Method PieSectorXY() was added.
858
	- Gradient() method is now public and support new features.
859
	- Shading to transparency is now supported.
860
	- Image alignments were fixed.
861
	- Support for dynamic images were improved.
862
	- PDF_IMAGE_SCALE_RATIO has been changed to 1.25 for better compatibility with SVG.
863
	- RAW and RAW2 modes were added to 2D Barcodes (see example n. 50).
864
	- Automatic padding feature was added on barcodes (see examples n. 27 and 50).
865
	- Bug #2995003 "Reproduced thead bug" was fixed.
866
	- The Output() method now accepts FI and FD destinations to save the document on server before sending it to the client.
867
	- Ellipse() method was improved and fixed (see page 2 of example n. 12).
868

    
869
------------------------------------------------------------
870

    
871
4.9.018 (2010-04-21)
872
	- Bug item #2990356 "Current font size not respected with more than two HTML <p>" was fixed.
873

    
874
4.9.017 (2010-04-21)
875
	- Bug item #2990224 "Different behaviour for equivalent HTML strings" was fixed.
876
	- Bug item #2990314 "Dash is not appearing with SHY character" was fixed.
877

    
878
4.9.016 (2010-04-20)
879
	- An error on htmlcolors.php was fixed.
880
	- getImageFileType() method was improved.
881
	- GIF images with transparency are now better supported.
882
	- Automatic page orientation was improved.
883

    
884
4.9.015 (2010-04-20)
885
	- A new method copyPage() was added to clone pages (see example n. 44).
886
	- Support for text overline was added.
887
	- Underline and linethrough methods were fixed.
888
	- Bug #2989058 "SHY character causes unnecessary word-wrapping" was fixed.
889

    
890
4.9.014 (2010-04-18)
891
	- Bug item #2988845 was fixed.
892

    
893
4.9.013 (2010-04-15)
894
	- Image() and ImageEPS() methods were fixed and improved; $fitonpage parameter was added.
895

    
896
4.9.012 (2010-04-12)
897
	- The hyphenateText() method was added to automatically hyphenate text (see example n. 46).
898

    
899
4.9.011 (2010-04-07)
900
	- Vertical alignments for Cell() method were improved (see example n. 57).
901

    
902
4.9.010 (2010-04-06)
903
	- Signature of Cell() method now includes new parameters for vertical alignment (see example n. 57).
904
	- Text() method was extended to include all Cell() parameters.
905
	- HTML line alignment procedure was changed to fix some bugs.
906

    
907
4.9.009 (2010-04-05)
908
	- Text() method was fixed for backward compatibility.
909

    
910
4.9.008 (2010-04-03)
911
	- Additional line space after table header was removed.
912
	- Support for HTML lists in multicolumn mode was added.
913
	- The method setTextRenderingMode() was added to set text rendering modes (see the example n. 26).
914
	- The following HTML attributes were added to set text rendering modes (see the example n. 26): stroke, strokecolor, fill.
915

    
916
4.9.007 (2010-04-03)
917
	- Font Descent computation was fixed (patch #2981441).
918

    
919
4.9.006 (2010-04-02)
920
	- The constant K_TCPDF_CALLS_IN_HTML was added on configuration file to enable/disable the ability to call TCPDF methods in HTML.
921
	- 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.
922

    
923
4.9.005 (2010-04-01)
924
	- Bug# 2980354 "Wrong File attachment description with security" was fixed.
925
	- Several problems with HTML line alignment were fixed.
926
	- 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.
927
	- A problem with font name directory was fixed.
928
	- A bug on _destroy() method was fixed.
929

    
930
4.9.004 (2010-03-31)
931
	- Patch #979681 "GetCharWidth - default character width" was applied (bugfix).
932

    
933
4.9.003 (2010-03-30)
934
	- Problem of first <br /> on multiple columns was fixed.
935
	- HTML line alignment was fixed.
936
	- A QR-code bug was fixed.
937

    
938
4.9.002 (2010-03-29)
939
	- Patch #2978349 "$ignore_min_height is ignored in function Cell()" was applied.
940
	- Bug #2978607 "2D Barcodes are wrong" was fixed.
941
	- A problem with HTML block tags was fixed.
942
	- Artificial italic for CID-0 fonts was added.
943
	- Several multicolumn bugs were fixed.
944
	- Support for HTML tables on multicolumn was added.
945

    
946
4.9.001 (2010-03-28)
947
	- QR Code minor bug was fixed.
948
	- Multicolumn mode was added (see the new example n. 10).
949
	- The following methods were added: setEqualColumns(), setColumnsArray(), selectColumn().
950
	- Thai diacritics support were changed (note that this is incompatible with html justification).
951

    
952
4.9.000 (2010-03-27)
953
	- QR Code (2D barcode) support was added (see example n. 50).
954
	- The following methods were added to print crop and registration marks (see example n. 56): colorRegistrationBar(), cropMark(), registrationMark().
955
	- Limited support for CSS line-height property was added.
956
	- Gradient method now supports Gray, RGB and CMYK space color.
957
	- Example n. 51 was updated.
958
	- Vertical alignment of font inside cell was fixed.
959
	- Support for multiple Thai diacritics was added.
960
	- Bug item #2974929 "Duplicate case values" was fixed.
961
	- Bug item #2976729 "File attachment not working with security" was fixed.
962

    
963
------------------------------------------------------------
964

    
965
4.8.039 (2010-03-20)
966
	- Problems related to custom locale settings were fixed.
967
	- Problems related to HTML on Header and Footer were fixed.
968

    
969
4.8.038 (2010-03-13)
970
	- Various bugs related to page-break in HTML mode were fixed.
971
	- Bug item #2968974 "Another <thead> pagebreak problem" was fixed.
972
	- Bug item #2969276 "justification problem" was fixed.
973
	- Bug item #2969289 "bug when using justified text and custom headers" was fixed.
974
	- Images are now automatically resized to be contained on the page.
975
	- Some HTML line alignments were fixed.
976
	- Signature of AddPage() and SetMargins() methods were changed to include an option to set default page margins.
977

    
978
4.8.037 (2010-03-03)
979
	- Bug item #2962068 was fixed.
980
	- Bug item #2967017 "Problems with <thead> and pagebreaks" was fixed.
981
	- Bug item #2967023 "table header lost with pagebreak" was fixed.
982
	- Bug item #2967032 "Header lost with nested tables" was fixed.
983

    
984
4.8.036 (2010-02-24)
985
	- Automatic page break for HTML images was improved.
986
	- Example 10 was updated.
987
	- Japanese was removed from example 8 because the freeserif font doesn't contain japanese (you can display it using arialunicid0 font).
988

    
989
4.8.035 (2010-02-23)
990
	- Automatic page break for HTML images was added.
991
	- Support for multicolumn HTML was added (example 10 was updated).
992

    
993
4.8.034 (2010-02-17)
994
	- Language files were updated.
995

    
996
4.8.033 (2010-02-12)
997
	- A bug related to protection mode with links was fixed.
998

    
999
4.8.032 (2010-02-04)
1000
	- A bug related to $maxh parameter on Write() and MultiCell() was fixed.
1001
	- Support for body tag was added.
1002

    
1003
4.8.031 (2010-01-30)
1004
	- Bug item #2941589 "paragraph justify not working on some non-C locales" was fixed.
1005

    
1006
4.8.030 (2010-01-27)
1007
	- Some text alignment cases were fixed.
1008

    
1009
4.8.029 (2010-01-27)
1010
	- Bug item #2941057 "TOC Error in PDF File Output" was fixed.
1011
	- Some text alignment cases were fixed.
1012

    
1013
4.8.028 (2010-01-26)
1014
	- Text alignment for RTL mode was fixed.
1015

    
1016
4.8.027 (2010-01-25)
1017
	- Bug item #2938412 "Table related problems - thead, nobr, table width" was fixed.
1018

    
1019
4.8.026 (2010-01-19)
1020
	- The misspelled word "lenght" was replaced with "length" in some variables and comments.
1021

    
1022
4.8.025 (2010-01-18)
1023
	- addExtGState() method was improved to reuse existing ExtGState objects.
1024

    
1025
4.8.024 (2010-01-15)
1026
	- Justification mode for HTML was fixed (Bug item #2932470).
1027

    
1028
4.8.023 (2010-01-15)
1029
	- Bug item #2932470 "Some HTML entities breaks justification" was fixed.
1030

    
1031
4.8.022 (2010-01-14)
1032
	- Source code documentation was fixed.
1033

    
1034
4.8.021 (2010-01-03)
1035
	- A Bug relative to Table Of Content index was fixed.
1036

    
1037
4.8.020 (2009-12-21)
1038
	- Bug item #2918545 "Display problem of the first row of a table with larger font" was fixed.
1039
	- A Bug relative to table rowspan mode was fixed.
1040

    
1041
4.8.019 (2009-12-16)
1042
	- Bug item #2915684 "Image size" was fixed.
1043
	- Bug item #2914995 "Image jpeg quality" was fixed.
1044
	- The signature of the Image() method was changed (check the documentation for the $resize parameter).
1045

    
1046
4.8.018 (2009-12-15)
1047
	- Bug item #2914352 "write error" was fixed.
1048

    
1049
4.8.017 (2009-11-27)
1050
	- THEAD problem when table is used on header/footer was fixed.
1051
	- A first line alignment on HTML justification was fixed.
1052
	- Method getImageFileType() was added.
1053
	- Images with unknown extension and type are now supported via ImageMagick PHP extension.
1054

    
1055
4.8.016 (2009-11-21)
1056
	- Document Information Dictionary was fixed.
1057
	- CSS attributes 'page-break-before', 'page-break-after' and 'page-break-inside' are now supported.
1058
	- Problem of unclosed last page was fixed.
1059
	- Problem of 'thead' unnecessarily repeated on the next page was fixed.
1060

    
1061
4.8.015 (2009-11-20)
1062
	- A problem with some PNG transparency images was fixed.
1063
	- Bug #2900762 "Sort issues in Bookmarks" was fixed.
1064
	- Text justification was fixed for various modes: underline, strikeout and background.
1065

    
1066
4.8.014 (2009-11-04)
1067
	- Bug item #2891316 "writeHTML, underlining replacing spaces" was fixed.
1068
	- The handling of temporary RTL text direction mode was fixed.
1069

    
1070
4.8.013 (2009-10-26)
1071
	- Bug item #2884729 "Problem with word-wrap and hyphen" was fixed.
1072

    
1073
4.8.012 (2009-10-23)
1074
	- Table cell alignments for RTL booklet mode were fixed.
1075
	- Images and barcode alignments for booklet mode were fixed.
1076

    
1077
4.8.011 (2009-10-22)
1078
	- DejaVu fonts were updated to latest version.
1079

    
1080
4.8.010 (2009-10-21)
1081
	- Bookmark for TOC page was added.
1082
	- Signature of addTOC() method is changed.
1083
	- Bookmarks are now automatically sorted by page and Y position.
1084
	- Example n. 45 was updated.
1085
	- Example n. 55 was added to display all charactes available on core fonts.
1086

    
1087
4.8.009 (2009-09-30)
1088
	- Compatibility with PHP 5.3 was improved.
1089
	- All examples were updated.
1090
	- Index file for examples was added.
1091

    
1092
4.8.008 (2009-09-29)
1093
	- Example 49 was updated.
1094
	- Underline and linethrough now works with cell stretching mode.
1095

    
1096
4.8.007 (2009-09-23)
1097
	- Infinite loop problem caused by nobr attribute was fixed.
1098

    
1099
4.8.006 (2009-09-23)
1100
	- Bug item #2864522 "No images if DOCUMENT_ROOT=='/'" was fixed.
1101
	- Support for text-indent CSS attribute was added.
1102
	- Method rollbackTransaction() was changed to support self-reassigment of previous object (check source code documentation).
1103
	- 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>).
1104

    
1105
4.8.005 (2009-09-17)
1106
	- A bug relative to multiple transformations and annotations was fixed.
1107

    
1108
4.8.004 (2009-09-16)
1109
	- A bug on _putannotsrefs() method was fixed.
1110

    
1111
4.8.003 (2009-09-15)
1112
	- Bug item #2858754 "Division by zero" was fixed.
1113
	- A bug relative to HTML list items was fixed.
1114
	- A bug relative to form fields on multiple pages was fixed.
1115
	- PolyLine() method was added (see example n. 12).
1116
	- Signature of Polygon() method was changed.
1117

    
1118
4.8.002 (2009-09-12)
1119
	- 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.
1120

    
1121
4.8.001 (2009-09-09)
1122
	- The appearance streams (AP) for anotations form fields was fixed (see examples n. 14 and 54).
1123
	- Radiobuttons were fixed.
1124

    
1125
4.8.000 (2009-09-07)
1126
	- This version includes some support for Forms fields (see example n. 14) and XHTML forms (see example n. 54).
1127
	- The following methods were changed to work without JavaScript: TextField(), RadioButton(), ListBox(), ComboBox(), CheckBox(), Button().
1128
	- Support for Widget annotations was improved.
1129
	- Alignment of annotation objects was fixed (examples 36 and 41 were updated).
1130
	- addJavascriptObject() method was added.
1131
	- Signature of Image() method was changed.
1132
	- htmlcolors.php file was updated.
1133

    
1134
------------------------------------------------------------
1135

    
1136
4.7.003 (2009-09-03)
1137
	- Support for TCPDF methods on HTML was improved (see example n. 49).
1138

    
1139
4.7.002 (2009-09-02)
1140
	- Bug item #2848892 "writeHTML + table: Gaps between rows" was fixed.
1141
	- JavaScript support was fixed (see example n. 53).
1142

    
1143
4.7.001 (2009-08-30)
1144
	- The Polygon() and Arrow() methods were fixed and improved (see example n. 12).
1145

    
1146
4.7.000 (2009-08-29)
1147
	- This is a major release.
1148
	- Some procedures were internally optimized.
1149
	- The problem of mixed signature and annotations was fixed (example n. 52).
1150

    
1151
4.6.030 (2009-08-29)
1152
	- IMPORTANT: percentages on table cell widths are now relative to the full table width (as in standard HTML).
1153
	- Various minor bugs were fixed.
1154
	- Example n. 52 (digital signature) was updated.
1155

    
1156
4.6.029 (2009-08-26)
1157
	- PHP4 version was fixed.
1158

    
1159
4.6.028 (2009-08-25)
1160
	- Signature algorithm was finally fixed (see example n. 52).
1161

    
1162
4.6.027 (2009-08-24)
1163
	- TCPDF now supports unembedded TrueTypeUnicode Fonts (just comment the $file entry on the fonts' php file.
1164

    
1165
4.6.026 (2009-08-21)
1166
	- Bug #2841693 "Problem with MultiCell and ishtml and justification" was fixed.
1167
	- Signature functions were improved but not yet fixed (tcpdf.crt and example n. 52 were updated).
1168

    
1169
4.6.025 (2009-08-17)
1170
	- Carriage returns (\r) were removed from source code.
1171
	- Problem related to set_magic_quotes_runtime() depracated was fixed.
1172

    
1173
4.6.024 (2009-08-07)
1174
	- Bug item #2833556 "justification using other units than mm" was fixed.
1175
	- Documentation was fixed/updated.
1176

    
1177
4.6.023 (2009-08-02)
1178
	- Bug item #2830537 "MirrorH can show mask for transparent PNGs" was fixed.
1179

    
1180
4.6.022 (2009-07-24)
1181
	- A bug relative to single line printing when using WriteHTMLCell() was fixed.
1182
	- Signature support were improved but is still experimental.
1183
	- Fonts Free and Dejavu were updated to latest versions.
1184

    
1185
4.6.021 (2009-07-20)
1186
	- Bug item #2824015 "XHTML Ampersand &amp; in hyperlink bug" was fixed.
1187
	- Bug item #2824036 "Image as hyperlink in table, text displaced at page break" was fixed.
1188
	- Links alignment on justified text was fixed.
1189
	- Unicode "\u" modifier was added to re_spaces variable by default.
1190

    
1191
4.6.020 (2009-07-16)
1192
	- Bug item #2821921 "issue in example 18" was fixed.
1193
	- Signature of SetRTL() method was changed.
1194

    
1195
4.6.019 (2009-07-13)
1196
	- Bug item #2820703 "xref table broken" was fixed.
1197

    
1198
4.6.018 (2009-07-10)
1199
	- Bug item #2819319 "Text over text" was fixed.
1200
	- Method Arrow() was added to print graphic arrows (example 12 was updated).
1201

    
1202
4.6.017 (2009-07-05)
1203
	- Bug item #2816079 "Example 48 not working" was fixed.
1204
	- The signature of the checkPageBreak() was changed. The parameter $addpage was added to turn off the automatic page creation.
1205

    
1206
4.6.016 (2009-06-16)
1207
	- 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}]/');
1208
	- The method _putinfo() now automatically fills the metadata with '?' in case of empty string.
1209

    
1210
4.6.015 (2009-06-11)
1211
	- Bug #2804667 "word wrap bug" was fixed.
1212

    
1213
4.6.014 (2009-06-04)
1214
	- Bug #2800931 "Table thead tag bug" was fixed.
1215
	- A bug related to <pre> tag was fixed.
1216

    
1217
4.6.013 (2009-05-28)
1218
	- List bullets position was fixed for RTL languages.
1219

    
1220
4.6.012 (2009-05-23)
1221
	- setUserRights() method doesn't work anymore unless you call the setSignature() method with the Adobe private key!
1222

    
1223
4.6.011 (2009-05-18)
1224
	- Signature of the Image() method was changed to include the new $fitbox parameter (see source code documentation).
1225

    
1226
4.6.010 (2009-05-17)
1227
	- 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.
1228
	- <tcpdf> tag indent problem was fixed.
1229
	- $y parameter was added to checkPageBreak() method.
1230
	- Bug n. 2791773 "writeHTML" was fixed.
1231

    
1232
4.6.009 (2009-05-13)
1233
	- xref table for embedded files was fixed.
1234

    
1235
4.6.008 (2009-05-07)
1236
	- setSignature() method was improved (but is still experimental).
1237
	- Example n. 52 was added.
1238

    
1239
4.6.007 (2009-05-05)
1240
	- Bug #2786685 "writeHtmlCell and <br /> in custom footer" was fixed.
1241
	- Table header repeating bug was fixed.
1242
	- Some newlines and tabs are now automatically removed from HTML strings.
1243

    
1244
4.6.006 (2009-04-28)
1245
	- Support for "<a name="...">...</a>" was added.
1246
	- By default TCPDF requires PCRE Unicode support turned on but now works also without it (with limited ability to detect some Unicode blank spaces).
1247

    
1248
4.6.005 (2009-04-25)
1249
	- Points (pt) conversion in getHTMLUnitToUnits() was fixed.
1250
	- Default tcpdf.pem certificate file was added.
1251
	- 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).
1252

    
1253
4.6.004 (2009-04-23)
1254
	- Method deletePage() was added to delete pages (see example n. 44).
1255

    
1256
4.6.003 (2009-04-21)
1257
	- The caching mechanism of the UTF8StringToArray() method was fixed.
1258

    
1259
4.6.002 (2009-04-20)
1260
	- Documentation of rollbackTransaction() method was fixed.
1261
	- The setImageScale() and getImageScale() methods now set and get the adjusting parameter used by pixelsToUnits() method.
1262
	- HTML images now support other units of measure than pixels (getHTMLUnitToUnits() is now used instead of pixelsToUnits()).
1263
	- WARNING: PDF_IMAGE_SCALE_RATIO has been changed by default to 1.
1264

    
1265
4.6.001 (2009-04-17)
1266
	- Spaces between HTML block tags are now automatically removed.
1267
	- The bug related to cMargin changes between tables was fixed.
1268

    
1269
4.6.000 (2009-04-16)
1270
	- WARNING: THIS VERSION CHANGES THE BEHAVIOUR OF $x and $y parameters for several TCPDF methods:
1271
		zero coordinates for $x and $y are now valid coordinates;
1272
		set $x and $y as empty strings to get the current value.
1273
	- Some error caused by 'empty' funtion were fixed.
1274
	- Default color for convertHTMLColorToDec() method was changed to white and the return value for invalid color is false.
1275
	- HTML on footer bug was fixed.
1276
	- The following examples were fixed: 5,7,10,17,19,20,21,33,42,43.
1277

    
1278
4.5.043 (2009-04-15)
1279
	- Barcode class (barcode.php) was extended to include new linear barcode types (see example n. 27):
1280
		C39 : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9
1281
		C39+ : CODE 39 with checksum
1282
		C39E : CODE 39 EXTENDED
1283
		C39E+ : CODE 39 EXTENDED + CHECKSUM
1284
		C93 : CODE 93 - USS-93
1285
		S25 : Standard 2 of 5
1286
		S25+ : Standard 2 of 5 + CHECKSUM
1287
		I25 : Interleaved 2 of 5
1288
		I25+ : Interleaved 2 of 5 + CHECKSUM
1289
		C128A : CODE 128 A
1290
		C128B : CODE 128 B
1291
		C128C : CODE 128 C
1292
		EAN2 : 2-Digits UPC-Based Extention
1293
		EAN5 : 5-Digits UPC-Based Extention
1294
		EAN8 : EAN 8
1295
		EAN13 : EAN 13
1296
		UPCA : UPC-A
1297
		UPCE : UPC-E
1298
		MSI : MSI (Variation of Plessey code)
1299
		MSI+ : MSI + CHECKSUM (modulo 11)
1300
		POSTNET : POSTNET
1301
		PLANET : PLANET
1302
		RMS4CC : RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)
1303
		KIX : KIX (Klant index - Customer index)
1304
		IMB: Intelligent Mail Barcode - Onecode - USPS-B-3200 (NOTE: requires BCMath PHP extension)
1305
		CODABAR : CODABAR
1306
		CODE11 : CODE 11
1307
		PHARMA : PHARMACODE
1308
		PHARMA2T : PHARMACODE TWO-TRACKS
1309

    
1310
4.5.042 (2009-04-15)
1311
	- Method Write() was fixed for the strings containing only zero value.
1312

    
1313
4.5.041 (2009-04-14)
1314
	- Barcode methods were fixed.
1315

    
1316
4.5.040 (2009-04-14)
1317
	- Method Write() was fixed to handle empty strings.
1318

    
1319
4.5.039 (2009-04-11)
1320
	- Support for linear barcodes was extended (see example n. 27 and barcodes.php documentation).
1321

    
1322
4.5.038 (2009-04-10)
1323
	- Write() method was improved to support separators for Japanese, Korean, Chinese Traditional and Chinese Simplified.
1324

    
1325
4.5.037 (2009-04-09)
1326
	- General performances were improved.
1327
	- The signature of the method utf8Bidi() was changed.
1328
	- The method UniArrSubString() was added.
1329
	- Experimental support for 2D barcodes were added (see example n. 50 and 2dbarcodes.php class).
1330

    
1331
4.5.036 (2009-04-03)
1332
	- TCPDF methods can be called inside the HTML code (see example n. 49).
1333
	- All tag attributes, such as <p align="center"> must be enclosed within double quotes.
1334

    
1335
4.5.035 (2009-03-28)
1336
	- Bug #2717436 "writeHTML rowspan problem (continued)" was fixed.
1337
	- Bug #2719090 "writeHTML fix follow up" was fixed.
1338
	- 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.
1339

    
1340
4.5.034 (2009-03-27)
1341
	- Bug #2716914 "Bug writeHTML of a table in body and footer related with pb" was fixed.
1342
	- Bug #2717056 ] "writeHTML problem when setting tr style" was fixed.
1343
	- The signature of the Cell() method was changed.
1344

    
1345
4.5.033 (2009-03-27)
1346
	- The support for rowspan/colspan on HTML tables was improved (see example n. 48).
1347

    
1348
4.5.032 (2009-03-23)
1349
	- setPrintFooter(false) bug was fixed.
1350

    
1351
4.5.031 (2009-03-20)
1352
	- Table header support was extended to multiple pages.
1353

    
1354
4.5.030 (2009-03-20)
1355
	- thead tag is now supported on HTML tables (header rows are repeated after page breaks).
1356
	- The startTransaction() was improved to autocommit.
1357
	- List bullets now uses the foreground color (putHtmlListBullet()).
1358

    
1359
4.5.029 (2009-03-19)
1360
	- The following methods were added to UNDO commands (see example 47): startTransaction(), commitTransaction(), rollbackTransaction().
1361
	- All examples were updated.
1362

    
1363
4.5.028 (2009-03-18)
1364
	- Bug #2690945 "List Bugs" was fixed.
1365
	- HTML text alignment on lists was fixed.
1366
	- The constant PDF_FONT_MONOSPACED was added to the configuration file to define the default monospaced font.
1367
	- The following methods were fixed: getPageWidth(), getPageHeight(), getBreakMargin().
1368
	- All examples were updated.
1369

    
1370
4.5.027 (2009-03-16)
1371
	- Method getPageDimensions() was added to get page dimensions.
1372
	- The signature of the following methos were changed: getPageWidth(), getPageHeight(), getBreakMargin().
1373
	- _parsepng() method was fixed for PNG URL images (fread bug).
1374

    
1375
4.5.026 (2009-03-11)
1376
	- Bug #2681793 affecting URL images with spaces was fixed.
1377

    
1378
4.5.025 (2009-03-10)
1379
	- A small bug affecting hyphenation support was fixed.
1380
	- The method SetDefaultMonospacedFont() was added to define the default monospaced font.
1381

    
1382
4.5.024 (2009-03-07)
1383
	- The bug #2666493 was fixed "Footer corrupts document".
1384

    
1385
4.5.023 (2009-03-06)
1386
	- The bug #2666688 was fixed "Rowspan in tables".
1387

    
1388
4.5.022 (2009-03-05)
1389
	- The bug #2659676 was fixed "refer to #2157099 test 4 < BR > problem still not fixed".
1390
	- addTOC() function bug was fixed.
1391

    
1392
4.5.020 (2009-03-03)
1393
	- The following bug was fixed: "function removeSHY corrupts unicode".
1394

    
1395
4.5.019 (2009-02-28)
1396
	- The problem of decimal separator using different locale was fixed.
1397
	- The text hyphenation is now supported (see example n. 46).
1398

    
1399
4.5.018 (2009-02-26)
1400
	- The _destroy() method was added to unset all class variables and frees memory.
1401
	- Now it's possible to call Output() method multiple times.
1402

    
1403
4.5.017 (2009-02-24)
1404
	- A minor bug that raises a PHP warning was fixed.
1405

    
1406
4.5.016 (2009-02-24)
1407
	- Bug item #2631200 "getNumLines() counts wrong" was fixed.
1408
	- Multiple attachments bug was fixed.
1409
	- All class variables are now cleared on Output() for memory otpimization.
1410

    
1411
4.5.015 (2009-02-18)
1412
	- Bug item #2612553 "function Write() must not break a line on &nbsp;  character" was fixed.
1413

    
1414
4.5.014 (2009-02-13)
1415
	- Bug item #2595015 "POSTNET Barcode Checksum Error" was fixed (on barcode.php).
1416
	- Pagebreak bug for barcode was fixed.
1417

    
1418
4.5.013 (2009-02-12)
1419
	- border attribute is now supported on HTML images (only accepts the same values accepted by Cell()).
1420

    
1421
4.5.012 (2009-02-12)
1422
	- An error on image border feature was fixed.
1423

    
1424
4.5.011 (2009-02-12)
1425
	- HTML links for images are now supported.
1426
	- height attribute is now supported on HTML cells.
1427
	- $border parameter was added to Image() and ImageEps() methods.
1428
	- The method getNumLines() was added to estimate the number of lines required for the specified text.
1429

    
1430
4.5.010 (2009-01-29)
1431
	- Bug n. 2546108 "BarCode Y position" was fixed.
1432

    
1433
4.5.009 (2009-01-26)
1434
	- Bug n. 2538094 "Empty pdf file created" was fixed.
1435

    
1436
4.5.008 (2009-01-26)
1437
	- setPage() method was fixed to correctly restore graphic states.
1438
	- Source code was cleaned up for performances.
1439

    
1440
4.5.007 (2009-01-24)
1441
	- checkPageBreak() and write1DBarcode() methods were fixed.
1442
	- Source code was cleaned up for performances.
1443
	- barcodes.php was updated.
1444

    
1445
4.5.006 (2009-01-23)
1446
	- getHTMLUnitToPoints() method was replaced by getHTMLUnitToUnits() to fix HTML units bugs.
1447

    
1448
4.5.005 (2009-01-23)
1449
	- Page closing bug was fixed.
1450

    
1451
4.5.004 (2009-01-21)
1452
	- The access of convertHTMLColorToDec() method was changed to public
1453
	- Fixed bug on UL tag.
1454

    
1455
4.5.003 (2009-01-19)
1456
	- Fonts on different folders are now supported.
1457

    
1458
4.5.002 (2009-01-07)
1459
	- addTOC() function was improved (see example n. 45).
1460

    
1461
4.5.001 (2009-01-04)
1462
	- The signature of startPageGroup() function was changed.
1463
	- Method Footer() was improved to automatically print page or page-group number (see example n. 23).
1464
	- Protected method formatTOCPageNumber() was added to customize the format of page numbers on the Table Of Content.
1465
	- The signature of addTOC() was changed to include the font used for page numbers.
1466

    
1467
4.5.000 (2009-01-03)
1468
	- A new $diskcache parameter was added to class constructor to enable disk caching and reduce RAM memory usage (see example n. 43).
1469
	- The method movePageTo() was added to move pages to previous positions (see example n. 44).
1470
	- The methods getAliasNumPage() and getPageNumGroupAlias() were added to get the alias for page number (needed when using movepageTo()).
1471
	- The methods addTOC() was added to print a Table Of Content (see example n. 45).
1472
	- Imagick class constant was removed for better compatibility with PHP4.
1473
	- All existing examples were updated and new examples were added.
1474

    
1475
4.4.009 (2008-12-29)
1476
	- Examples 1 and 35 were fixed.
1477

    
1478
4.4.008 (2008-12-28)
1479
	- Bug #2472169 "Unordered bullet size not adjusted for unit type" was fixed.
1480

    
1481
4.4.007 (2008-12-23)
1482
	- Bug #2459935 "no unit conversion for header line" was fixed.
1483
	- Example n. 42 for image alpha channel was added.
1484
	- All examples were updated.
1485

    
1486
4.4.006 (2008-12-11)
1487
	- Method setLIsymbol() was changed to reflect latest changes in HTML list handling.
1488

    
1489
4.4.005 (2008-12-10)
1490
	- Bug item #2413870 "ordered list override value" was fixed.
1491

    
1492
4.4.004 (2008-12-10)
1493
	- The protected method getHTMLUnitToPoints() was added to accept various HTML units of measure (em, ex, px, in, cm, mm, pt, pc, %).
1494
	- The method intToRoman() was added to convert integer number to Roman representation.
1495
	- Support fot HTML lists was improved: the CSS property list-style-type is now supported.
1496

    
1497
4.4.003 (2008-12-09)
1498
	- Bug item #2412147 "Warning on line 3367" was fixed.
1499
	- Method setHtmlLinksStyle() was added to set default HTML link colors and font style.
1500
	- Method addHtmlLink() was changed to use color and style defined on the inline CSS.
1501

    
1502
4.4.002 (2008-12-09)
1503
	- Borders on Multicell() were fixed.
1504
	- Problem of Multicell() on Header function (Bug item #2407579) was fixed.
1505
	- Problem on graphics tranformations applied to Multicell() was fixed.
1506
	- Support for ImageMagick was added.
1507
	- Width calculation for nested tables was fixed.
1508

    
1509
4.4.001 (2008-12-08)
1510
	- Some missing core fonts were added on fonts directory.
1511
	- CID0 fonts rendering was fixed.
1512
	- HTML support was improved (<pre> and <tt> tags are now supported).
1513
	- Bug item #2406022 "Left padding bug in MultiCell with maxh" was fixed.
1514

    
1515
4.4.000 (2008-12-07)
1516
	- File attachments are now supported (see example n. 41).
1517
	- Font functions were optimized to reduce document size.
1518
	- makefont.php was updated.
1519
	- Linux binaries were added on /fonts/utils
1520
	- All fonts were updated.
1521
	- $autopadding parameter was added to Multicell() to disable automatic padding features.
1522
	- $maxh parameter was added to Multicell() and Write() to set a maximum height.
1523

    
1524
4.3.009 (2008-12-05)
1525
	- Bug item #2392989 (Custom header + setlinewidth + cell border bug) was fixed.
1526

    
1527
4.3.008 (2008-12-05)
1528
	- Bug item #2390566 "rect bug" was fixed.
1529
	- File path was fixed for font embedded files.
1530
	- SetFont() method signature was changed to include the font filename.
1531
	- Some font-related methods were improved.
1532
	- Methods getFontFamily() and getFontStyle() were added.
1533

    
1534
4.3.007 (2008-12-03)
1535
	- PNG alpha channel is now supported (GD library is required).
1536
	- AddFont() function now support custom font file path on $file parameter.
1537
	- The default width variable ($dw) is now always defined for any font.
1538
	- The 'Style' attribute on CID-0 fonts was removed because of protection bug.
1539

    
1540
4.3.006 (2008-12-01)
1541
	- A regular expression on getHtmlDomArray() to find HTML tags was fixed.
1542

    
1543
4.3.005 (2008-11-25)
1544
	- makefont.php was fixed.
1545
	- Bug item #2339877 was fixed (false loop condition detected on WriteHTML()).
1546
	- Bug item #2336733 was fixed (lasth value update on Multicell() when border and fill are disabled).
1547
	- Bug item #2342303 was fixed (automatic page-break on Image() and ImageEPS()).
1548

    
1549
4.3.004 (2008-11-19)
1550
	- Function _textstring() was fixed (bug 2309051).
1551
	- All examples were updated.
1552

    
1553
4.3.003 (2008-11-18)
1554
	- CID-0 font bug was fixed.
1555
	- Some functions were optimized.
1556
	- Function getGroupPageNoFormatted() was added.
1557
	- Example n. 23 was updated.
1558

    
1559
4.3.002 (2008-11-17)
1560
	- Bug item #2305518 "CID-0 font don't work with encryption" was fixed.
1561

    
1562
4.3.001 (2008-11-17)
1563
	- Bug item #2300007 "download mimetype pdf" was fixed.
1564
	- Double quotes were replaced by single quotes to improve PHP performances.
1565
	- A bug relative to HTML cell borders was fixed.
1566

    
1567
4.3.000 (2008-11-14)
1568
	- The function setOpenCell() was added to set the top/bottom cell sides to be open or closed when the cell cross the page.
1569
	- A bug relative to list items indentation was fixed.
1570
	- A bug relative to borders on HTML tables and Multicell was fixed.
1571
	- A bug relative to rowspanned cells was fixed.
1572
	- A bug relative to html images across pages was fixed.
1573

    
1574
4.2.009 (2008-11-13)
1575
	- Spaces between li tags are now automatically removed.
1576

    
1577
4.2.008 (2008-11-12)
1578
	- A bug relative to fill color on next page was fixed.
1579

    
1580
4.2.007 (2008-11-12)
1581
	- The function setListIndentWidth() was added to set custom indentation widht for HTML lists.
1582

    
1583
4.2.006 (2008-11-06)
1584
	- A bug relative to HTML justification was fixed.
1585

    
1586
4.2.005 (2008-11-06)
1587
	- A bug relative to HTML justification was fixed.
1588
	- The methods formatPageNumber() and PageNoFormatted() were added to format page numbers.
1589
	- Default Footer() method was changed to use PageNoFormatted() instead of PageNo().
1590
	- Example 6 was updated.
1591

    
1592
4.2.004 (2008-11-04)
1593
	- Bug item n. 2217039 "filename handling improvement" was fixed.
1594

    
1595
4.2.003 (2008-10-31)
1596
	- Font style bug was fixed.
1597

    
1598
4.2.002 (2008-10-31)
1599
	- Bug item #2210922 (htm element br not work) was fixed.
1600
	- Write() function was improved to support margin changes.
1601

    
1602
4.2.001 (2008-10-30)
1603
	- setHtmlVSpace($tagvs) function was added to set custom vertical spaces for HTML tags.
1604
	- writeHTML() function now support margin changes during execution.
1605
	- Signature of addHTMLVertSpace() function is changed.
1606

    
1607
4.2.000 (2008-10-29)
1608
	- htmlcolors.php was changed to support class-loaders.
1609
	- ImageEps() function was improved in performances.
1610
	- Signature of Link() And Annotation() functions were changed.
1611
	- (Bug item #2198926) Links and Annotations alignment were fixed (support for geometric tranformations was added).
1612
	- rowspan mode for HTML table cells was improved and fixed.
1613
	- Booklet mode for double-sided pages was added; see SetBooklet() function and example n. 40.
1614
	- lastPage() signature is changed.
1615
	- Signature of Write() function is changed.
1616
	- Some HTML justification problems were fixed.
1617
	- Some functions were fixed to better support RTL mode.
1618
	- Example n. 10 was changed to support RTL mode.
1619
	- All examples were updated.
1620

    
1621
4.1.004 (2008-10-23)
1622
	- unicode_data.php was changed to support class-loaders.
1623
	- Bug item #2186040/2 (writeHTML margin problem) was fixed.
1624

    
1625
4.1.003 (2008-10-22)
1626
	- Bug item #2185399 was fixed (rowspan and page break).
1627
	- Bugs item #2186040 was fixed (writeHTML margin problem).
1628
	- Newline after table was removed.
1629

    
1630
4.1.002 (2008-10-21)
1631
	- Bug item #2184525 was fixed (rowspan on HTML cell).
1632

    
1633
4.1.001 (2008-10-21)
1634
	- Support for "start" attribute was added to HTML ordered list.
1635
	- unicode_data.php file was changed to include UTF-8 to ASCII table.
1636
	- Some functions were modified to better support UTF-8 extensions to core fonts.
1637
	- Support for images on HTML lists was improved.
1638
	- Examples n. 1 and 6 were updated.
1639

    
1640
4.1.000 (2008-10-18)
1641
	- Page-break bug using HTML content was fixed.
1642
	- The "false" parameter was reintroduced to class_exists function on PHP5 version to avoid autoload.
1643
	- addHtmlLink() function was improved to support internal links (i.e.: <a href="#23">link to page 23</a>).
1644
	- Justification alignment is now supported on HTML (see example n. 39).
1645
	- example_006.php was updated.
1646

    
1647
4.0.033 (2008-10-13)
1648
	- Bug n. 2157099 was fixed.
1649
	- SetX() and SetY() functions were improved.
1650
	- SetY() includes a new parameter to avoid the X reset.
1651

    
1652
4.0.032 (2008-10-10)
1653
	- Bug n. 2156926 was fixed (bold, italic, underlined, linethrough).
1654
	- setStyle() method was removed.
1655
	- Configuration file was changed to use helvetica (non-unicode) font by default.
1656
	- The use of mixed font types was improved.
1657
	- All examples were updated.
1658

    
1659
4.0.031 (2008-10-09)
1660
	- _putannots() and _putbookmarks() links alignments were fixed.
1661

    
1662
4.0.030 (2008-10-07)
1663
	- _putbookmarks() function was fixed.
1664
	- _putannots() was fixed to include internal links.
1665

    
1666
4.0.029 (2008-09-27)
1667
	- Infinite loop bug was fixed [Bug item #130309].
1668
	- Multicell() problem on Header() was fixed.
1669

    
1670
4.0.028 (2008-09-26)
1671
	- setLIsymbol() was added to set the LI symbol used on UL lists.
1672
	- Missing $padding and $encryption_key variables declarations were added [Bug item #2129058].
1673

    
1674
4.0.027 (2008-09-19)
1675
	- Bug #2118588 "Undefined offset in tcpdf.php on line 9581" was fixed.
1676
	- arailunicid0.php font was updated.
1677
	- The problem of javascript form fields duplication after saving was fixed.
1678

    
1679
4.0.026 (2008-09-17)
1680
	- convertHTMLColorToDec() function was improved to support rgb(RR,GG,BB) notation.
1681
	- 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
1682
	- Example n. 6 was updated.
1683

    
1684
4.0.025 (2008-09-15)
1685
	- _putcidfont0 function was improved to include CJK fonts (Chinese, Japanese, Korean, CJK, Asian fonts) without embedding.
1686
	- arialunicid0 font was added (see the new example n. 38).
1687
	- The following Unicode to CID-0 tables were added on fonts folder: uni2cid_ak12.php, uni2cid_aj16.php, uni2cid_ag15.php, uni2cid_ac15.php.
1688

    
1689
4.0.024 (2008-09-12)
1690
	- "stripos" function was replaced with "strpos + strtolower" for backward compatibility with PHP4.
1691
	- support for Spot Colors were added. Check the new example n. 37 and the following new functions:
1692
		AddSpotColor()
1693
		SetDrawSpotColor()
1694
		SetFillSpotColor()
1695
		SetTextSpotColor()
1696
		_putspotcolors()
1697
	- Bookmark() function was improved to fix wrong levels.
1698
	- $lasth changes after header/footer calls were fixed.
1699

    
1700
4.0.023 (2008-09-05)
1701
	- Some HTML related problems were fixed.
1702
	- Image alignment on HTML was changed, now it always defaults to the normal mode (see example_006.php).
1703

    
1704
4.0.022 (2008-08-28)
1705
	- Line height on HTML was fixed.
1706
	- Image inside an HTML cell problem was fixed.
1707
	- A new "zarbold" persian font was added.
1708

    
1709
4.0.021 (2008-08-24)
1710
	- HTTP headers were fixed on Output function().
1711
	- getAliasNbPages() and getPageGroupAlias() functions were changed to support non-unicode fonts on unicode documents.
1712
	- Function Write() was fixed.
1713
	- The problem of additional vertical spaces on HTML was fixed.
1714
	- The problem of frame around HTML links was fixed.
1715

    
1716
4.0.020 (2008-08-15)
1717
	- "[2052259] WriteHTML <u> & <b>" bug was fixed.
1718

    
1719
4.0.019 (2008-08-13)
1720
	- "Rowspan on first cell" bug was fixed.
1721

    
1722
4.0.018 (2008-08-08)
1723
	- Default cellpadding for HTML tables was fixed.
1724
	- Annotation() function was added to support some PDF annotations (see example_036.php and section 8.4 of PDF reference 1.7).
1725
	- HTML links are now correclty shifted during line alignments.
1726
	- function getAliasNbPages() was added and Footer() was updated.
1727
	- RowSpan mode for HTML tables was fixed.
1728
	- Bugs item #2043610 "Multiple sizes vertical align wrong" was fixed.
1729
	- ImageEPS() function was improved and RTL alignment was fixed (see example_032.php).
1730

    
1731
4.0.017 (2008-08-05)
1732
	- Missing CNZ and CEO style modes were added to Rect() function.
1733
	- Fonts utils were updated to include support for OpenType fonts.
1734
	- getLastH() function was added.
1735

    
1736
4.0.016 (2008-07-30)
1737
	- setPageMark() function was added. This function must be called after calling Image() function for a background image.
1738

    
1739
4.0.015 (2008-07-29)
1740
	- Some functions were changed to support different page formats (see example_028.php).
1741
	- The signature of setPage() function is changed.
1742

    
1743
4.0.014 (2008-07-29)
1744
	- K_PATH_MAIN calculation on tcpdf_config.php was fixed.
1745
	- HTML support for EPS/AI images was added (see example_006.php).
1746
	- Bugs item #2030807 "Truncated text on multipage html fields" was fixed.
1747
	- PDF header bug was fixed.
1748
	- helvetica was added as default font family.
1749
	- Stroke mode was fixed on Text function.
1750
	- several minor bugs were fixed.
1751

    
1752
4.0.013 (2008-07-27)
1753
	- Bugs item #2027799 " Big spaces between lines after page break" was fixed.
1754
	- K_PATH_MAIN calculation on tcpdf_config.php was changed.
1755
	- Function setVisibility() was fixed to avoid the "Incorrect PDEObject type" error message.
1756

    
1757
4.0.012 (2008-07-24)
1758
	- Addpage(), Header() and Footer() functions were changed to simplify the implementation of external header/footer functions.
1759
	- The following functions were added:
1760
			setHeader()
1761
			setFooter()
1762
			getImageRBX()
1763
			getImageRBY()
1764
			getCellHeightRatio()
1765
			getHeaderFont()
1766
			getFooterFont()
1767
			getRTL()
1768
			getBarcode()
1769
			getHeaderData()
1770
			getHeaderMargin()
1771
			getFooterMargin()
1772

    
1773
4.0.011 (2008-07-23)
1774
	- Font support was improved.
1775
	- The folder /fonts/utils contains new utilities and instructions for embedd font files.
1776
	- Documentation was updated.
1777

    
1778
4.0.010 (2008-07-22)
1779
	- HTML tables were fixed to work across pages.
1780
	- Header() and Footer() functions were updated to preserve previous settings.
1781
	- example_035.php was added.
1782

    
1783
4.0.009 (2008-07-21)
1784
	- UTF8StringToArray() function was fixed for non-unicode mode.
1785

    
1786
4.0.008 (2008-07-21)
1787
	- Barcodes alignment was fixed (see example_027.php).
1788
	- unicode_data.php was updated.
1789
	- Arabic shaping for "Zero-Width Non-Joiner" character (U+200C) was fixed.
1790

    
1791
4.0.007 (2008-07-18)
1792
	- str_split was replaced by preg_split for compatibility with PHP4 version.
1793
	- Clipping mode was added to all graphic functions by using parameter $style = "CNZ" or "CEO" (see example_034.php).
1794

    
1795
4.0.006 (2008-07-16)
1796
	- HTML rowspan bug was fixed.
1797
	- Line style for MultiCell() was fixed.
1798
	- WriteHTML() function was improved.
1799
	- CODE128C barcode was fixed (barcodes.php).
1800

    
1801
4.0.005 (2008-07-11)
1802
	- Bug [2015715] "PHP Error/Warning" was fixed.
1803

    
1804
4.0.004 (2008-07-09)
1805
	- HTML cell internal padding was fixed.
1806

    
1807
4.0.003 (2008-07-08)
1808
	- Removed URL encoding when F option is selected on Output() function.
1809
	- fixed some minor bugs in html tables.
1810

    
1811
4.0.002 (2008-07-07)
1812
	- Bug [2000861] was still unfixed and has been fixed.
1813

    
1814
4.0.001 (2008-07-05)
1815
	- Bug [2000861] was fixed.
1816

    
1817
4.0.000 (2008-07-03)
1818
	- THIS IS A MAIN RELEASE THAT INCLUDES SEVERAL NEW FEATURES AND BUGFIXES
1819
	- Signature fo SetTextColor() and SetFillColor() functions was changed (parameter $storeprev was removed).
1820
	- HTML support was completely rewritten and improved (see example 6).
1821
	- Alignments parameters were fixed.
1822
	- Functions GetArrStringWidth() and GetStringWidth() now include font parameters.
1823
	- Fonts support was improved.
1824
	- All core fonts were replaced and moved to fonts/ directory.
1825
	- The following functions were added: getMargins(), getFontSize(), getFontSizePt().
1826
	- File config/tcpdf_config_old.php was renamed tcpdf_config_alt.php and updated.
1827
	- Multicell and WriteHTMLCell fill function was fixed.
1828
	- Several minor bugs were fixed.
1829
	- barcodes.php was updated.
1830
	- All examples were updated.
1831

    
1832
------------------------------------------------------------
1833

    
1834
3.1.001 (2008-06-13)
1835
	- Bug [1992515] "K_PATH_FONTS default value wrong" was fixed.
1836
	- Vera font was removed, DejaVu font and Free fonts were updated.
1837
	- Image handling was improved.
1838
	- All examples were updated.
1839

    
1840
3.1.000 (2008-06-11)
1841
	- setPDFVersion() was added to change the default PDF version (currently 1.7).
1842
	- setViewerPreferences() was added to control the way the document is to be presented on the screen or printed (see example 29).
1843
	- SetDisplayMode() signature was changed (new options were added).
1844
	- LinearGradient(), RadialGradient(), CoonsPatchMesh() functions were added to print various color gradients (see example 30).
1845
	- PieSector() function was added to render render pie charts (see example 31).
1846
	- ImageEps() was added to display EPS and AI images with limited support (see example 32).
1847
	- writeBarcode() function is now depracated, a new write1DBarcode() function was added. The barcode directory was removed and a new barcodes.php file was added.
1848
	- 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.
1849
	- HTML lists were improved and could be nested (you may now represent trees).
1850
	- AddFont() bug was fixed.
1851
	- _putfonts() bug was fixed.
1852
	- graphics functions were fixed.
1853
	- unicode_data.php file was updated (fixed).
1854
	- almohanad font was updated.
1855
	- example 18 was updated (Farsi and Arabic languages).
1856
	- source code cleanup.
1857
	- All examples were updated and new examples were added.
1858

    
1859
3.0.015 (2008-06-06)
1860
	- AddPage() function signature is changed to include page format.
1861
	- example 28 was added to show page format changes.
1862
	- setPageUnit() function was added to change the page units of measure.
1863
	- setPageFormat() function was added to change the page format and orientation between pages.
1864
	- setPageOrientation() function was added to change the page orientation.
1865
	- Arabic font shaping was fixed for laa letter and square boxes (see the example 18).
1866

    
1867
3.0.014 (2008-06-04)
1868
	- Arabic font shaping was fixed.
1869
	- setDefaultTableColumns() function was added.
1870
	- $cell_height_ratio variable was added.
1871
	- setCellHeightRatio() function was added to define the default height of cell repect font height.
1872

    
1873
3.0.013 (2008-06-03)
1874
	- Multicell height parameter was fixed.
1875
	- Arabic font shaping was improved.
1876
	- unicode_data.php was updated.
1877

    
1878
3.0.012 (2008-05-30)
1879
	- K_PATH_MAIN and K_PATH_URL constants are now automatically set on config file.
1880
	- DOCUMENT_ROOT constant was fixed for IIS Webserver (config file was updated).
1881
	- Arabic font shaping was improved.
1882
	- TranslateY() function was fixed (bug [1977962]).
1883
	- setVisibility() function was fixed.
1884
	- writeBarcode() function was fixed to scale using $xref parameter.
1885
	- All examples were updated.
1886

    
1887
3.0.011 (2008-05-23)
1888
	- CMYK color support was added to all graphic functions.
1889
	- HTML table support was improved:
1890
	  -- now it's possible to include additional html tags inside a cell;
1891
	  -- colspan attribute was added.
1892
	- example 006 was updated.
1893

    
1894
3.0.010 (2008-05-21)
1895
	- fixed $laa_array inclusion on utf8Bidi() function.
1896

    
1897
3.0.009 (2008-05-20)
1898
	- unicode_data.php was updated.
1899
	- Arabic laa letter problem was fixed.
1900

    
1901
3.0.008 (2008-05-12)
1902
	- Arabic support was fixed and improved (unicode_data.php was updated).
1903
	- Polycurve() function was added to draw a poly-Bezier curve.
1904
	- list items alignment was fixed.
1905
	- example 6 was updated.
1906

    
1907
3.0.007 (2008-05-06)
1908
	- Arabic support was fixed and improved.
1909
	- AlMohanad (arabic) font was added.
1910
	- C128 barcode bugs were fixed.
1911

    
1912
3.0.006 (2008-04-21)
1913
	- Condition to check negative width values was added.
1914

    
1915
3.0.005 (2008-04-18)
1916
	- back-Slash character escape was fixed on writeHTML() function.
1917
	- Exampe 6 was updated.
1918

    
1919
3.0.004 (2008-04-11)
1920
	- Bug [1939304] (Right to Left Issue) was fixed.
1921

    
1922
3.0.003 (2008-04-07)
1923
	- Bug [1934523](Words between HTML tags in cell not kept on one line) was fixed.
1924
	- "face" attribute of "font" tag is now fully supported.
1925

    
1926
3.0.002 (2008-04-01)
1927
	- Write() functions now return the number of cells and not the number of lines.
1928
	- TCPDF is released under LGPL 2.1, or any later version.
1929

    
1930
3.0.001 (2008-05-28)
1931
	- _legacyparsejpeg() and _legacyparsepng() were renamed _parsejpeg() and _parsepng().
1932
	- function writeBarcode() was fixed.
1933
	- all examples were updated.
1934
	- example 27 was added to show various barcodes.
1935

    
1936
3.0.000 (2008-03-27)
1937
	- private function pixelsToMillimeters() was changed to public function pixelsToUnits() to fix html image size bug.
1938
	- Image-related functions were rewritten.
1939
	- resize parameter was added to Image() signature to reduce the image size and fit width and height (see example 9).
1940
	- TCPDF now supports all images supported by GD library: GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM.
1941
	- CMYK support was added to SetDrawColor(), SetFillColor(), SetTextColor() (see example 22).
1942
	- Page Groups were added (see example 23).
1943
	- setVisibility() function was added to restrict the rendering of some elements to screen or printout (see example 24).
1944
	- All private variables and functions were changed to protected.
1945
	- setAlpha() function was added to give transparency support for all objects (see example 25).
1946
	- Clipping and stroke modes were added to Text() function (see example 26).
1947
	- All examples were moved to "examples" directory.
1948
	- function setJPEGQuality() was added to set the JPEG image comrpession (see example 9).
1949

    
1950
2.9.000 (2008-03-26)
1951
	- htmlcolors.php file was added to include html colors.
1952
	- Support for HTML color names and three-digit hexadecimal color codes was added.
1953
	- private function convertColorHexToDec() was renamed convertHTMLColorToDec().
1954
	- color and bgcolor attributes are now supported on all HTML tags (color nesting is also supported).
1955
	- Write() function were fixed.
1956
	- example_006.php was updated.
1957
	- private function setUserRights() was added to release user rights on Acrobat Reader (this allows to display forms, see example 14)
1958

    
1959
2.8.000 (2008-03-20)
1960
	- Private variables were changed to protected.
1961
	- Function Write() was fixed and improved.
1962
	- Support for dl, dt, dd, del HTML tags was introduced.
1963
	- Line-trought mode was added for HTML and text.
1964
	- Text vertical alignment on cells were fixed.
1965
	- Examples were updated to reflect changes.
1966

    
1967
2.7.002 (2008-03-13)
1968
	- Bug "[1912142] Encrypted PDF created/modified date" was fixed.
1969

    
1970
2.7.001 (2008-03-10)
1971
	- Cell justification was fixed for non-unicode mode.
1972

    
1973
2.7.000 (2008-03-09)
1974
	- Cell() stretching mode 4 (forced character spacing) was fixed.
1975
	- writeHTMLCell() now uses Multicell() to write.
1976
	- Multicell() has a new parameter $ishtml to act as writeHTMLCell().
1977
	- Write() speed was improved for non-arabic strings.
1978
	- Example n. 20 was changed.
1979

    
1980
2.6.000 (2008-03-07)
1981
	- various alignments bugs were fixed.
1982

    
1983
2.5.000 (2008-03-07)
1984
	- Several bugs were fixed.
1985
	- example_019.php was added to test non-unicode mode using old fonts.
1986

    
1987
2.4.000 (2008-03-06)
1988
	- RTL support was deeply improved.
1989
	- GetStringWidth() was fixed to support RTL languages.
1990
	- Text() RTL alignment was fixed.
1991
	- Some functions were added: GetArrStringWidth(), GetCharWidth(), uniord(), utf8Bidi().
1992
	- example_018.php was added and test_unicode.php was removed.
1993

    
1994
2.3.000 (2008-03-05)
1995
	- MultiCell() signature is changed. Now support multiple columns across pages (see example_017).
1996
	- Write() signature is changed. Now support the cell mode to be used with MultiCell.
1997
	- Header() and Footer() were changed.
1998
	- The following functions were added: UTF8ArrSubString() and unichr().
1999
	- Examples were updated to reflect last changes.
2000

    
2001
2.2.004 (2008-03-04)
2002
	- Several examples were added.
2003
	- AddPage() Header() and Footer() were fixed.
2004
	- Documentation is now available on http://www.tcpdf.org
2005

    
2006
2.2.003 (2008-03-03)
2007
	- [1894853] Performance of MultiCell() was improved.
2008
	- RadioButton and ListBox functions were added.
2009
	- 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.
2010

    
2011
2.2.002 (2008-02-28)
2012
	- [1900495] html images path was fixed.
2013
	- Legacy image functions were reintroduced to allow PNG and JPEG support without GD library.
2014

    
2015
2.2.001 (2008-02-16)
2016
	- The bug "[1894700] bug with replace relative path" was fixed
2017
	- Justification was fixed
2018

    
2019
2.2.000 (2008-02-12)
2020
	- fixed javascript bug introduced with latest release
2021

    
2022
2.1.002 (2008-02-12)
2023
	- Justify function was fixed on PHP4 version.
2024
	- Bookmank function was added ([1578250] Table of contents).
2025
	- Javascript and Form fields support was added ([1796359] Form fields).
2026

    
2027
2.1.001 (2008-02-10)
2028
	- The bug "[1885776] Race Condition in function justitfy" was fixed.
2029
	- The bug "[1890217] xpdf complains that pdf is incorrect" was fixed.
2030

    
2031
2.1.000 (2008-01-07)
2032
	- FPDF_FONTPATH constant was changed to K_PATH_FONTS on config file
2033
	- Bidirectional Algorithm to correctly reverse bidirectional languages was added.
2034
	- SetLeftMargin, SetTopMargin, SetRightMargin functions were fixed.
2035
	- SetCellPadding function was added.
2036
	- writeHTML was updated with new parameters.
2037
	- Text function was fixed.
2038
	- MultiCell function was fixed, now works also across multiple pages.
2039
	- Line width was fixed on Header and Footer functions and <hr> tag.
2040
	- "GetImageSize" was renamed "getimagesize".
2041
	- Document version was changed from 1.3 to 1.5.
2042
	- _begindoc() function was fixed.
2043
	- ChangeDate was fixed and ModDate was added.
2044
	- The following functions were added:
2045
	  setPage() : Move pointer to the specified document page.
2046
	  getPage() : Get current document page number.
2047
	  lastpage() : Reset pointer to the last document page.
2048
	  getNumPages() : Get the total number of inserted pages.
2049
	  GetNumChars() : count the number of (UTF-8) characters in a string.
2050
	- $stretch parameter was added to Cell() function to fit text on cell:
2051
			0 = disabled
2052
			1 = horizontal scaling only if necessary
2053
			2 = forced horizontal scaling
2054
			3 = character spacing only if necessary
2055
			4 = forced character spacing
2056
	- Line function was fixed for RTL.
2057
	- Graphic transformation functions were added [1811158]:
2058
			StartTransform()
2059
			StopTransform()
2060
			ScaleX()
2061
			ScaleY()
2062
			ScaleXY()
2063
			Scale()
2064
			MirrorH()
2065
			MirrorV()
2066
			MirrorP()
2067
			MirrorL()
2068
			TranslateX()
2069
			TranslateY()
2070
			Translate()
2071
			Rotate()
2072
			SkewX()
2073
			SkewY()
2074
			Skew()
2075
	- Graphic function were added/updated [1688549]:
2076
			SetLineStyle()
2077
			_outPoint()
2078
			_outLine()
2079
			_outRect()
2080
			_outCurve()
2081
			Line()
2082
			Rect()
2083
			Curve
2084
			Ellipse
2085
			Circle
2086
			Polygon
2087
			RegularPolygon
2088

    
2089
2.0.000 (2008-01-04)
2090
	- 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.
2091
	- setRTL($enable) method was added to manually enable/disable the RTL text direction.
2092
	- 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.
2093
	- RC4 40bit encryption was added. Check the SetProtection method.
2094
	- [1815213] Improved image support for GIF, JPEG, PNG formats.
2095
	- [1800094] Attribute "value" was added to ordered list items <li>.
2096
	- 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:
2097
			T: top-right for LTR or top-left for RTL
2098
			M: middle-right for LTR or middle-left for RTL
2099
			B: bottom-right for LTR or bottom-left for RTL
2100
			N: next line
2101
	- Attribute "align" was added to <img> html tag to set the above image "align" parameter. Possible values are:
2102
			top: top-right for LTR or top-left for RTL
2103
			middle: middle-right for LTR or middle-left for RTL
2104
			bottom: bottom-right for LTR or bottom-left for RTL
2105
	- [1798103] newline was added after </ul>, </ol> and </p> tages.
2106
	- [1816393] Documentation was updated.
2107
	- 'ln' parameter was fixed on writeHTMLCell. Now it's possible to print two or more columns across several pages;
2108
	- The method lastPage() was added to move the pointer on the last page;
2109

    
2110
------------------------------------------------------------
2111

    
2112
1.53.0.TC034 (2007-07-30)
2113
	- fixed htmlentities conversion.
2114
	- MultiCell() function returns the number of cells.
2115

    
2116
1.53.0.TC033 (2007-07-30)
2117
	- fixed bug 1762550: case sensitive for font files
2118
	- NOTE: all fonts files names must be in lowercase!
2119

    
2120
1.53.0.TC032 (2007-07-27)
2121
	- setLastH method was added to resolve bug 1689071.
2122
	- all fonts names were converted in lowercase (bug 1713005).
2123
	- bug 1740954 was fixed.
2124
	- justification was added as Cell option.
2125

    
2126
1.53.0.TC031 (2007-03-20)
2127
	- ToUnicode CMap were added on _puttruetypeunicode function. Now you may search and copy unicode text.
2128

    
2129
1.53.0.TC030 (2007-03-06)
2130
	- fixed bug on PHP4 version.
2131

    
2132
1.53.0.TC029 (2007-03-06)
2133
	- DejaVu Fonts were added.
2134

    
2135
1.53.0.TC028 (2007-03-03)
2136
	- MultiCell function signature were changed: the $ln parameter were added. Check documentation for further information.
2137
	- Greek language were added on example sentences.
2138
	- setPrintHeader() and setPrintFooter() functions were added to enable or disable page header and footer.
2139

    
2140
1.53.0.TC027 (2006-12-14)
2141
	- $attr['face'] bug were fixed.
2142
	- K_TCPDF_EXTERNAL_CONFIG control where introduced on /config/tcpdf_config.php to use external configuration files.
2143

    
2144
1.53.0.TC026 (2006-10-28)
2145
	- writeHTML function call were fixed on examples.
2146

    
2147
1.53.0.TC025 (2006-10-27)
2148
	- Bugs item #1421290 were fixed (0D - 0A substitution in some characters)
2149
	- Bugs item #1573174 were fixed (MultiCell documentation)
2150

    
2151
1.53.0.TC024 (2006-09-26)
2152
	- getPageHeight() function were fixed (bug 1543476).
2153
	- fixed missing breaks on closedHTMLTagHandler function (bug 1535263).
2154
	- fixed extra spaces on Write function (bug 1535262).
2155

    
2156
1.53.0.TC023 (2006-08-04)
2157
	- paths to barcode directory were fixed.
2158
	- documentation were updated.
2159

    
2160
1.53.0.TC022 (2006-07-16)
2161
	- fixed bug: [ 1516858 ] Probs with PHP autoloader and class_exists()
2162

    
2163
1.53.0.TC021 (2006-07-01)
2164
	- HTML attributes with whitespaces are now supported (thanks to Nelson Benitez for his support)
2165

    
2166
1.53.0.TC020 (2006-06-23)
2167
	- code cleanup
2168

    
2169
1.53.0.TC019 (2006-05-21)
2170
	- fixed <strong> and <em> closing tags
2171

    
2172
1.53.0.TC018 (2006-05-18)
2173
	- fixed font names bug
2174

    
2175
1.53.0.TC017 (2006-05-18)
2176
	- the TTF2UFM utility to convert True Type fonts for TCPDF were included on fonts folder.
2177
	- new free unicode fonts were included on /fonts/freefont.
2178
	- test_unicode.php example were exended.
2179
	- parameter $fill were added on Write, writeHTML and writeHTMLCell functions.
2180
	- documentation were updated.
2181

    
2182
1.53.0.TC016 (2006-03-09)
2183
	- fixed closing <strong> tag on html parser.
2184

    
2185
1.53.0.TC016 (2005-08-28)
2186
	- fpdf.php and tcpdf.php files were joined in one single class (you can still extend TCPDF with your own class).
2187
	- fixed problem when mb_internal_encoding is set.
2188

    
2189
1.53.0.TC014 (2005-05-29)
2190
	- fixed WriteHTMLCell new page issue.
2191

    
2192
1.53.0.TC013 (2005-05-29)
2193
	- fixed WriteHTMLCell across pages.
2194

    
2195
1.53.0.TC012 (2005-05-29)
2196
	- font color attribute bug were fixed.
2197

    
2198
1.53.0.TC011 (2005-03-31)
2199
	- SetFont function were fixed (thank Sjaak Lauwers for bug notice).
2200

    
2201
1.53.0.TC010 (2005-03-22)
2202
	- the html functions were improved (thanks to Manfred Vervuert for bug reporting).
2203

    
2204
1.53.0.TC009 (2005-03-19)
2205
	- a wrong reference to convertColorHexToDec were fixed.
2206

    
2207
1.53.0.TC008 (2005-02-07)
2208
	- removed some extra bytes from PHP files.
2209

    
2210
1.53.0.TC007 (2005-01-08)
2211
	- fill attribute were removed from writeHTMLCell method.
2212

    
2213
1.53.0.TC006 (2005-01-08)
2214
	- the documentation were updated.
2215

    
2216
1.53.0.TC005 (2005-01-05)
2217
	- Steven Wittens's unicode methods were removed.
2218
	- All unicode methods were rewritten from scratch.
2219
	- TCPDF is now licensed as LGPL.
2220

    
2221
1.53.0.TC004 (2005-01-04)
2222
	- this changelog were added.
2223
	- removed commercial fonts for licensing issue.
2224
	- Bitstream Vera Fonts were added (http://www.bitstream.com/font_rendering/products/dev_fonts/vera.html).
2225
	- Now the AddFont and SetFont functions returns the basic font if the styled version do not exist.
2226

    
2227
EOF --------------------------------------------------------