30
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-05-31 21:30:47 +00:00
This commit is contained in:
nicolaasuni 2011-06-29 18:21:28 +02:00
parent 5cca7f3e6e
commit 18ccc5f668
3 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,6 @@
5.9.100 (2011-06-29)
- An SVG bug has been fixed.
5.9.099 (2011-06-27)
- Bug item #3335045 "Font freesans seems somehow corrupted in footer" was fixed.

View File

@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------
Name: TCPDF
Version: 5.9.099
Release date: 2011-06-27
Version: 5.9.100
Release date: 2011-06-29
Author: Nicola Asuni
Copyright (c) 2002-2011:

View File

@ -1,9 +1,9 @@
<?php
//============================================================+
// File name : tcpdf.php
// Version : 5.9.099
// Version : 5.9.100
// Begin : 2002-08-03
// Last Update : 2011-06-27
// Last Update : 2011-06-29
// 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.
// -------------------------------------------------------------------
@ -134,7 +134,7 @@
* Tools to encode your unicode fonts are on fonts/utils directory.</p>
* @package com.tecnick.tcpdf
* @author Nicola Asuni
* @version 5.9.099
* @version 5.9.100
*/
// Main configuration file. Define the K_TCPDF_EXTERNAL_CONFIG constant to skip this file.
@ -146,7 +146,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.099
* @version 5.9.100
* @author Nicola Asuni - info@tecnick.com
*/
class TCPDF {
@ -157,7 +157,7 @@ class TCPDF {
* Current TCPDF version.
* @private
*/
private $tcpdf_version = '5.9.099';
private $tcpdf_version = '5.9.100';
// Protected properties
@ -26135,6 +26135,7 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
$ymax = 0;
$relcoord = false;
$minlen = (0.01 / $this->k); // minimum acceptable lenght (3 point)
$firstcmd = true; // used to print first point
// draw curve pieces
foreach ($paths as $key => $val) {
// get curve type
@ -26172,9 +26173,10 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
$x = $cp + $xoffset;
} else {
$y = $cp + $yoffset;
if ((abs($x0 - $x) >= $minlen) OR (abs($y0 - $y) >= $minlen)) {
if ($firstcmd OR (abs($x0 - $x) >= $minlen) OR (abs($y0 - $y) >= $minlen)) {
if ($ck == 1) {
$this->_outPoint($x, $y);
$firstcmd = false;
} else {
$this->_outLine($x, $y);
}
@ -26445,6 +26447,7 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
break;
}
}
$firstcmd = false;
} // end foreach
if (!empty($op)) {
$this->_out($op);