Skip to content

Commit

Permalink
MDL-40107 import tcpdf 6.0.031
Browse files Browse the repository at this point in the history
Includes a few more small asian fonts.
  • Loading branch information
skodak committed Sep 23, 2013
1 parent 7f3836d commit 136d9a4
Show file tree
Hide file tree
Showing 77 changed files with 23,559 additions and 14,730 deletions.
126 changes: 126 additions & 0 deletions lib/tcpdf/CHANGELOG.TXT
Original file line number Diff line number Diff line change
@@ -1,3 +1,129 @@
6.0.031 (2013-09-18)
- Bug #836 "Optional EOL marker before endstream" was fixed.
- Some additional controls were added to avoid "division by zero" error with badly formatted input.

6.0.030 (2013-09-17)
- Bug #835 "PDF417 and Cyrilic simbols" was fixed.

6.0.029 (2013-09-15)
- Constants K_TCPDF_PARSER_THROW_EXCEPTION_ERROR and K_TCPDF_PARSER_IGNORE_DECODING_ERRORS where removed in favor of a new configuration array in the TCPDF_PARSER class.
- The TCPDF_PARSER class can now be configured using the new $cfg parameter.

6.0.028 (2013-09-15)
- A debug print_r was removed form tcpdf_parser.php.
- TCPDF_FILTERS class now throws an exception in case of error.
- TCPDF_PARSER class now throws an exception in case of error unless you define the constant K_TCPDF_PARSER_THROW_EXCEPTION_ERROR to false.
- The constant K_TCPDF_PARSER_IGNORE_DECODING_ERRORS can be set to tru eto ignore decoding errors on TCPDF_PARSER.

6.0.027 (2013-09-14)
- A bug in tcpdf_parser wen parsing hexadecimal strings was fixed.
- A bug in tcpdf_parser wen looking for statxref was fixed.
- A bug on RC4 encryption was fixed.

6.0.026 (2013-09-14)
- A bug in tcpdf_parser wen decoding streams was fixed.

6.0.025 (2013-09-04)
- A pregSplit() bug was fixed.
- Improved content loading from URLs.
- Improved font path loading.

6.0.024 (2013-09-02)
- Bug #826 "addEmptySignatureAppearance issue" was fixed.

6.0.023 (2013-08-05)
- GNU Freefont fonts were updated.
- Licensing and copyright information about fonts were improved.
- PNG image support was improved.

6.0.022 (2013-08-02)
- fixing initialization problem for signature_appearance property.

6.0.021 (2013-07-18)
- The bug caused by the preg_split function on some PHP 5.2.x versions was fixed.

6.0.020 (2013-06-04)
- The method addTTFfont() was fixed (Bug item #813 Undefined offset).

6.0.019 (2013-06-04)
- The magic constant __DIR__ was replaced with dirname(__FILE__) for php 5.2 compatibility.
- The exceptions raised by file_exists() function were suppressed.

6.0.018 (2013-05-19)
- The barcode examples were changed to automatically search for the barcode class path (in case the examples directory is not installed under the TCPDF root).

6.0.017 (2013-05-16)
- The command line tool tcpdf_addfont.php was improved.
- The php logic was removed from configuration files that now contains only constant defines.
- The tcpdf_autoconfig.php file was added to automatically set missing configuration values.

6.0.016 (2013-05-15)
- The tcpdf_addfont.php tool was improved (thanks to Remi Collet).
- Constant K_PATH_IMAGES is now automatically set in configuration file.

6.0.015 (2013-05-14)
- Some unused vars were removed from AddFont() method.
- Some directories were moved inside the examples directory.
- All examples were updated to reflect the new default structure.
- Source code were clean-up up to be more compatible with system packaging.
- Files encodings and permissions were reset.
- The command line tool tcpdf_addfont.php was added on the tools directory.

6.0.014 (2013-04-13)
- The signature of addTTFfont() method includes a new parameter to link existing fonts instead of copying and compressing them.

6.0.013 (2013-04-10)
- Add support for SVG dx and dy text/tspan attributes.
- replace require() with require_once().
- fix some minor typos on documentation.
- fix a problem when deleting all pages.

6.0.012 (2013-04-24)
- An error condition in addHtmlLink() method was fixed (bug #799).

6.0.011 (2013-04-22)
- Minor documentation changes.

6.0.010 (2013-04-03)
- The method Rect() was fixed to print borders correctly.

6.0.009 (2013-04-02)
- Adding back some files that were not properly committed on the latest release.

6.0.008 (2013-04-01)
- Duplicated encoding maps was removed from tcpdf_font_data.php.
- Fixing bug on AddTTFFont().

6.0.007 (2013-03-29)
- HTML/CSS font size conversion were improved.

6.0.006 (2013-03-27)
- Bug related to SVG and EPS files on xobjects were fixed.

6.0.005 (2013-03-26)
- Default font path was fixed.

6.0.004 (2013-03-21)
- Return value of addTTFfont() method was fixed.

6.0.003 (2013-03-20)
- A bug related to non-unicode mode was fixed.

6.0.002 (2013-03-18)
- _getFIXED call on tcpdf_fonts.php was fixed.

6.0.001 (2013-03-18)
- Fixed $uni_type call on tcpdf.php.

6.0.000 (2013-03-17)
- IMPORTANT: PHP4 support has been removed starting from this version.
- Several TCPDF methods and vars were moved to new class files: tcpdf_static.php, tcpdf_colors.php, tcpdf_images.php, tcpdf_font_data.php, tcpdf_fonts.php.
- Files htmlcolors.php, spotcolors.php, unicode_data.php and ecodings_maps.php were removed.
- Barcode classes were renamed and new barcode examples were added.
- Class TCPDF_PARSER was improved.

********************************************************************************

5.9.209 (2013-03-15)
- Image method was improved.

Expand Down
43 changes: 28 additions & 15 deletions lib/tcpdf/README.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,23 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------

Name: TCPDF
Version: 5.9.209
Release date: 2013-03-15
Version: 6.0.031
Release date: 2013-09-18
Author: Nicola Asuni

Copyright (c) 2002-2013:
Nicola Asuni
Tecnick.com LTD
Manor Coach House, Church Hill
Aldershot, Hants, GU12 4RQ
UK
www.tecnick.com

URLs:
http: www.tcpdf.org
http: www.sourceforge.net/projects/tcpdf
http://www.tcpdf.org
http://www.sourceforge.net/projects/tcpdf

Description:
TCPDF is a PHP class for generating PDF files on-the-fly without requiring external extensions.
This library includes also a class to extract data from existing PDF documents and
classes to generate 1D and 2D barcodes in various formats.

Main Features:
* no external libraries are required for the basic functions;
Expand Down Expand Up @@ -67,7 +66,7 @@ Source Code Documentation:
Additional Documentation:
http://www.tcpdf.org

License
License:
Copyright (C) 2002-2013 Nicola Asuni - Tecnick.com LTD

TCPDF is free software: you can redistribute it and/or modify it
Expand All @@ -86,12 +85,26 @@ License

See LICENSE.TXT file for more information.

Third party fonts
This library includes third party font files released with different licenses.
These fonts are not required by TCPDF but have been included as you convenience.
The original TTF font files have been renamed for compatibility with TCPDF and compressed using the gzcompress PHP function that uses the ZLIB data format (.z files).
To get the original distribution archives please check the information on fonts subfolders:
- DejaVu fonts 2.33 (Bitstream) - Copyright, License and other info: fonts/dejavu-fonts-ttf-2.33
- GNU FreeFont (GNU-GPLv3) - Copyright, License and other info: fonts/freefont-20100919
Third party fonts:

This library may include third party font files released with different licenses.

All the PHP files on the fonts directory are subject to the general TCPDF license (GNU-LGPLv3),
they do not contain any binary data but just a description of the general properties of a particular font.
These files can be also generated on the fly using the font utilities and TCPDF methods.

All the original binary TTF font files have been renamed for compatibility with TCPDF and compressed using the gzcompress PHP function that uses the ZLIB data format (.z files).

The binary files (.z) that begins with the prefix "free" have been extracted from the GNU FreeFont collection (GNU-GPLv3).
The binary files (.z) that begins with the prefix "pdfa" have been derived from the GNU FreeFont, so they are subject to the same license.
For the details of Copyright, License and other information, please check the files inside the directory fonts/freefont-20120503
Link : http://www.gnu.org/software/freefont/

The binary files (.z) that begins with the prefix "dejavu" have been extracted from the DejaVu fonts 2.33 (Bitstream) collection.
For the details of Copyright, License and other information, please check the files inside the directory fonts/dejavu-fonts-ttf-2.33
Link : http://dejavu-fonts.org

The binary files (.z) that begins with the prefix "ae" have been extracted from the Arabeyes.org collection (GNU-GPLv2).
Link : http://projects.arabeyes.org/

============================================================
28 changes: 15 additions & 13 deletions lib/tcpdf/composer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "tecnick.com/tcpdf",
"version": "5.9.209",
"version": "6.0.031",
"homepage": "http://www.tcpdf.org/",
"type": "library",
"description": "TCPDF is a PHP class for generating PDF documents.",
"keywords": ["pdf","tcpdf","PDFD32000-2008","qrcode","datamatrix","pdf417","barcodes"],
"keywords": ["PDF","tcpdf","PDFD32000-2008","qrcode","datamatrix","pdf417","barcodes"],
"license": "LGPLv3",
"authors": [
{
Expand All @@ -19,20 +19,22 @@
"autoload": {
"classmap": [
"fonts",
"config/lang",
"config",
"2dbarcodes.php",
"barcodes.php",
"datamatrix.php",
"encodings_maps.php",
"htmlcolors.php",
"pdf417.php",
"qrcode.php",
"spotcolors.php",
"include",
"tcpdf.php",
"tcpdf_filters.php",
"tcpdf_parser.php",
"unicode_data.php"
"tcpdf_import.php",
"tcpdf_barcodes_1d.php",
"tcpdf_barcodes_2d.php",
"include/tcpdf_colors.php",
"include/tcpdf_filters.php",
"include/tcpdf_font_data.php",
"include/tcpdf_fonts.php",
"include/tcpdf_images.php",
"include/tcpdf_static.php",
"include/barcodes/datamatrix.php",
"include/barcodes/pdf417.php",
"include/barcodes/qrcode.php"
]
}
}
Loading

0 comments on commit 136d9a4

Please sign in to comment.