diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 17a2d87..38052cf 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,6 @@ +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. @@ -11,7 +14,7 @@ - Datamatrix class was improved and documentation was fixed. 5.9.115 (2011-09-13) - - Datamatrix barcode support was added (a new datamatrix.php file was added) - check example n. 50. + - 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. diff --git a/README.TXT b/README.TXT index 0ddcb99..c8f11a9 100755 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 5.9.119 -Release date: 2011-09-19 +Version: 5.9.120 +Release date: 2011-09-22 Author: Nicola Asuni Copyright (c) 2002-2011: diff --git a/examples/example_027.php b/examples/example_027.php index 28132e5..5157abc 100755 --- a/examples/example_027.php +++ b/examples/example_027.php @@ -2,7 +2,7 @@ //============================================================+ // File name : example_027.php // Begin : 2008-03-04 -// Last Update : 2011-05-12 +// Last Update : 2011-09-22 // // Description : Example 027 for TCPDF class // 1D Barcodes @@ -70,11 +70,20 @@ $pdf->setLanguageArray($l); $pdf->setBarcode(date('Y-m-d H:i:s')); // set font -$pdf->SetFont('helvetica', '', 10); +$pdf->SetFont('helvetica', '', 11); // add a page $pdf->AddPage(); +// print a message +$txt = "You can also export 1D barcodes in other formats (PNG, SVG, HTML). Check the source code documentation of TCPDFBarcode class for further information."; +$pdf->MultiCell(70, 50, $txt, 0, 'J', false, 1, 125, 30, true, 0, false, true, 0, 'T', false); +$pdf->SetY(30); + +// ----------------------------------------------------------------------------- + +$pdf->SetFont('helvetica', '', 10); + // define barcode style $style = array( 'position' => '', diff --git a/examples/example_050.php b/examples/example_050.php index b7fb501..a6f4d50 100755 --- a/examples/example_050.php +++ b/examples/example_050.php @@ -2,7 +2,7 @@ //============================================================+ // File name : example_050.php // Begin : 2009-04-09 -// Last Update : 2010-09-13 +// Last Update : 2011-09-22 // // Description : Example 050 for TCPDF class // 2D Barcodes @@ -69,11 +69,18 @@ $pdf->setLanguageArray($l); // NOTE: 2D barcode algorithms must be implemented on 2dbarcode.php class file. // set font -$pdf->SetFont('helvetica', '', 10); +$pdf->SetFont('helvetica', '', 11); // add a page $pdf->AddPage(); +// print a message +$txt = "You can also export 2D barcodes in other formats (PNG, SVG, HTML). Check the source code documentation of TCPDF2DBarcode class for further information."; +$pdf->MultiCell(70, 50, $txt, 0, 'J', false, 1, 125, 30, true, 0, false, true, 0, 'T', false); + + +$pdf->SetFont('helvetica', '', 10); + // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // set style for barcode diff --git a/examples/index.php b/examples/index.php index 81ee89c..803ffd6 100755 --- a/examples/index.php +++ b/examples/index.php @@ -44,7 +44,7 @@ echo '<'.'?'.'xml version="1.0" encoding="UTF-8"'.'?'.'>';