Server geändert
This commit is contained in:
@ -3,9 +3,9 @@
|
||||
// File name : tcpdf.php
|
||||
// Begin : 2002-08-03
|
||||
// Last Update : 2010-05-06
|
||||
// Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org
|
||||
// Author : Nicola Asuni - info@tecnick.com - https://www.tcpdf.org
|
||||
// Version : 5.0.002
|
||||
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html)
|
||||
// License : GNU LGPL (https://www.gnu.org/copyleft/lesser.html)
|
||||
// ----------------------------------------------------------------------------
|
||||
// Copyright (C) 2002-2010 Nicola Asuni - Tecnick.com S.r.l.
|
||||
//
|
||||
@ -20,7 +20,7 @@
|
||||
// GNU Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
//
|
||||
// See LICENSE.TXT file for more information.
|
||||
// ----------------------------------------------------------------------------
|
||||
@ -30,7 +30,7 @@
|
||||
//
|
||||
// NOTE:
|
||||
// This class was originally derived in 2002 from the Public
|
||||
// Domain FPDF class by Olivier Plathey (http://www.fpdf.org),
|
||||
// Domain FPDF class by Olivier Plathey (https://www.fpdf.org),
|
||||
// but now is almost entirely rewritten.
|
||||
//
|
||||
// Main features:
|
||||
@ -40,7 +40,7 @@
|
||||
// * TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts;
|
||||
// * methods to publish some XHTML code, Javascript and Forms;
|
||||
// * images, graphic (geometric figures) and transformation methods;
|
||||
// * supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http://www.imagemagick.org/www/formats.html)
|
||||
// * supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (https://www.imagemagick.org/www/formats.html)
|
||||
// * 1D and 2D barcodes: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS, QR-Code;
|
||||
// * Grayscale, RGB, CMYK, Spot Colors and Transparencies;
|
||||
// * automatic page header and footer management;
|
||||
@ -59,9 +59,9 @@
|
||||
// -----------------------------------------------------------
|
||||
// THANKS TO:
|
||||
//
|
||||
// Olivier Plathey (http://www.fpdf.org) for original FPDF.
|
||||
// Olivier Plathey (https://www.fpdf.org) for original FPDF.
|
||||
// Efthimios Mavrogeorgiadis (emavro@yahoo.com) for suggestions on RTL language support.
|
||||
// Klemen Vodopivec (http://www.fpdf.de/downloads/addons/37/) for Encryption algorithm.
|
||||
// Klemen Vodopivec (https://www.fpdf.de/downloads/addons/37/) for Encryption algorithm.
|
||||
// Warren Sherliker (wsherliker@gmail.com) for better image handling.
|
||||
// dullus for text Justification.
|
||||
// Bob Vincent (pillarsdotnet@users.sourceforge.net) for <li> value attribute.
|
||||
@ -90,7 +90,7 @@
|
||||
|
||||
/**
|
||||
* This is a PHP class for generating PDF documents without requiring external extensions.<br>
|
||||
* TCPDF project (http://www.tcpdf.org) was 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 (https://www.tcpdf.org) was originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (https://www.fpdf.org), but now is almost entirely rewritten.<br>
|
||||
* <h3>TCPDF main features are:</h3>
|
||||
* <ul>
|
||||
* <li>no external libraries are required for the basic functions;</li>
|
||||
@ -99,7 +99,7 @@
|
||||
* <li>TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts;</li>
|
||||
* <li>methods to publish some XHTML code, Javascript and Forms;</li>
|
||||
* <li>images, graphic (geometric figures) and transformation methods;
|
||||
* <li>supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http://www.imagemagick.org/www/formats.html)</li>
|
||||
* <li>supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (https://www.imagemagick.org/www/formats.html)</li>
|
||||
* <li>1D and 2D barcodes: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS, QR-Code;</li>
|
||||
* <li>Grayscale, RGB, CMYK, Spot Colors and Transparencies;</li>
|
||||
* <li>automatic page header and footer management;</li>
|
||||
@ -120,8 +120,8 @@
|
||||
* @abstract Class for generating PDF files on-the-fly without requiring external extensions.
|
||||
* @author Nicola Asuni
|
||||
* @copyright 2002-2010 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
|
||||
* @link http://www.tcpdf.org
|
||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||
* @link https://www.tcpdf.org
|
||||
* @license https://www.gnu.org/copyleft/lesser.html LGPL
|
||||
* @version 5.0.002
|
||||
*/
|
||||
|
||||
@ -146,17 +146,17 @@ if (!class_exists('TCPDF', false)) {
|
||||
/**
|
||||
* define default PDF document producer
|
||||
*/
|
||||
define('PDF_PRODUCER', 'TCPDF 5.0.002 (http://www.tcpdf.org)');
|
||||
define('PDF_PRODUCER', 'TCPDF 5.0.002 (https://www.tcpdf.org)');
|
||||
|
||||
/**
|
||||
* This is a PHP class for generating PDF documents without requiring external extensions.<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>
|
||||
* TCPDF project (https://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (https://www.fpdf.org), but now is almost entirely rewritten.<br>
|
||||
* @name TCPDF
|
||||
* @package com.tecnick.tcpdf
|
||||
* @version 5.0.002
|
||||
* @author Nicola Asuni - info@tecnick.com
|
||||
* @link http://www.tcpdf.org
|
||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||
* @link https://www.tcpdf.org
|
||||
* @license https://www.gnu.org/copyleft/lesser.html LGPL
|
||||
*/
|
||||
class TCPDF {
|
||||
|
||||
@ -8260,7 +8260,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
/**
|
||||
* Converts UTF-8 strings to codepoints array.<br>
|
||||
* Invalid byte sequences will be replaced with 0xFFFD (replacement character)<br>
|
||||
* Based on: http://www.faqs.org/rfcs/rfc3629.html
|
||||
* Based on: https://www.faqs.org/rfcs/rfc3629.html
|
||||
* <pre>
|
||||
* Char. number range | UTF-8 octet sequence
|
||||
* (hexadecimal) | (binary)
|
||||
@ -8451,7 +8451,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
|
||||
/**
|
||||
* Converts array of UTF-8 characters to UTF16-BE string.<br>
|
||||
* Based on: http://www.faqs.org/rfcs/rfc2781.html
|
||||
* Based on: https://www.faqs.org/rfcs/rfc2781.html
|
||||
* <pre>
|
||||
* Encoding UTF-16:
|
||||
*
|
||||
@ -10015,7 +10015,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
// BIDIRECTIONAL TEXT SECTION --------------------------
|
||||
|
||||
/**
|
||||
* Reverse the RLT substrings using the Bidirectional Algorithm (http://unicode.org/reports/tr9/).
|
||||
* Reverse the RLT substrings using the Bidirectional Algorithm (https://unicode.org/reports/tr9/).
|
||||
* @param string $str string to manipulate.
|
||||
* @param bool $setbom if true set the Byte Order Mark (BOM = 0xFEFF)
|
||||
* @param bool $forcertl if true forces RTL text direction
|
||||
@ -10029,7 +10029,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the RLT substrings array using the Bidirectional Algorithm (http://unicode.org/reports/tr9/).
|
||||
* Reverse the RLT substrings array using the Bidirectional Algorithm (https://unicode.org/reports/tr9/).
|
||||
* @param array $arr array of unicode values.
|
||||
* @param string $str string to manipulate (or empty value).
|
||||
* @param bool $setbom if true set the Byte Order Mark (BOM = 0xFEFF)
|
||||
@ -10044,7 +10044,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the RLT substrings using the Bidirectional Algorithm (http://unicode.org/reports/tr9/).
|
||||
* Reverse the RLT substrings using the Bidirectional Algorithm (https://unicode.org/reports/tr9/).
|
||||
* @param array $ta array of characters composing the string.
|
||||
* @param string $str string to process
|
||||
* @param bool $forcertl if 'R' forces RTL, if 'L' forces LTR
|
||||
@ -18129,7 +18129,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
|
||||
/**
|
||||
* Returns an array of hyphenation patterns.
|
||||
* @param string $file TEX file containing hypenation patterns. TEX pattrns can be downloaded from http://www.ctan.org/tex-archive/language/hyph-utf8/tex/generic/hyph-utf8/patterns/
|
||||
* @param string $file TEX file containing hypenation patterns. TEX pattrns can be downloaded from https://www.ctan.org/tex-archive/language/hyph-utf8/tex/generic/hyph-utf8/patterns/
|
||||
* @return array of hyphenation patterns
|
||||
* @author Nicola Asuni
|
||||
* @since 4.9.012 (2010-04-12)
|
||||
@ -18137,7 +18137,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
*/
|
||||
public function getHyphenPatternsFromTEX($file) {
|
||||
// TEX patterns are available at:
|
||||
// http://www.ctan.org/tex-archive/language/hyph-utf8/tex/generic/hyph-utf8/patterns/
|
||||
// https://www.ctan.org/tex-archive/language/hyph-utf8/tex/generic/hyph-utf8/patterns/
|
||||
$data = file_get_contents($file);
|
||||
$patterns = array();
|
||||
// remove comments
|
||||
@ -18163,7 +18163,7 @@ if (!class_exists('TCPDF', false)) {
|
||||
/**
|
||||
* Returns text with soft hyphens.
|
||||
* @param string $text text to process
|
||||
* @param mixed $patterns Array of hypenation patterns or a TEX file containing hypenation patterns. TEX patterns can be downloaded from http://www.ctan.org/tex-archive/language/hyph-utf8/tex/generic/hyph-utf8/patterns/
|
||||
* @param mixed $patterns Array of hypenation patterns or a TEX file containing hypenation patterns. TEX patterns can be downloaded from https://www.ctan.org/tex-archive/language/hyph-utf8/tex/generic/hyph-utf8/patterns/
|
||||
* @param array $dictionary Array of words to be returned without applying the hyphenation algoritm.
|
||||
* @param int $leftmin Minimum number of character to leave on the left of the word without applying the hyphens.
|
||||
* @param int $rightmin Minimum number of character to leave on the right of the word without applying the hyphens.
|
||||
|
Reference in New Issue
Block a user