mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-01 03:02:32 +00:00
5.9.120
This commit is contained in:
parent
173e26e702
commit
916ee439b9
@ -1,3 +1,6 @@
|
|||||||
|
5.9.120 (2011-09-22)
|
||||||
|
- This version includes a fix for _getTrueTypeFontSubset() method.
|
||||||
|
|
||||||
5.9.119 (2011-09-19)
|
5.9.119 (2011-09-19)
|
||||||
- This version includes a fix for extra page numbering on TOC.
|
- This version includes a fix for extra page numbering on TOC.
|
||||||
|
|
||||||
@ -11,7 +14,7 @@
|
|||||||
- Datamatrix class was improved and documentation was fixed.
|
- Datamatrix class was improved and documentation was fixed.
|
||||||
|
|
||||||
5.9.115 (2011-09-13)
|
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.
|
- getBarcodeHTML() method was added on TCPDFBarcode and TCPDF2DBarcode classes to return an HTML representation of the barcode.
|
||||||
- cURL options on Image() method were improved.
|
- cURL options on Image() method were improved.
|
||||||
- A bug on write2DBarcode() was fixed.
|
- A bug on write2DBarcode() was fixed.
|
||||||
|
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
|||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Name: TCPDF
|
Name: TCPDF
|
||||||
Version: 5.9.119
|
Version: 5.9.120
|
||||||
Release date: 2011-09-19
|
Release date: 2011-09-22
|
||||||
Author: Nicola Asuni
|
Author: Nicola Asuni
|
||||||
|
|
||||||
Copyright (c) 2002-2011:
|
Copyright (c) 2002-2011:
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//============================================================+
|
//============================================================+
|
||||||
// File name : example_027.php
|
// File name : example_027.php
|
||||||
// Begin : 2008-03-04
|
// Begin : 2008-03-04
|
||||||
// Last Update : 2011-05-12
|
// Last Update : 2011-09-22
|
||||||
//
|
//
|
||||||
// Description : Example 027 for TCPDF class
|
// Description : Example 027 for TCPDF class
|
||||||
// 1D Barcodes
|
// 1D Barcodes
|
||||||
@ -70,11 +70,20 @@ $pdf->setLanguageArray($l);
|
|||||||
$pdf->setBarcode(date('Y-m-d H:i:s'));
|
$pdf->setBarcode(date('Y-m-d H:i:s'));
|
||||||
|
|
||||||
// set font
|
// set font
|
||||||
$pdf->SetFont('helvetica', '', 10);
|
$pdf->SetFont('helvetica', '', 11);
|
||||||
|
|
||||||
// add a page
|
// add a page
|
||||||
$pdf->AddPage();
|
$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
|
// define barcode style
|
||||||
$style = array(
|
$style = array(
|
||||||
'position' => '',
|
'position' => '',
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//============================================================+
|
//============================================================+
|
||||||
// File name : example_050.php
|
// File name : example_050.php
|
||||||
// Begin : 2009-04-09
|
// Begin : 2009-04-09
|
||||||
// Last Update : 2010-09-13
|
// Last Update : 2011-09-22
|
||||||
//
|
//
|
||||||
// Description : Example 050 for TCPDF class
|
// Description : Example 050 for TCPDF class
|
||||||
// 2D Barcodes
|
// 2D Barcodes
|
||||||
@ -69,11 +69,18 @@ $pdf->setLanguageArray($l);
|
|||||||
// NOTE: 2D barcode algorithms must be implemented on 2dbarcode.php class file.
|
// NOTE: 2D barcode algorithms must be implemented on 2dbarcode.php class file.
|
||||||
|
|
||||||
// set font
|
// set font
|
||||||
$pdf->SetFont('helvetica', '', 10);
|
$pdf->SetFont('helvetica', '', 11);
|
||||||
|
|
||||||
// add a page
|
// add a page
|
||||||
$pdf->AddPage();
|
$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
|
// set style for barcode
|
||||||
|
@ -44,7 +44,7 @@ echo '<'.'?'.'xml version="1.0" encoding="UTF-8"'.'?'.'>';
|
|||||||
<li>Object Visibility and Layers: [<a href="example_024.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
<li>Object Visibility and Layers: [<a href="example_024.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||||
<li>Object Transparency: [<a href="example_025.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
<li>Object Transparency: [<a href="example_025.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||||
<li>Text Rendering Modes and Text Clipping: [<a href="example_026.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
<li>Text Rendering Modes and Text Clipping: [<a href="example_026.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||||
<li>Barcodes: [<a href="example_027.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
<li>1D Barcodes: [<a href="example_027.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||||
<li>Multiple page formats: [<a href="example_028.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
<li>Multiple page formats: [<a href="example_028.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||||
<li>Set PDF viewer display preferences: [<a href="example_029.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
<li>Set PDF viewer display preferences: [<a href="example_029.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||||
<li>Colour gradients: [<a href="example_030.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
<li>Colour gradients: [<a href="example_030.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||||
@ -67,7 +67,7 @@ echo '<'.'?'.'xml version="1.0" encoding="UTF-8"'.'?'.'>';
|
|||||||
<li>Transactions and UNDO: [<a href="example_047.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
<li>Transactions and UNDO: [<a href="example_047.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||||
<li>Table header and rowspan: [<a href="example_048.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
<li>Table header and rowspan: [<a href="example_048.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||||
<li>TCPDF methods in HTML: [<a href="example_049.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
<li>TCPDF methods in HTML: [<a href="example_049.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||||
<li>2D Barcode (QR-Code AND PDF417): [<a href="example_050.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
<li>2D Barcode (QR-Code, Datamatrix ECC200 and PDF417): [<a href="example_050.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||||
<li>Full page background: [<a href="example_051.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
<li>Full page background: [<a href="example_051.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||||
<li>Digital Signature Certification: [<a href="example_052.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
<li>Digital Signature Certification: [<a href="example_052.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||||
<li>Javascript functions: [<a href="example_053.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
<li>Javascript functions: [<a href="example_053.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
|
||||||
|
11
tcpdf.php
11
tcpdf.php
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
//============================================================+
|
//============================================================+
|
||||||
// File name : tcpdf.php
|
// File name : tcpdf.php
|
||||||
// Version : 5.9.119
|
// Version : 5.9.120
|
||||||
// Begin : 2002-08-03
|
// Begin : 2002-08-03
|
||||||
// Last Update : 2011-09-19
|
// Last Update : 2011-09-22
|
||||||
// Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
|
||||||
// License : http://www.tecnick.com/pagefiles/tcpdf/LICENSE.TXT GNU-LGPLv3 + YOU CAN'T REMOVE ANY TCPDF COPYRIGHT NOTICE OR LINK FROM THE GENERATED PDF DOCUMENTS.
|
// License : http://www.tecnick.com/pagefiles/tcpdf/LICENSE.TXT GNU-LGPLv3 + YOU CAN'T REMOVE ANY TCPDF COPYRIGHT NOTICE OR LINK FROM THE GENERATED PDF DOCUMENTS.
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -136,7 +136,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 5.9.119
|
* @version 5.9.120
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// 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.
|
||||||
@ -148,7 +148,7 @@ require_once(dirname(__FILE__).'/config/tcpdf_config.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 5.9.119
|
* @version 5.9.120
|
||||||
* @author Nicola Asuni - info@tecnick.com
|
* @author Nicola Asuni - info@tecnick.com
|
||||||
*/
|
*/
|
||||||
class TCPDF {
|
class TCPDF {
|
||||||
@ -159,7 +159,7 @@ class TCPDF {
|
|||||||
* Current TCPDF version.
|
* Current TCPDF version.
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
private $tcpdf_version = '5.9.119';
|
private $tcpdf_version = '5.9.120';
|
||||||
|
|
||||||
// Protected properties
|
// Protected properties
|
||||||
|
|
||||||
@ -9734,6 +9734,7 @@ class TCPDF {
|
|||||||
++$numSubHeaders;
|
++$numSubHeaders;
|
||||||
// read subHeader structures
|
// read subHeader structures
|
||||||
$subHeaders = array();
|
$subHeaders = array();
|
||||||
|
$numGlyphIndexArray = 0;
|
||||||
for ($k = 0; $k < $numSubHeaders; ++$k) {
|
for ($k = 0; $k < $numSubHeaders; ++$k) {
|
||||||
$subHeaders[$k]['firstCode'] = $this->_getUSHORT($font, $offset);
|
$subHeaders[$k]['firstCode'] = $this->_getUSHORT($font, $offset);
|
||||||
$offset += 2;
|
$offset += 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user