32
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-12-23 08:58:55 +00:00

6.0.065 (2014-04-10)

- Bug #905 "RGB percentage color bug in convertHTMLColorToDec()" was fixed.
This commit is contained in:
nicolaasuni 2014-04-10 17:47:45 +01:00
parent 5afe31385d
commit ce07b40987
6 changed files with 14 additions and 11 deletions

View File

@ -1,3 +1,6 @@
6.0.065 (2014-04-10)
- Bug #905 "RGB percentage color bug in convertHTMLColorToDec()" was fixed.
6.0.064 (2014-04-07) 6.0.064 (2014-04-07)
- Header and Footer fonts are now set by default. - Header and Footer fonts are now set by default.
- Bug #904 "PDF corrupted" was fixed. - Bug #904 "PDF corrupted" was fixed.

View File

@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------ ------------------------------------------------------------
Name: TCPDF Name: TCPDF
Version: 6.0.064 Version: 6.0.065
Release date: 2014-04-07 Release date: 2014-04-10
Author: Nicola Asuni Author: Nicola Asuni
Copyright (c) 2002-2014: Copyright (c) 2002-2014:

View File

@ -1,6 +1,6 @@
{ {
"name": "tecnick.com/tcpdf", "name": "tecnick.com/tcpdf",
"version": "6.0.064", "version": "6.0.065",
"homepage": "http://www.tcpdf.org/", "homepage": "http://www.tcpdf.org/",
"type": "library", "type": "library",
"description": "TCPDF is a PHP class for generating PDF documents.", "description": "TCPDF is a PHP class for generating PDF documents.",

View File

@ -1,9 +1,9 @@
<?php <?php
//============================================================+ //============================================================+
// File name : tcpdf_colors.php // File name : tcpdf_colors.php
// Version : 1.0.003 // Version : 1.0.004
// Begin : 2002-04-09 // Begin : 2002-04-09
// Last Update : 2013-10-25 // Last Update : 2014-04-10
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com // Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html) // License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
// ------------------------------------------------------------------- // -------------------------------------------------------------------
@ -42,7 +42,7 @@
* @class TCPDF_COLORS * @class TCPDF_COLORS
* PHP color class for TCPDF * PHP color class for TCPDF
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @version 1.0.003 * @version 1.0.004
* @author Nicola Asuni - info@tecnick.com * @author Nicola Asuni - info@tecnick.com
*/ */
class TCPDF_COLORS { class TCPDF_COLORS {
@ -306,7 +306,7 @@ class TCPDF_COLORS {
} }
return $returncolor; return $returncolor;
} }
} elseif ((substr($color, 0, 4) != 'cmyk') AND ($dotpos = strpos($color, '.')) !== false) { } elseif ((substr($color, 0, 4) != 'cmyk') AND (substr($color, 0, 3) != 'rgb') AND (($dotpos = strpos($color, '.')) !== false)) {
// remove class parent (i.e.: color.red) // remove class parent (i.e.: color.red)
$color = substr($color, ($dotpos + 1)); $color = substr($color, ($dotpos + 1));
if ($color == 'transparent') { if ($color == 'transparent') {

View File

@ -55,7 +55,7 @@ class TCPDF_STATIC {
* Current TCPDF version. * Current TCPDF version.
* @private static * @private static
*/ */
private static $tcpdf_version = '6.0.064'; private static $tcpdf_version = '6.0.065';
/** /**
* String alias for total number of pages. * String alias for total number of pages.

View File

@ -1,7 +1,7 @@
<?php <?php
//============================================================+ //============================================================+
// File name : tcpdf.php // File name : tcpdf.php
// Version : 6.0.064 // Version : 6.0.065
// Begin : 2002-08-03 // Begin : 2002-08-03
// Last Update : 2014-04-07 // Last Update : 2014-04-07
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com // Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
@ -104,7 +104,7 @@
* Tools to encode your unicode fonts are on fonts/utils directory.</p> * Tools to encode your unicode fonts are on fonts/utils directory.</p>
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @author Nicola Asuni * @author Nicola Asuni
* @version 6.0.064 * @version 6.0.065
*/ */
// TCPDF configuration // TCPDF configuration
@ -128,7 +128,7 @@ require_once(dirname(__FILE__).'/include/tcpdf_static.php');
* 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.<br> * 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.<br>
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @brief PHP class for generating PDF documents without requiring external extensions. * @brief PHP class for generating PDF documents without requiring external extensions.
* @version 6.0.064 * @version 6.0.065
* @author Nicola Asuni - info@tecnick.com * @author Nicola Asuni - info@tecnick.com
*/ */
class TCPDF { class TCPDF {