-
Notifications
You must be signed in to change notification settings - Fork 2
/
CHANGELOG.TXT
2452 lines (1883 loc) · 95 KB
/
CHANGELOG.TXT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
5.9.193 (2012-09-25)
- Support for named destinations on HTML links was added (i.e.: <a href="#destinationname">link to named destination</a>).
5.9.192 (2012-09-24)
- A problem on the releasing process was fixed.
5.9.191 (2012-09-24)
- SVG image naow support svg and eps images.
5.9.190 (2012-09-23)
- "page" word translation is now set to empty if not defined.
- Tooltip feature was added on the radiobutton annotation.
5.9.189 (2012-09-18)
- Bug item #3568969 "ini_get safe_mode error" was fixed.
5.9.188 (2012-09-15)
- A datamatrix barcode bug was fixed.
5.9.187 (2012-09-14)
- Subset feature was extended to include the first 256 characters.
5.9.186 (2012-09-13)
- barcodes.php file was resynced.
- Methods SetAbsX, SetAbsY, SetAbsXY where added to set the absolute pointer coordinates.
- Method getCharBBox were added to get single character bounding box.
- Signature of addTTFfont method was changed ($addcbbox paramter was added).
5.9.185 (2012-09-12)
- Method _putfontwidths() was fixed.
5.9.184 (2012-09-11)
- A problem with EAN barcodes was fixed.
5.9.183 (2012-09-07)
- A problem with font names normalization was fixed.
5.9.182 (2012-09-05)
- Bug item #3564982 "Infinite loop in Write() method" was fixed.
5.9.181 (2012-08-31)
- composer.json file was added.
- Bug item #3563369 "Cached images are not unlinked some time" was fixed.
5.9.180 (2012-08-22)
- Bug item #3560493 "Problems with nested cells in HTML" was fixed.
5.9.179 (2012-08-04)
- SVG 'use' tag was fixed for 'circle' and 'ellipse' shift problem.
- Alpha status is now correctly stored and restored by getGraphicVars() and SetGraphicVars() methods.
5.9.178 (2012-08-02)
- SVG 'use' tag was fixed for 'circle' and 'ellipse'.
5.9.177 (2012-08-02)
- An additional control on annotations was fixed.
5.9.176 (2012-07-25)
- A bug related to stroke width was fixed.
- A problem related to font spacing in HTML was fixed.
5.9.175 (2012-07-25)
- The problem of missing letter on hyphen break was fixed.
5.9.174 (2012-07-25)
- The problem of wrong filename when downloading PDF from an Android device was fixed.
- The method setHeaderData() was extended to set text and line color for header (see example n. 1).
- The method setFooterData() was added to set text and line color for footer (see example n. 1).
- The methods setTextShadow() and getTextShadow() were added to set text shadows (see example n. 1).
- The GetCharWidth() method was fixed for negative character spacing.
- A 'none' border mode is now correctly recognized.
- Break on hyphen problem was fixed.
5.9.173 (2012-07-23)
- Some additional control wher added on barcode methods.
- The option CURLOPT_FOLLOWLOCATION on Image method is now disabled if PHP safe_mode is on or open_basedir is set.
- Method Bookmark() was extended to include X parameter.
- Method setDestination() was extended to include X parameter.
- A problem with Thai language was fixed.
5.9.172 (2012-07-02)
- A PNG color profile issue was fixed.
5.9.171 (2012-07-01)
- Some SVG rendering problems were fixed.
5.9.170 (2012-06-27)
- Bug #3538227 "Numerous errors inserting shared images" was fixed.
5.9.169 (2012-06-25)
- Some SVG rendering problems were fixed.
5.9.168 (2012-06-22)
- Thai language rendering was fixed.
5.9.167 (2012-06-22)
- Thai language rendering was fixed and improved.
- Method isCharDefined() was improved.
- Protected method replaceChar() was added.
- Font "kerning" word was corrected to "tracking".
5.9.166 (2012-06-21)
- Array to string conversion on file_id creation was fixed.
- Thai language rendering was fixed (thanks to Atsawin Chaowanakritsanakul).
5.9.165 (2012-06-07)
- Some HTML form related bugs were fixed.
5.9.164 (2012-06-06)
- A bug introduced on the latest release was fixed.
5.9.163 (2012-06-05)
- Method getGDgamma() was changed.
- Rendering performances of PNG images with alpha channel were improved.
5.9.162 (2012-05-11)
- A bug related to long text on TD cells was fixed.
5.9.161 (2012-05-09)
- A bug on XREF table was fixed (Bug ID: 3525051).
- Deprecated Imagick:clone was replaced.
- Method objclone() was fixed for PHP4.
5.9.160 (2012-05-03)
- A bug on tcpdf_parser.php was fixed.
5.9.159 (2012-04-30)
- Barcode classes were updated to fix PNG export Bug (ID: 3522291).
5.9.158 (2012-04-22)
- Some SVG-related bugs were fixed.
5.9.157 (2012-04-16)
- Some SVG-related bugs were fixed.
5.9.156 (2012-04-10)
- Bug item #3515885 "TOC and booklet: left and right page exchanged".
- SetAutoPageBreak(false) now works also in multicolumn mode.
5.9.155 (2012-04-02)
- Bug item #3512596 "font import problems" was fixed.
- Method addTTFfont() was modified to extract only specified Platform ID and Encoding ID (check the source code documentation).
- All fonts were updated.
- Bug item #3513867 "booklet and setHeaderTemplateAutoreset: header shifted left" was fixed.
- Bug item #3513749 "TCPDF Superscript/Subscript" was fixed.
5.9.154 (2012-03-29)
- A debug echo was removed.
5.9.153 (2012-03-28)
- A bug on font conversion was fixed.
- All fonts were updated.
- Method isCharDefined() was added to find if a character is defined on the selected font.
- Method replaceMissingChars() was added to automatically replace missing chars on selected font.
- SetFont() method was fixed.
5.9.152 (2012-03-23)
- The following overprint methods were added: setOverprint(), getOverprint().
- Signature of setAlpha() method was changed and method getAlpha() was added.
- stroke-opacity support was added on SVG.
- The following date methods were added: setDocCreationTimestamp(), setDocModificationTimestamp(), getDocCreationTimestamp(), getDocModificationTimestamp(), getFormattedDate(), getTimestamp().
- Signature of _datestring() method was changed.
- Method getFontBBox() was added.
- Method setPageBoxTypes() was aded.
5.9.151 (2012-03-22)
- Bug item #3509889 "Transform() distorts PDF" was fixed.
- Precision of real number were extended.
- ComboBox and ListBox methods were fixed.
- Bulgarian language file was added.
- addTOC() method was improved to include bookmark color and font style.
5.9.150 (2012-03-16)
- A bug related to form fields in PDF/A mode was fixed.
5.9.149 (2012-02-21)
- Bug item #3489933 "SVG Parser treats tspan like text" was fixed.
5.9.148 (2012-02-17)
- Bug item #3488600 "Multiple radiobutton sets get first set value" was fixed.
5.9.147 (2012-02-14)
- A problem with SVG gradients has been fixed.
5.9.146 (2012-02-12)
- Bug item #3486880 "$filehash undefine error" was fixed.
- The default font is now the one specified at PDF_FONT_NAME_MAIN constant.
5.9.145 (2012-01-28)
- Japanese language file was added.
- TCPDF license and README.TXT files were updated.
5.9.144 (2012-01-12)
- HTML output on barcode classes was improved.
5.9.143 (2012-01-08)
- Bug item #3471057 "setCreator() has no effect" was fixed.
5.9.142 (2011-12-23)
- Source code documentation was updated.
5.9.141 (2011-12-14)
- Some minor bugs were fixed.
5.9.140 (2011-12-13)
- SVG now supports embedded images encoded as base64.
5.9.139 (2011-12-11)
- Spot color methods were fixed.
5.9.138 (2011-12-10)
- cropMark() method was improved (check source code documentation).
- Example n. 56 was updated.
- Bug item #3452390 "Check Box still not ticked when set to true" was fixed.
5.9.137 (2011-12-01)
- Bug item #3447005 "Background color and border of Form Elements is printed" was fixed.
- Color support for Form elements was improved.
5.9.136 (2011-11-27)
- Bug item #3443387 "SetMargins with keep option does not work for top margin" was fixed.
5.9.135 (2011-11-04)
- Bug item #3433406 "Double keywords in description" was fixed.
5.9.134 (2011-10-29)
- The default value for $defcol parameter on convertHTMLColorToDec() method was fixed.
- Deafult HTTP headers were changed to avoid browser caching.
- Some deprecated syntax were replaced.
5.9.133 (2011-10-26)
- Bug item #3428446 "copyPage method not working when diskcache enabled" was fixed.
5.9.132 (2011-10-20)
- Bug item #3426167 "bug in function convertHTMLColorToDec()" was fixed.
5.9.131 (2011-10-13)
- An error message was added to ImagePngAlpha() method.
5.9.130 (2011-10-12)
- Now you can set image data strings on HTML img tag by encoding the image binary data in this way: $imgsrc = '@'.base64_encode($imgdata);
5.9.129 (2011-10-07)
- Core fonts metrics was fixed (replace all helvetica and times php files on fonts folder).
- Form fields support was improved and some problems were fixed (check the example n. 14).
- Bug item #3420249 "Issue with booklet and MultiCell" was fixed.
5.9.128 (2011-10-06)
- Method addTTFfont() was improved (check the source code documentation).
- Method setExtraXMP() to set custom XMP data was added.
5.9.127 (2011-10-04)
- Readonly mode option was activated for radiobuttons.
5.9.126 (2011-10-03)
- Bug item #3417989 "Graphics State operator in form XObject fails to render" was fixed.
- Xobjects problems with transparency, gradients and spot colors were fixed.
5.9.125 (2011-10-03)
- Support for 8-digit CMYK hexadecimal color representation was added (to be used with XHTML and SVG).
- Spot colors support was improved (check example n. 37).
- Color methods were improved.
5.9.124 (2011-10-02)
- Core fonts were updated.
5.9.123 (2011-10-02)
- The method addTTFfont() wad added to automatically convert TTF fonts (check the new fonts guide at http://www.tcpdf.org).
- Old font utils were removed.
- All fonts were updated and new arabic fonts were added (almohanad were removed and replaced by aefurat and aealarabiya).
- The file unicode_data.php was updated.
- The file encodings_maps.php was added.
- PDF/A files are now compressed to save space.
- XHTML input form fields now support text-alignment attribute.
5.9.122 (2011-09-29)
- PDF/A-1b compliance was improved to pass some online testing.
5.9.121 (2011-09-28)
- This version includes support for PDF/A-1b format (the class constructor signature was changed - see example n. 65).
- Method setSRGBmode() was added to force sRGB_IEC61966-2.1 black scaled ICC color profile for the whole document (file sRGB.icc was added).
- 14 new fonts were added to allow embedding core fonts (for PDF/A compliance).
- Font utils were fixed.
5.9.120 (2011-09-22)
- This version includes a fix for _getTrueTypeFontSubset() method.
5.9.119 (2011-09-19)
- This version includes a fix for extra page numbering on TOC.
5.9.118 (2011-09-17)
- This version includes some changes that allows you to add a bookmark for a page that do not exist.
5.9.117 (2011-09-15)
- TCPDFBarcode and TCPDF2DBarcode classes were extended to include a method for exporting barcodes as PNG images.
5.9.116 (2011-09-14)
- Datamatrix class was improved and documentation was fixed.
5.9.115 (2011-09-13)
- Datamatrix ECC200 barcode support was added (a new datamatrix.php file was added) - check example n. 50.
- getBarcodeHTML() method was added on TCPDFBarcode and TCPDF2DBarcode classes to return an HTML representation of the barcode.
- cURL options on Image() method were improved.
- A bug on write2DBarcode() was fixed.
5.9.114 (2011-09-04)
- A bug related to column position was fixed.
5.9.113 (2011-08-24)
- This release include two new experimental files for parsing an existing PDF document (the integration with TCPDF is under development).
5.9.112 (2011-08-18)
- A newline character was added after the 'trailer' keyword for compatibility with some parsers.
- Support for layers was improved.
5.9.111 (2011-08-17)
- Barcode CODE 39 default gap was restored at 1.
5.9.110 (2011-08-17)
- Barcode CODE 39 was fixed.
5.9.109 (2011-08-12)
- Method getNumLines() was fixed.
- A bug related to page break in multi-column mode was fixed.
5.9.108 (2011-08-09)
- A bug on PHP4 version was fixed.
5.9.107 (2011-08-08)
- This version includes a minor bugfix.
5.9.106 (2011-08-04)
- This version includes transparency groups: check the new parameter on startTemplate() method and example 62.
5.9.105 (2011-08-04)
- Bug item #3386153 "Check Box not ticked when set to true" was fixed.
5.9.104 (2011-08-01)
- Bug item #3383698 "imagemagick, resize and dpi" was fixed.
5.9.103 (2011-07-16)
- Alignment of XHTML lines was improved.
- Spell of the "length" word was fixed.
5.9.102 (2011-07-13)
- Methods startLayer() and endLayer() were added to support arbitrary PDF layers.
- Some improvements/fixes for images were added (thanks to Brendan Abbott).
5.9.101 (2011-07-07)
- Support for JPEG and PNG ICC Color Profiles was added.
- Method addEmptySignatureAppearance() was added to add empty signature fields (see example n. 52).
- Bug item #3354332 "Strange line spacing with reduced font-size in writeHTML" was fixed.
5.9.100 (2011-06-29)
- An SVG bug has been fixed.
5.9.099 (2011-06-27)
- Bug item #3335045 "Font freesans seems somehow corrupted in footer" was fixed.
5.9.098 (2011-06-23)
- The Named Destination feature was fixed.
5.9.097 (2011-06-23)
- The method setHtmlVSpace() now can be used also for tags: div, li, br, dt and dd.
- The Named Destination feature was added (check the example n. 15) - thanks to Christian Deligant.
5.9.096 (2011-06-19)
- Bug item #3322234 "Surrogate pairs codes in arrUTF8ToUTF16BE" was fixed.
5.9.095 (2011-06-18)
- Numbers alignment for Table-Of-Content methods was improved and fixed.
- Font subsetting was fixed to include all parts of composite fonts.
5.9.094 (2011-06-17)
- Bug item #3317898 "Page Group numbering broken in 5.9.093" was fixed.
5.9.093 (2011-06-16)
- Method setStartingPageNumber() was added to set starting page number (for automatic page numbering).
5.9.092 (2011-06-15)
- Method _putpages() was improved.
- Bug item #3316678 "Memory overflow when use Rotate and SetAutoPageBreak" was fixed.
- Right alignment of page numbers was improved.
5.9.090 (2011-06-14)
- Methods AliasNbPages() and AliasNumPage() were re-added as deprecated for backward compatibility.
5.9.089 (2011-06-13)
- Example n. 8 was updated.
- Method sendOutputData() was changed to remove default compression (it was incompatible with some server settings).
- Bugs related to page group numbers were fixed.
- Method copyPage() was fixed.
- Method Image() was improved to include support for alternative and external images.
5.9.088 (2011-06-01)
- Method getAutoPageBreak() was added (see example n. 51).
- Example n. 51 (full page background) was updated.
5.9.087 (2011-06-01)
- Method sendOutputData() was improved to include deflate encoding.
- Barcode classes on PHP 4 version were fixed.
5.9.086 (2011-05-31)
- Font files were updated (the ones on the previous release were broken).
- The script fonts/utils/makeallttffonts.php was updated and fixed.
- Output() method was improved to use compression when available.
5.9.085 (2011-05-31)
- TCPDFBarcode class (barcodes.php) now includes getBarcodeSVG() and getBarcodeSVGcode() methods to get SVG image representation of the barcode.
- TCPDF2DBarcode class (2dbarcodes.php) now includes getBarcodeSVG() and getBarcodeSVGcode() methods to get SVG image representation of the barcode.
5.9.084 (2011-05-29)
- Font files were updated.
- The file fonts/utils/makeallttffonts.php was updated.
- Bug item# 3308774 "Problems with font subsetting" was fixed.
5.9.083 (2011-05-24)
- Bug item #3308387 "line height & SetCellHeightRatio" was fixed.
5.9.082 (2011-05-22)
- Bug item #3305592 "Setting fill color <> text color breaks text clipping" was fixed.
5.9.081 (2011-05-18)
- Method resetHeaderTemplate() was added to reset the xobject template used by Header() method.
- Method setHeaderTemplateAutoreset() was added to automatically reset the xobject template used by Header() method at each page.
5.9.080 (2011-05-17)
- A problem related to file path calculation for images was fixed.
- A problem related to unsupressed getimagesize() error was fixed.
5.9.079 (2011-05-16)
- Footer() method was changed to use C128 barcode as default (instead of the previous C128B).
5.9.078 (2011-05-12)
- Bug item #3300878 "wrong rendering for html bullet list in some case" was fixed.
- Bug item #3301017 "Emphasized vs. font-weight" was fixed.
- Barcode Code 128 was improved to include AUTO mode (automatically switch between A, B and C modes).
- Examples n. 27 and 49 were updated.
5.9.077 (2011-05-07)
- Bug item #3298591 "error code93" was fixed.
- SetLineStyle() function was improved.
5.9.076 (2011-05-06)
- Bug item #3298264 "codebar 93 error" was fixed.
5.9.075 (2011-05-02)
- Table header alignment when using WriteHTMLCell() or MultiCell() was fixed.
5.9.074 (2011-04-28)
- Bug item #3294306 "CSS classes not work in <thead> table section" was fixed.
5.9.073 (2011-04-27)
- A bug related to character entities on HTML cells was fixed.
5.9.072 (2011-04-26)
- Method resetColumns() was added to remove multiple columns and reset page margins (example n. 10 was updated).
5.9.071 (2011-04-19)
- Bug #3288574 "<br/> trouble" was fixed.
5.9.069 (2011-04-19)
- Bug #3288763 "HTML-Table: non-breaking table rows: Bug" was fixed.
5.9.068 (2011-04-15)
- Bookmark, addTOC and addHTMLTOC methods were improved to include font style and color (Examples 15, 49 and 59 were updated).
- Default $_SERVER['DOCUMENT_ROOT'] value on tcpdf_config.php file was changed.
5.9.067 (2011-04-10)
- Performances were drastically improved (PDF documents are now created more quickly).
5.9.066 (2011-04-09)
- A bug related to digital signature + encryption was fixed.
- A bug related to encryption + xobject templates was fixed.
5.9.065 (2011-04-08)
- Bug item #3280512 "Text encoding iso-8859-2 crashes" was fixed.
5.9.064 (2011-04-05)
- A bug related to character entities on HTML cells was fixed.
5.9.063 (2011-04-01)
- Bug item #3267235 "WriteHTML() and image that doesn't fit on the page" was fixed.
5.9.062 (2011-03-23)
- Bug item #3232650 "Using Write if there are pageRegions active creates error" was fixed.
- Bug item #3221891 "text input borders" was fixed.
- Bug item #3228958 "Adobe Reader 9.4.2 crash" was fixed.
5.9.061 (2011-03-15)
- Bug item #3213488 "wrong function call in function Write" was fixed.
- Bug item #3203007 "list element with black background" was fixed.
5.9.060 (2011-03-08)
- addTOC() method was fixed for text alignment problems.
5.9.059 (2011-02-27)
- Default Header() method was improved to reduce document size.
5.9.058 (2011-02-25)
- Image() method was improved to cache images with transparency layers (thanks to Korneliusz Jarzębski for reporting this problem).
5.9.057 (2011-02-24)
- A problem with image caching system was fixed (thanks to Korneliusz Jarzębski for reporting this problem).
5.9.056 (2011-02-22)
- A bug on fixHTMLCode() method was fixed.
- Automatic line break for HTML was fixed.
5.9.055 (2011-02-17)
- Another bug related to HTML table page break was fixed.
5.9.054 (2011-02-16)
- A bug related to HTML table page break was fixed.
5.9.053 (2011-02-16)
- Support for HTML attribute display="none" was added.
5.9.052 (2011-02-15)
- A bug related to HTML automatic newlines was fixed.
5.9.051 (2011-02-12)
- "Commas at beginning of new lines" problem was fixed.
5.9.050 (2011-02-11)
- Bug #3177606 "SVG Bar chart error" was fixed.
5.9.049 (2011-02-03)
- Bug #3170777 "TCPDF creates a new page after a single line in writeHTML" was fixed.
5.9.048 (2011-02-02)
- No changes. Just released to override previous release that was not uploaded correctly.
5.9.047 (2011-01-28)
- Bug #3167115 "PDF error in <table> (example 48)" was fixed (was introduced in 5.8.046).
5.9.046 (2011-01-18)
- PDF view/print layers are now automatically turned off if not used (see setVisibility() method).
5.9.045 (2011-01-17)
- HTML list support were improved.
5.9.044 (2011-01-15)
- Bug #3158422 "writeHTMLCell Loop" was fixed.
- Some HTML image alignment problems were fixed.
5.9.043 (2011-01-14)
- Bug #3158178 "PHP Notice" was fixed.
- Bug #3158193 "Endless loop in writeHTML" was fixed.
- Bug #3157764 "SVG Pie chart incorrectly rendered2".
5.9.042 (2011-01-14)
- Some problems of the PHP4 version were fixed.
5.9.041 (2011-01-13)
- A problem with SVG elliptical arc path was fixed (ref. bug #3156574).
- A problem related to font weight on HTML table headers was fixed.
5.9.040 (2011-01-12)
- A bug related to empty pages after table was fixed.
5.9.039 (2011-01-12)
- Bug item #3155759 "openssl_random_pseudo_bytes() slow under Windows" was fixed.
5.9.038 (2011-01-11)
- Minor bugs were fixed.
5.9.037 (2011-01-09)
- An alignment problem for HTML texts was fixed.
5.9.036 (2011-01-07)
- A bug related to HTML tables on header was fixed.
5.9.035 (2011-01-03)
- A problem related to HTML table border alignment was fixed.
- Bug #2996366 "FastCGI and Header Problems" was fixed.
5.9.034 (2010-12-19)
- DejaVu and GNU Free fonts were updated.
5.9.033 (2010-12-18)
- Source code documetnation was improved.
5.9.032 (2010-12-18)
- Default font stretching and spacing values are now inherited by HTML methods.
5.9.031 (2010-12-16)
- Source code documentation errors were fixed.
5.9.030 (2010-12-16)
- Several source code documentation errors were fixed.
- Source code style was changed for Doxygen.
- Source code documentation was moved online to http://www.tcpdf.org
5.9.029 (2010-12-04)
- The $fitbox parameter on Image() method was extended to specify image alignment inside the box (check the example n. 9).
5.9.028 (2010-12-03)
- Font utils makefont.php and makeallttffonts.php were updated.
5.9.027 (2010-12-01)
- Spot Colors are now better integrated with HTML mode.
- Method SetDocInfoUnicode() was added to turn on/off Unicode mode for document information dictionary (meta tags) - check the example n. 19.
5.9.026 (2010-12-01)
- A problem with mixed text directions on HTML was fixed.
5.9.025 (2010-12-01)
- The AddSpotColor() now automatically fills the spotcolor array (defined on spotcolors.php file).
5.9.024 (2010-11-30)
- Bug item #3123612 "SVG not use gradientTransform in percentage mode" was fixed.
5.9.023 (2010-11-25)
- A potential bug on SVG transcoder was fixed.
5.9.022 (2010-11-21)
- Method ImageEPS includes support for EPS/AI Spot colors.
- Method ImageEPS includes a new parameter $fixoutvals to remove values outside the bounding box.
5.9.021 (2010-11-20)
- Support for custom bullet points images was added (check the example n.6)
- Examples n. 6 and 61 were update (check the comments inside).
5.9.020 (2010-11-19)
- A problem related to additional page when using multicolumn mode was fixed.
5.9.019 (2010-11-19)
- An SVG bug was fixed.
- ImageSVG() and ImageEPS() methods now accepts image data streams (put the string on the $file parameter preceded by '@' character).
- Option 'E' was added to the $dest parameter of Output() method to return the document as base64 mime multi-part email attachment (RFC 2045).
5.9.018 (2010-11-19)
- An SVG bug was fixed.
5.9.017 (2010-11-16)
- Tagline color was set to transparent.
- The method fixHTMLCode() was added to automatically clean up HTML code (requires HTML Tidy).
5.9.016 (2010-11-16)
- Bug item #3109705 "list item page break hanging bullet" was fixed.
5.9.015 (2010-11-16)
- Bug item affecting QRCode was fixed.
- Some bugs affecting HTML lists were fixed.
- ImageSVG() and fitBlock() methods were improved to handle some SVG problems.
- Some problems with PHP4 compatibility were fixed.
5.9.014 (2010-11-15)
- Bug item #3109464 "QRCode error" was fixed.
5.9.013 (2010-11-15)
- Bug item #3109257 "Problem with interlaced GIFs and PNGs" was fixed.
- Image function now accepts image data streams (check example n. 9).
5.9.012 (2010-11-12)
- Method getTCPDFVersion() was added.
- PDF_PRODUCER constant was removed.
- Method convertHTMLColorToDec() was improved.
- HTML colors now support spot color names defined on the new spotcolors.php file.
- The default method Header() was improved to support SVG and EPS/AI images.
- A bug on SVG importer was fixed.
5.9.011 (2010-11-02)
- Bug item #3101486 "Bug Fix for image loading" was fixed.
5.9.010 (2010-10-27)
- Support for CSS properties 'border-spacing' and 'padding' for tables were added.
- Several language files were added.
5.9.009 (2010-10-21)
- HTML text alignment was improved to include the case of RTL text on LTR direction and LTR text on RTL direction.
5.9.008 (2010-10-21)
- Bug item #3091502 "Bookmark oddity" was fixed.
- HTML internal links now accepts page number and Y position.
- The method write1DBarcode() was improved to accept separate horizontal and vertical padding (see example n. 27).
5.9.007 (2010-10-20)
- Method adjustCellPadding() was fixed to handle bad input.
5.9.006 (2010-10-19)
- Support for AES 256 bit encryption was added (see example n. 16).
- Method getNumLines() was fixed for the empty string case.
5.9.005 (2010-10-18)
- Method addPageRegion() was changed to accept regions starting exactly from the top of the page.
5.9.004 (2010-10-18)
- A bug related to annotations was fixed.
- The file unicode_data.php was canged to encapsulate all data in a class.
- The file htmlcolors.php was changed to remove the global variable.
5.9.003 (2010-10-15)
- Support for no-write page regions was added. Check the example n. 64 and new methods setPageRegions(), addPageRegion(), getPageRegions(), removePageRegion().
- A bug on Right-To-Left alignment was fixed.
5.9.002 (2010-10-08)
- Cell method was improved to preserve the font stretching and spacing values when using the $stretch parameter (see example n. 4).
5.9.001 (2010-10-07)
- The problem of blank page for nobr table higher than a single page was fixed.
5.9.000 (2010-10-06)
- Support for text stretching and spacing (tracking) was added, see example n. 63 and methods setFontStretching(), getFontStretching(), setFontSpacing(), getFontSpacing().
- Support for CSS properties 'font-stretch' and 'letter-spacing' was added (see example n. 63).
- The cMargin state was replaced by cell_padding array that can be set/get using setCellPadding() and getCellPadding() methods.
- Methods getCellPaddings() and setCellPaddings() were added to fine tune cell paddings (see example n. 5).
- Methods getCellMargins() and setCellMargins() were added to fine tune cell margins (see example n. 5).
- Method write1DBarcode() was improved to permit custom labels (see example n. 27).
- Method ImagePngAlpha() now includes support for ImageMagick to improve performances.
- XObject Template support was extended to support Multicell(), writeHTML() and writeHTMLCell() methods.
- The signature of getNumLines() and getStringHeight() methods is changed.
- Example n. 57 was updated.
// -------------------------------------------------------------------
5.8.034 (2010-09-27)
- A bug related to SetFont on XObject templates was fixed.
5.8.033 (2010-09-25)
- A problem with Footer() and multiple columns was fixed.
5.8.032 (2010-09-22)
- Bug #3073165 "Issues with changes to addHTMLVertSpace()" was fixed.
5.8.031 (2010-09-20)
- Bug #3071961 "Spaces in HTML" was fixed.
5.8.030 (2010-09-17)
- SVG support was improved and some bugs were fixed.
5.8.029 (2010-09-16)
- A problem with HTML borders was fixed.
5.8.028 (2010-09-13)
- Bug #3065224 "mcrypt_create_iv error on TCPDF 5.8.027 on PHP 5.3.2" was fixed.
5.8.027 (2010-09-13)
- Bug #3065118 "mcrypt_decrypt error on TCPDF 5.8.026 on PHP 5.3.2" was fixed.
5.8.026 (2010-09-13)
- A bug on addHTMLTOC() method was fixed. Note: be sure that the #TOC_PAGE_NUMBER# template has enough width to be printed correctly.
5.8.025 (2010-09-09)
- Bug #3062692 "Textarea inside a table" was fixed.
5.8.024 (2010-09-08)
- Bug #3062005 "Undefined variable: ann_obj_id" was fixed.
5.8.023 (2010-08-31)
- Forms bug added on version 5.8.019 was fixed.
5.8.022 (2010-08-31)
- Bug #3056632 "SVG rendered vertically flipped" was fixed.
5.8.021 (2010-08-30)
- A new CID-0 'chinese' font was added for traditional Chinese.
- Bug #3054287 'Inner tags are ignored due to "align" attribute' was fixed.
5.8.020 (2010-08-26)
- CSS "catch-all" class selector is now supported.
5.8.019 (2010-08-26)
- XObject Templates now includes support for links and annotations.
- A problem related to link alignment on cell was fixed.
- A problem related to SVG styles was fixed.
5.8.018 (2010-08-25)
- Method getNumberOfColumns() was added.
- A problem related to table header was fixed.
- Method getSVGTransformMatrix() was fixed to apply SVG transformations in the correct order.
- SVG support was improved and several bugs were fixed.
5.8.017 (2010-08-25)
- This version includes support for XObject Templates (see the new example n. 62).
- Methods starttemplate(), endTemplate() and printTemplate() were added (see the new example n. 62).
5.8.016 (2010-08-24)
- Alignment problem on write2DBarcode was fixed.
5.8.015 (2010-08-24)
- A problem arised with the latest bugfix was fixed.
5.8.014 (2010-08-23)
- Method _getxobjectdict() was added for better compatibility with external extensions.
- A bug related to radiobuttons was fixed.
- Bug #3051509 "new line after punctuation marks" was fixed (partially).
5.8.013 (2010-08-23)
- SVG support for 'direction' property was added.
- A problem on default width calculation for linear barcodes was fixed.
- New option was added to write1DBarcode() method to improve alignments (see example n. 27).
- Bug #3050896 "Nested HTML tables: styles are not applied" was fixed.
- Method _putresourcedict() was improved to include external XObject templates.
5.8.012 (2010-08-22)
- Support for SVG 'text-anchor' property was added.
5.8.011 (2010-08-21)
- Method write1DBarcode() was improved to be backward compatible (check the new example n. 27).
- Support for CSS width and height properties on images were added.
5.8.010 (2010-08-20)
- Documentation of unhtmlentities() was fixed.
- The 'fitwidth' option was added and border color problem was fixed on write1DBarcode() method (check the example n. 27).
5.8.009 (2010-08-20)
- Internal object numbering was improved.
- Some errors in object encryption were fixed.
5.8.008 (2010-08-19)
- Method write1DBarcode() was changed, check the example n. 27.
- Method Footer() was changed to account for barcode changes.
- Automatic calculation of K_PATH_URL constant was fixed on configuration file.
- Method setEqualColumns() was fixed for $width=0 case.
- Method AddTOC() was fixed for multipage and multicolumn modes.
- Better support for SVG "font-family" property.
- A problem on default Page Zoom mode was fixed.
- Several Annotation bugs were fixed.
5.8.007 (2010-08-18)
- A bug affecting HTML tables was fixed.
- Bug #3047500 "SVG not rendering paths properly" was fixed.
5.8.006 (2010-08-17)
- A bug affecting HTML table nesting was fixed.
5.8.005 (2010-08-17)
- A bug affecting the HTML 'select' tag in certain conditions was fixed.
5.8.004 (2010-08-17)
- Better support for HTML "font-family" property.
- A bug related to HTML multicolumn was fixed.
5.8.003 (2010-08-16)
- Better support for HTML "font-family" property.
5.8.002 (2010-08-14)
- HTML alignments were improved
- 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.
- Example n. 1 was updated.
5.8.001 (2010-08-12)
- Bug #3043650 "subsetchars incorrectly cached" was fixed.
5.8.000 (2010-08-11)
- A control to avoid bookmarking page 0 was added.
- addTOC() method now includes support for multicolumn mode.
- Support for tables in multicolumn mode was improved.
- Example n.10 was updated.
- All trimming functions were replaced with stringLeftTrim(), stringRightTrim() and stringTrim().
- HTML alignments were improved.
------------------------------------------------------------
5.7.003 (2010-08-08)
- Bug #3041263 "php source ending is bad" was fixed (all PHP files were updated, including fonts).
5.7.002 (2010-08-06)
- Methods copyPage(), movePage() and deletePage() were changed to account for internal markings.
5.7.001 (2010-08-05)
- Bug #3040105 "Broken PDF when using TOC (example 45)" was fixed.
5.7.000 (2010-08-03)
- CSS borders are now supported for HTML tables and other block tags (see example n. 61);
- Cell borders were improved (see example n. 57);
- Minor bugs were fixed.
------------------------------------------------------------
5.6.000 (2010-07-31)
- A bug with object IDs was fixes.
- Performances were improved.
------------------------------------------------------------
5.5.015 (2010-07-29)
- Automatic fix for unclosed self-closing tag.
- Support for deprecated 's' and 'strike' tags was added.
- Empty list items problem was fixed.
5.5.014 (2010-07-15)
- Support for external images was improved.
5.5.013 (2010-07-14)
- Bug #3029338 "FI and FO output destination filename bug" was fixed (previous fix was wrong).
5.5.012 (2010-07-14)
- Bug #3029310 "Font baseline inconsistencies with line-height and font-size" was fixed.
- Bug #3029338 "FI and FO output destination filename bug" was fixed.
5.5.011 (2010-07-09)
- Support for multiple CSS classes was added.
- The method getColumn() was added to return the current column number.
- Some regular Expressions were fixed to be more compatible with UTF-8.
5.5.010 (2010-07-06)
- Bug item #3025772 "Borders in all image functions are still flawed" was fixed.
5.5.009 (2010-07-05)
- A problem related to last page footer was fixed.
- Image alignments and fit-on-page features were improved.
5.5.008 (2010-07-02)
- A problem on table header alignment in booklet mode was fixed.
- Default graphic vars are now applied for setHeader();
5.5.007 (2010-07-02)
- Attribute "readonly" was added to input and textarea form fields.
- Vertical alignment feature was added on MultiCell() method only for simple text mode (see example n. 5).
- Text-Fit feature was added on MultiCell() method only for simple text mode (see example n. 5).
5.5.006 (2010-06-29)
- getStringHeight() and getNumLines() methods were fixed.
5.5.005 (2010-06-28)
- Bug #3022170 "getFontDescent() does not return correct descent value" was fixed.
- Some problems with multicolumn mode were fixed.
5.5.004 (2010-06-27)
- Bug #3021803 "SVG Border" was fixed.
5.5.003 (2010-06-26)
- On Write() method, blank lines at the beginning of a page or column are now automatically removed.
5.5.002 (2010-06-24)
- ToUnicode Identity-H name was replaced with a full CMap (to avoid preflight syntax error).
- Bug #3020638 "str_split() not available in php4" was fixed.
- Bug #3020665 "file_get_contents() too many parameters for php4" was fixed.
5.5.001 (2010-06-23)
- A problem on image streams was fixed.
5.5.000 (2010-06-22)
- Several PDF syntax errors (and related bugs) were fixed.
- Bug #3019090 "/Length values are wrong if AES encryption is used" was fixed.
------------------------------------------------------------
5.4.003 (2010-06-19)
- A problem related to page boxes was fixed.
- Bug #3016920 "Font subsetting issues when editing pdf" was partially fixed (Note that flattening transparency layers is currently incompatible with TrueTypeUnicode fonts).
5.4.002 (2010-06-18)
- A problem related with setProtection() method was fixed.
5.4.001 (2010-06-18)
- A problem related with setProtection() method was fixed.
5.4.000 (2010-06-18)
- The method setSignatureAppearance() was added, check the example n. 52.
- Several problems related to font subsetting were fixed.
------------------------------------------------------------
5.3.010 (2010-06-15)
- Previous release was corrupted.
5.3.009 (2010-06-15)
- Bug #3015934 "Bullets don't display correctly" was fixed.
5.3.008 (2010-06-13)
- This version fixes some problems of SVG rasterization.
5.3.007 (2010-06-13)
- This version improves SVG support.
5.3.006 (2010-06-10)
- This version includes a change in uniqid calls for backward compatibility with PHP4.
5.3.005 (2010-06-09)
- The method getPageSizeFromFormat() was changed to include all standard page formats (includes 281 page formats + variation).
5.3.004 (2010-06-08)
- Bug #3013291 "HTML table cell width" was fixed.
- Bug #3013294 "HTML table cell alignment" was fixed.
- The columns widths of HTML tables are now inherited from the first row.
5.3.003 (2010-06-08)
- Bug #3013102 "HTML table header misaligned after page break" was fixed.
5.3.002 (2010-06-07)
- The methods setFontSubsetting() and setFontSubsetting() were added to control the default font subsetting mode (see example n. 1).
- Bug #3012596 "Whitespace should not appeared after use Thai top characters" was fixed.
- Examples n. 1, 14, and 54 were updated.
5.3.001 (2010-06-06)
- Barcode PDF417 was improved to support Macro Code Blocks (see example n. 50).
5.3.000 (2010-06-05)
- License was changed to GNU-LGPLv3 (see the updated LICENSE.TXT file).
- PDF417 barcode support was added (check the example n. 50).
- The method write2DBarcode() was improved (some parameters were added and other changed - check example n. 50).
------------------------------------------------------------
5.2.000 (2010-06-02)
- IMPORTANT: Support for font subsetting was added by default to reduce the size of documents using large unicode font files.