mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-26 06:17:33 +00:00
6.0.069 (2014-04-24)
- Datamatrix Base256 encoding was fixed.
This commit is contained in:
parent
2cf6cd032e
commit
872cb6ab57
@ -1,3 +1,6 @@
|
|||||||
|
6.0.069 (2014-04-24)
|
||||||
|
- Datamatrix Base256 encoding was fixed.
|
||||||
|
|
||||||
6.0.068 (2014-04-22)
|
6.0.068 (2014-04-22)
|
||||||
- Some Datamatrix barcode bugs were fixed.
|
- Some Datamatrix barcode bugs were fixed.
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
|||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Name: TCPDF
|
Name: TCPDF
|
||||||
Version: 6.0.068
|
Version: 6.0.069
|
||||||
Release date: 2014-04-22
|
Release date: 2014-04-24
|
||||||
Author: Nicola Asuni
|
Author: Nicola Asuni
|
||||||
|
|
||||||
Copyright (c) 2002-2014:
|
Copyright (c) 2002-2014:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tecnick.com/tcpdf",
|
"name": "tecnick.com/tcpdf",
|
||||||
"version": "6.0.068",
|
"version": "6.0.069",
|
||||||
"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.",
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
//============================================================+
|
//============================================================+
|
||||||
// File name : datamatrix.php
|
// File name : datamatrix.php
|
||||||
// Version : 1.0.005
|
// Version : 1.0.006
|
||||||
// Begin : 2010-06-07
|
// Begin : 2010-06-07
|
||||||
// Last Update : 2014-04-22
|
// Last Update : 2014-04-24
|
||||||
// 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)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -40,7 +40,7 @@
|
|||||||
*
|
*
|
||||||
* @package com.tecnick.tcpdf
|
* @package com.tecnick.tcpdf
|
||||||
* @author Nicola Asuni
|
* @author Nicola Asuni
|
||||||
* @version 1.0.005
|
* @version 1.0.006
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// custom definitions
|
// custom definitions
|
||||||
@ -942,17 +942,17 @@ class Datamatrix {
|
|||||||
}
|
}
|
||||||
// set field lenght
|
// set field lenght
|
||||||
if ($field_lenght <= 249) {
|
if ($field_lenght <= 249) {
|
||||||
$cw[] = $field_lenght;
|
$cw[] = $this->get255StateCodeword($field_lenght, ($cw_num + 1));
|
||||||
++$cw_num;
|
++$cw_num;
|
||||||
} else {
|
} else {
|
||||||
$cw[] = (floor($field_lenght / 250) + 249);
|
$cw[] = $this->get255StateCodeword((floor($field_lenght / 250) + 249), ($cw_num + 1));
|
||||||
$cw[] = ($field_lenght % 250);
|
$cw[] = $this->get255StateCodeword(($field_lenght % 250), ($cw_num + 2));
|
||||||
$cw_num += 2;
|
$cw_num += 2;
|
||||||
}
|
}
|
||||||
if (!empty($temp_cw)) {
|
if (!empty($temp_cw)) {
|
||||||
// add B256 field
|
// add B256 field
|
||||||
foreach ($temp_cw as $p => $cht) {
|
foreach ($temp_cw as $p => $cht) {
|
||||||
$cw[] = $this->get255StateCodeword($chr, ($cw_num + $p));
|
$cw[] = $this->get255StateCodeword($cht, ($cw_num + $p + 1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
//============================================================+
|
//============================================================+
|
||||||
// File name : tcpdf.php
|
// File name : tcpdf.php
|
||||||
// Version : 6.0.068
|
// Version : 6.0.069
|
||||||
// Begin : 2002-08-03
|
// Begin : 2002-08-03
|
||||||
// Last Update : 2014-04-22
|
// Last Update : 2014-04-24
|
||||||
// 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)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -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.068
|
* @version 6.0.069
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// 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.068
|
* @version 6.0.069
|
||||||
* @author Nicola Asuni - info@tecnick.com
|
* @author Nicola Asuni - info@tecnick.com
|
||||||
*/
|
*/
|
||||||
class TCPDF {
|
class TCPDF {
|
||||||
|
Loading…
Reference in New Issue
Block a user