mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-25 13:57:33 +00:00
6.0.004 (2013-03-21)
- Return value of addTTFfont() method was fixed.
This commit is contained in:
parent
3fa01d8e99
commit
3e1f83ee55
@ -1,3 +1,6 @@
|
|||||||
|
6.0.004 (2013-03-21)
|
||||||
|
- Return value of addTTFfont() method was fixed.
|
||||||
|
|
||||||
6.0.003 (2013-03-20)
|
6.0.003 (2013-03-20)
|
||||||
- A bug related to non-unicode mode was fixed.
|
- A bug related to non-unicode mode was fixed.
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
|||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Name: TCPDF
|
Name: TCPDF
|
||||||
Version: 6.0.003
|
Version: 6.0.004
|
||||||
Release date: 2013-03-20
|
Release date: 2013-03-21
|
||||||
Author: Nicola Asuni
|
Author: Nicola Asuni
|
||||||
|
|
||||||
Copyright (c) 2002-2013:
|
Copyright (c) 2002-2013:
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
//============================================================+
|
//============================================================+
|
||||||
// File name : tcpdf_fonts.php
|
// File name : tcpdf_fonts.php
|
||||||
// Version : 1.0.001
|
// Version : 1.0.002
|
||||||
// Begin : 2008-01-01
|
// Begin : 2008-01-01
|
||||||
// Last Update : 2013-03-20
|
// Last Update : 2013-03-21
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - Manor Coach House, Church Hill, Aldershot, Hants, GU12 4RQ, UK - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - Manor Coach House, Church Hill, Aldershot, Hants, GU12 4RQ, UK - 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_FONTS
|
* @class TCPDF_FONTS
|
||||||
* Font methods for TCPDF library.
|
* Font methods for TCPDF library.
|
||||||
* @package com.tecnick.tcpdf
|
* @package com.tecnick.tcpdf
|
||||||
* @version 1.0.001
|
* @version 1.0.002
|
||||||
* @author Nicola Asuni - info@tecnick.com
|
* @author Nicola Asuni - info@tecnick.com
|
||||||
*/
|
*/
|
||||||
class TCPDF_FONTS {
|
class TCPDF_FONTS {
|
||||||
@ -355,7 +355,7 @@ class TCPDF_FONTS {
|
|||||||
$offset = 0; // offset position of the font data
|
$offset = 0; // offset position of the font data
|
||||||
if (TCPDF_STATIC::_getULONG($font, $offset) != 0x10000) {
|
if (TCPDF_STATIC::_getULONG($font, $offset) != 0x10000) {
|
||||||
// sfnt version must be 0x00010000 for TrueType version 1.0.
|
// sfnt version must be 0x00010000 for TrueType version 1.0.
|
||||||
return $font;
|
return false;
|
||||||
}
|
}
|
||||||
$offset += 4;
|
$offset += 4;
|
||||||
// get number of tables
|
// get number of tables
|
||||||
@ -382,7 +382,7 @@ class TCPDF_FONTS {
|
|||||||
$offset = $table['head']['offset'] + 12;
|
$offset = $table['head']['offset'] + 12;
|
||||||
if (TCPDF_STATIC::_getULONG($font, $offset) != 0x5F0F3CF5) {
|
if (TCPDF_STATIC::_getULONG($font, $offset) != 0x5F0F3CF5) {
|
||||||
// magicNumber must be 0x5F0F3CF5
|
// magicNumber must be 0x5F0F3CF5
|
||||||
return $font;
|
return false;
|
||||||
}
|
}
|
||||||
$offset += 4;
|
$offset += 4;
|
||||||
$offset += 2; // skip flags
|
$offset += 2; // skip flags
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
//============================================================+
|
//============================================================+
|
||||||
// File name : tcpdf.php
|
// File name : tcpdf.php
|
||||||
// Version : 6.0.003
|
// Version : 6.0.004
|
||||||
// Begin : 2002-08-03
|
// Begin : 2002-08-03
|
||||||
// Last Update : 2013-03-20
|
// Last Update : 2013-03-20
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - Manor Coach House, Church Hill, Aldershot, Hants, GU12 4RQ, UK - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - Manor Coach House, Church Hill, Aldershot, Hants, GU12 4RQ, UK - www.tecnick.com - info@tecnick.com
|
||||||
@ -139,7 +139,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.003
|
* @version 6.0.004
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!defined('K_TCPDF_EXTERNAL_CONFIG')) {
|
if (!defined('K_TCPDF_EXTERNAL_CONFIG')) {
|
||||||
@ -168,7 +168,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.003
|
* @version 6.0.004
|
||||||
* @author Nicola Asuni - info@tecnick.com
|
* @author Nicola Asuni - info@tecnick.com
|
||||||
*/
|
*/
|
||||||
class TCPDF {
|
class TCPDF {
|
||||||
|
Loading…
Reference in New Issue
Block a user