From 74e79abf2e09948d19063c7d7ae98e91b494eca2 Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Sat, 18 Dec 2010 15:11:55 +0100 Subject: [PATCH] 5.9.033 --- 2dbarcodes.php | 16 +++++++++------- CHANGELOG.TXT | 3 +++ README.TXT | 2 +- barcodes.php | 15 ++++++++------- fonts/utils/makeallttffonts.php | 3 --- fonts/utils/makefont.php | 5 +---- htmlcolors.php | 3 ++- pdf417.php | 3 ++- qrcode.php | 3 ++- spotcolors.php | 1 + tcpdf.php | 31 +++++++++++++++---------------- unicode_data.php | 15 ++++++++------- 12 files changed, 52 insertions(+), 48 deletions(-) diff --git a/2dbarcodes.php b/2dbarcodes.php index be5f322..b276b56 100644 --- a/2dbarcodes.php +++ b/2dbarcodes.php @@ -33,19 +33,21 @@ //============================================================+ /** + * @file * PHP class to creates array representations for 2D barcodes to be used with TCPDF. * @package com.tecnick.tcpdf * @author Nicola Asuni * @version 1.0.007 */ - /** - * PHP class to creates array representations for 2D barcodes to be used with TCPDF (http://www.tcpdf.org).
- * @name TCPDFBarcode - * @package com.tecnick.tcpdf - * @version 1.0.007 - * @author Nicola Asuni - */ +/** + * @class TCPDF2DBarcode + * PHP class to creates array representations for 2D barcodes to be used with TCPDF (http://www.tcpdf.org).
+ * @name TCPDFBarcode + * @package com.tecnick.tcpdf + * @version 1.0.007 + * @author Nicola Asuni + */ class TCPDF2DBarcode { /** diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 32fafb8..6b0c738 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,6 @@ +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. diff --git a/README.TXT b/README.TXT index 105a8ba..7e3f760 100755 --- a/README.TXT +++ b/README.TXT @@ -8,7 +8,7 @@ http://sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 5.9.032 +Version: 5.9.033 Release date: 2010-12-18 Author: Nicola Asuni diff --git a/barcodes.php b/barcodes.php index dc00f5c..a16ed6e 100755 --- a/barcodes.php +++ b/barcodes.php @@ -33,19 +33,20 @@ //============================================================+ /** + * @file * PHP class to creates array representations for common 1D barcodes to be used with TCPDF. * @package com.tecnick.tcpdf * @author Nicola Asuni * @version 1.0.012 */ - /** - * PHP class to creates array representations for common 1D barcodes to be used with TCPDF (http://www.tcpdf.org).
- * @name TCPDFBarcode - * @package com.tecnick.tcpdf - * @version 1.0.012 - * @author Nicola Asuni - */ +/** + * @class TCPDFBarcode + * PHP class to creates array representations for common 1D barcodes to be used with TCPDF (http://www.tcpdf.org).
+ * @package com.tecnick.tcpdf + * @version 1.0.012 + * @author Nicola Asuni + */ class TCPDFBarcode { /** diff --git a/fonts/utils/makeallttffonts.php b/fonts/utils/makeallttffonts.php index 8bcc4cd..824210f 100755 --- a/fonts/utils/makeallttffonts.php +++ b/fonts/utils/makeallttffonts.php @@ -43,9 +43,6 @@ * Process all TTF files on current directory to build TCPDF compatible font files. * @package com.tecnick.tcpdf * @author Nicola Asuni - * @copyright Copyright © 2004-2009, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com - * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License - * @link www.tecnick.com * @since 2008-12-07 */ diff --git a/fonts/utils/makefont.php b/fonts/utils/makefont.php index 52ac24f..49d24a6 100755 --- a/fonts/utils/makefont.php +++ b/fonts/utils/makefont.php @@ -43,14 +43,11 @@ /** * Utility to generate font definition files fot TCPDF. * @author Nicola Asuni, Olivier Plathey, Steven Wittens - * @copyright 2004-2008 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com * @package com.tecnick.tcpdf - * @link http://www.tcpdf.org - * @license http://www.gnu.org/copyleft/lesser.html LGPL */ /** - * + * Convert a Font for TCPDF * @param $fontfile (string) path to font file (TTF, OTF or PFB). * @param $fmfile (string) font metrics file (UFM or AFM). * @param $embedded (boolean) Set to false to not embed the font, true otherwise (default). diff --git a/htmlcolors.php b/htmlcolors.php index db848a4..d1075dd 100755 --- a/htmlcolors.php +++ b/htmlcolors.php @@ -32,11 +32,12 @@ //============================================================+ /** + * @file * Array of WEB safe colors * @author Nicola Asuni * @package com.tecnick.tcpdf * @since 2.9.000 (2008-03-26) -*/ + */ /** * Array of WEB safe colors diff --git a/pdf417.php b/pdf417.php index 59df925..995daa2 100644 --- a/pdf417.php +++ b/pdf417.php @@ -44,6 +44,7 @@ //============================================================+ /** + * @file * Class to create PDF417 barcode arrays for TCPDF class. * PDF417 (ISO/IEC 15438:2006) is a 2-dimensional stacked bar code created by Symbol Technologies in 1991. * (requires PHP bcmath extension) @@ -82,9 +83,9 @@ if (!defined('PDF417DEFS')) { // #*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*# /** + * @class PDF417 * Class to create PDF417 barcode arrays for TCPDF class. * PDF417 (ISO/IEC 15438:2006) is a 2-dimensional stacked bar code created by Symbol Technologies in 1991. - * @name PDF417 * @package com.tecnick.tcpdf * @author Nicola Asuni * @version 1.0.003 diff --git a/qrcode.php b/qrcode.php index 614740b..4f91676 100644 --- a/qrcode.php +++ b/qrcode.php @@ -64,6 +64,7 @@ //============================================================+ /** + * @file * Class to create QR-code arrays for TCPDF class. * QR Code symbol is a 2D barcode that can be scanned by handy terminals such as a mobile phone with CCD. * The capacity of QR Code is up to 7000 digits or 4000 characters, and has high robustness. @@ -273,6 +274,7 @@ if (!function_exists('str_split')) { // ##################################################### /** + * @class QRcode * Class to create QR-code arrays for TCPDF class. * QR Code symbol is a 2D barcode that can be scanned by handy terminals such as a mobile phone with CCD. * The capacity of QR Code is up to 7000 digits or 4000 characters, and has high robustness. @@ -282,7 +284,6 @@ if (!function_exists('str_split')) { * This class is derived from "PHP QR Code encoder" by Dominik Dzienia (http://phpqrcode.sourceforge.net/) based on "libqrencode C library 3.1.1." by Kentaro Fukuchi (http://megaui.net/fukuchi/works/qrencode/index.en.html), contains Reed-Solomon code written by Phil Karn, KA9Q. QR Code is registered trademark of DENSO WAVE INCORPORATED (http://www.denso-wave.com/qrcode/index-e.html). * Please read comments on this class source file for full copyright and license information. * - * @name QRcode * @package com.tecnick.tcpdf * @author Nicola Asuni * @version 1.0.009 diff --git a/spotcolors.php b/spotcolors.php index 27976ff..c7e1671 100644 --- a/spotcolors.php +++ b/spotcolors.php @@ -32,6 +32,7 @@ //============================================================+ /** + * @file * Arrays of Spot Colors for TCPDF library * @author Nicola Asuni * @package com.tecnick.tcpdf diff --git a/tcpdf.php b/tcpdf.php index 468f082..63e461e 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -1,7 +1,7 @@ * TCPDF project (http://www.tcpdf.org) was originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.
*

TCPDF main features are:

@@ -133,24 +134,21 @@ * Tools to encode your unicode fonts are on fonts/utils directory.

* @package com.tecnick.tcpdf * @author Nicola Asuni - * @version 5.9.032 + * @version 5.9.033 */ -/** - * main configuration file - * (define the K_TCPDF_EXTERNAL_CONFIG constant to skip this file) - */ +// Main configuration file. Define the K_TCPDF_EXTERNAL_CONFIG constant to skip this file. require_once(dirname(__FILE__).'/config/tcpdf_config.php'); /** -* PHP class for generating PDF documents without requiring external extensions. -* TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.
-* @name TCPDF -* @package com.tecnick.tcpdf -* @brief PHP class for generating PDF documents without requiring external extensions. -* @version 5.9.032 -* @author Nicola Asuni - info@tecnick.com -*/ + * @class TCPDF + * PHP class for generating PDF documents without requiring external extensions. + * TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.
+ * @package com.tecnick.tcpdf + * @brief PHP class for generating PDF documents without requiring external extensions. + * @version 5.9.033 + * @author Nicola Asuni - info@tecnick.com + */ class TCPDF { // private properties @@ -159,7 +157,7 @@ class TCPDF { * Current TCPDF version. * @private */ - private $tcpdf_version = '5.9.032'; + private $tcpdf_version = '5.9.033'; // Protected properties @@ -11993,6 +11991,7 @@ class TCPDF { /** * Convert password for AES-256 encryption mode + * @param $password (string) password * @return string password * @protected * @since 5.9.006 (2010-10-19) @@ -15769,7 +15768,7 @@ class TCPDF { /** * Set the PDF version (check PDF reference for valid values). - * Default value is 1.t + * @param $version (string) PDF document version. * @public * @since 3.1.000 (2008-06-09) */ diff --git a/unicode_data.php b/unicode_data.php index 80dc31b..926ce7b 100755 --- a/unicode_data.php +++ b/unicode_data.php @@ -35,19 +35,20 @@ // Saleh AlMatrafe /** + * @file * Unicode data class for TCPDF library. * @author Nicola Asuni * @package com.tecnick.tcpdf * @since 2.1.000 (2008-01-08) -*/ + */ /** -* This is a PHP class containing Unicde data for TCPDF library -* @name TCPDF_UNICODE_DATA -* @package com.tecnick.tcpdf -* @version 1.0.007 -* @author Nicola Asuni - info@tecnick.com -*/ + * @class TCPDF_UNICODE_DATA + * This is a PHP class containing Unicde data for TCPDF library + * @package com.tecnick.tcpdf + * @version 1.0.007 + * @author Nicola Asuni - info@tecnick.com + */ class TCPDF_UNICODE_DATA { /**