mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-22 12:55:10 +00:00
5.9.112
This commit is contained in:
parent
c45b65a34f
commit
093d24466b
@ -1,3 +1,7 @@
|
||||
5.9.112 (2011-08-18)
|
||||
- A newline character was added after the 'trailer' keyword for compatibility with some parsers.
|
||||
- Support for layers was improved.
|
||||
|
||||
5.9.111 (2011-08-17)
|
||||
- Barcode CODE 39 default gap was restored at 1.
|
||||
|
||||
@ -12,7 +16,7 @@
|
||||
- A bug on PHP4 version was fixed.
|
||||
|
||||
5.9.107 (2011-08-08)
|
||||
- THis version includes a minor bugfix.
|
||||
- This version includes a minor bugfix.
|
||||
|
||||
5.9.106 (2011-08-04)
|
||||
- This version includes transparency groups: check the new parameter on startTemplate() method and example 62.
|
||||
|
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
||||
------------------------------------------------------------
|
||||
|
||||
Name: TCPDF
|
||||
Version: 5.9.111
|
||||
Release date: 2011-08-17
|
||||
Version: 5.9.112
|
||||
Release date: 2011-08-18
|
||||
Author: Nicola Asuni
|
||||
|
||||
Copyright (c) 2002-2011:
|
||||
|
30
tcpdf.php
30
tcpdf.php
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
//============================================================+
|
||||
// File name : tcpdf.php
|
||||
// Version : 5.9.111
|
||||
// Version : 5.9.112
|
||||
// Begin : 2002-08-03
|
||||
// Last Update : 2011-08-17
|
||||
// Last Update : 2011-08-18
|
||||
// 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.
|
||||
// -------------------------------------------------------------------
|
||||
@ -136,7 +136,7 @@
|
||||
* Tools to encode your unicode fonts are on fonts/utils directory.</p>
|
||||
* @package com.tecnick.tcpdf
|
||||
* @author Nicola Asuni
|
||||
* @version 5.9.111
|
||||
* @version 5.9.112
|
||||
*/
|
||||
|
||||
// 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>
|
||||
* @package com.tecnick.tcpdf
|
||||
* @brief PHP class for generating PDF documents without requiring external extensions.
|
||||
* @version 5.9.111
|
||||
* @version 5.9.112
|
||||
* @author Nicola Asuni - info@tecnick.com
|
||||
*/
|
||||
class TCPDF {
|
||||
@ -159,7 +159,7 @@ class TCPDF {
|
||||
* Current TCPDF version.
|
||||
* @private
|
||||
*/
|
||||
private $tcpdf_version = '5.9.111';
|
||||
private $tcpdf_version = '5.9.112';
|
||||
|
||||
// Protected properties
|
||||
|
||||
@ -11188,12 +11188,23 @@ class TCPDF {
|
||||
}
|
||||
}
|
||||
$out .= ' /OCProperties << /OCGs ['.$lyrobjs.']';
|
||||
$out .= ' /D << /ON ['.$lyrobjs_print.']';
|
||||
$out .= ' /D <<';
|
||||
$out .= ' /Name '.$this->_textstring('Layers', $oid);
|
||||
$out .= ' /Creator '.$this->_textstring('TCPDF', $oid);
|
||||
$out .= ' /BaseState /ON';
|
||||
$out .= ' /ON ['.$lyrobjs_print.']';
|
||||
$out .= ' /OFF ['.$lyrobjs_view.']';
|
||||
$out .= ' /Intent /View';
|
||||
$out .= ' /AS [';
|
||||
$out .= '<< /Event /Print /OCGs ['.$lyrobjs.'] /Category [/Print] >> << /Event /View /OCGs ['.$lyrobjs.'] /Category [/View] >>';
|
||||
$out .= ' << /Event /Print /OCGs ['.$lyrobjs.'] /Category [/Print] >>';
|
||||
$out .= ' << /Event /View /OCGs ['.$lyrobjs.'] /Category [/View] >>';
|
||||
$out .= ' ]';
|
||||
$out .= ' >> >>';
|
||||
$out .= ' /Order ['.$lyrobjs.']';
|
||||
$out .= ' /ListMode /AllPages';
|
||||
//$out .= ' /RBGroups ['..']';
|
||||
//$out .= ' /Locked ['..']';
|
||||
$out .= ' >>';
|
||||
$out .= ' >>';
|
||||
}
|
||||
// AcroForm
|
||||
if (!empty($this->form_obj_id) OR ($this->sign AND isset($this->signature_data['cert_type']))) {
|
||||
@ -11405,7 +11416,8 @@ class TCPDF {
|
||||
$this->_out(sprintf('%010d 00000 n ', $this->offsets[$i]));
|
||||
}
|
||||
// TRAILER
|
||||
$out = 'trailer <<';
|
||||
$out = 'trailer'."\n";
|
||||
$out .= '<<';
|
||||
$out .= ' /Size '.($this->n + 1);
|
||||
$out .= ' /Root '.$objid_catalog.' 0 R';
|
||||
$out .= ' /Info '.$objid_info.' 0 R';
|
||||
|
Loading…
Reference in New Issue
Block a user