mirror of
https://github.com/vdm-io/tcpdf.git
synced 2025-02-02 17:08:25 +00:00
5.9.104
This commit is contained in:
parent
9edc589d3e
commit
534be61143
@ -1,3 +1,6 @@
|
||||
5.9.104 (2011-08-01)
|
||||
- Bug item #3383698 "imagemagick, resize and dpi" was fixed.
|
||||
|
||||
5.9.103 (2011-07-16)
|
||||
- Alignment of XHTML lines was improved.
|
||||
- Spell of the "length" word was fixed.
|
||||
|
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
||||
------------------------------------------------------------
|
||||
|
||||
Name: TCPDF
|
||||
Version: 5.9.103
|
||||
Release date: 2011-07-16
|
||||
Version: 5.9.104
|
||||
Release date: 2011-08-01
|
||||
Author: Nicola Asuni
|
||||
|
||||
Copyright (c) 2002-2011:
|
||||
|
12
tcpdf.php
12
tcpdf.php
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
//============================================================+
|
||||
// File name : tcpdf.php
|
||||
// Version : 5.9.103
|
||||
// Version : 5.9.104
|
||||
// Begin : 2002-08-03
|
||||
// Last Update : 2011-07-16
|
||||
// Last Update : 2011-08-01
|
||||
// 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.103
|
||||
* @version 5.9.104
|
||||
*/
|
||||
|
||||
// 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.103
|
||||
* @version 5.9.104
|
||||
* @author Nicola Asuni - info@tecnick.com
|
||||
*/
|
||||
class TCPDF {
|
||||
@ -159,7 +159,7 @@ class TCPDF {
|
||||
* Current TCPDF version.
|
||||
* @private
|
||||
*/
|
||||
private $tcpdf_version = '5.9.103';
|
||||
private $tcpdf_version = '5.9.104';
|
||||
|
||||
// Protected properties
|
||||
|
||||
@ -7538,7 +7538,7 @@ class TCPDF {
|
||||
// GD image handler function
|
||||
$gdfunction = 'imagecreatefrom'.$type;
|
||||
$info = false;
|
||||
if ((method_exists($this, $mtd)) AND (!($resize AND function_exists($gdfunction)))) {
|
||||
if ((method_exists($this, $mtd)) AND (!($resize AND (function_exists($gdfunction) OR extension_loaded('imagick'))))) {
|
||||
// TCPDF image functions
|
||||
$info = $this->$mtd($file);
|
||||
if ($info == 'pngalpha') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user