32
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-12-23 08:58:55 +00:00

6.0.048 (2013-11-24)

- SVG vars are now reset in ImageSVG() method.
This commit is contained in:
nicolaasuni 2013-11-24 18:56:31 +00:00
parent acb0db3a6d
commit d2ded0b698
4 changed files with 19 additions and 5 deletions

View File

@ -1,3 +1,6 @@
6.0.048 (2013-11-24)
- SVG vars are now reset in ImageSVG() method.
6.0.047 (2013-11-19)
- SVG support was extended to support some nested defs.

View File

@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------
Name: TCPDF
Version: 6.0.047
Release date: 2013-11-19
Version: 6.0.048
Release date: 2013-11-24
Author: Nicola Asuni
Copyright (c) 2002-2013:

View File

@ -1,6 +1,6 @@
{
"name": "tecnick.com/tcpdf",
"version": "6.0.047",
"version": "6.0.048",
"homepage": "http://www.tcpdf.org/",
"type": "library",
"description": "TCPDF is a PHP class for generating PDF documents.",

View File

@ -1,9 +1,9 @@
<?php
//============================================================+
// File name : tcpdf.php
// Version : 6.0.047
// Version : 6.0.048
// Begin : 2002-08-03
// Last Update : 2013-11-19
// Last Update : 2013-11-24
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
// -------------------------------------------------------------------
@ -22540,6 +22540,17 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
if ($this->state != 2) {
return;
}
// reseet SVG vars
$this->svggradients = array();
$this->svggradientid = 0;
$this->svgdefsmode = false;
$this->svgdefs = array();
$this->svgclipmode = false;
$this->svgclippaths = array();
$this->svgcliptm = array();
$this->svgclipid = 0;
$this->svgtext = '';
$this->svgtextmode = array();
if ($this->rasterize_vector_images AND ($w > 0) AND ($h > 0)) {
// convert SVG to raster image using GD or ImageMagick libraries
return $this->Image($file, $x, $y, $w, $h, 'SVG', $link, $align, true, 300, $palign, false, false, $border, false, false, false);