717 Commits

Author SHA1 Message Date
Erich Munz
d144ad0078
file_get_contents
return value should also be checked for a non-empty string
2019-08-28 11:44:18 +02:00
Nicola Asuni
756908329d
Merge pull request #105 from fschaeffer/patch-1
[BUGFIX] fix SpotColor handling in HTML
2019-01-16 11:51:36 +00:00
Nicola Asuni
a3e2f2ffdf
Merge pull request #106 from soerenbernstein/patch-1
Update tcpdf.php to prevent errors in PHP 7.2
2019-01-16 11:47:50 +00:00
Nicola Asuni
e9cd9eab11
Merge pull request #110 from ausi/patch-1
Fix TCPDF_STATIC::fileGetContents()
2019-01-16 11:39:19 +00:00
Martin Auswöger
b83e325c38
Fix TCPDF_STATIC::fileGetContents()
Currently only the first path in the `$alt` array gets checked. This pull request fixes this so that all paths are checked.
2019-01-07 13:19:28 +01:00
Sören Bernstein
21bb4fdfd5
Update tcpdf.php
Add an additional empty test to prevent error in PHP 7.2. Without this test, the variables might get initialized as an empty string, which will lead to an error during the following multiplication.
There might be more lines with this problem - these are the ones I found.
2018-11-19 15:22:07 +01:00
Florian Schaeffer
14b1dee166
fix SpotColor handling in HTML
As the spot color array contains the user defined spotcolors provided by AddColor() we need to use the original color name here (as stored in $hcolor) and not the flattened one.

Example for usage <span style="color:SPOTCOLOR 15/5;">Your text here</span>
2018-11-15 10:54:44 +01:00
nicolaasuni
367241059c Format code 6.2.26 2018-10-16 18:24:05 +01:00
Nicola Asuni
a38e94f98f
Merge pull request #100 from visual4/master
Fix unsupported operand types error when codepoints arrays are merged
2018-10-16 18:22:08 +01:00
nicolaasuni
5ec5211b82 Update sRGB.icc with the one from the Debian package icc-profiles-free 2018-10-16 18:17:17 +01:00
Jonas Nutz
b9b5a0b77f Fix unsupported operand types error when codepoints arrays are merged - corrected assignment of resulting array 2018-10-05 13:04:08 +02:00
Jonas Nutz
d06fee8012 Fix unsupported operand types error when codepoints arrays are merged 2018-10-01 13:48:27 +02:00
nicolaasuni
a5135e2cf0 Fix support for image URLs 6.2.25 2018-09-23 08:52:24 +01:00
nicolaasuni
aee50eb2bf Support remote files in file_exists 2018-09-22 12:50:04 +01:00
Nicola Asuni
b6651409f0
Merge pull request #95 from maechler/master
Fixes MultiCell not working with negative y values
6.2.23
2018-09-22 10:37:47 +01:00
nicolaasuni
98799ea173 Simplify file_exists function 2018-09-22 10:37:08 +01:00
Markus Mächler
489fed96ca Fixes MultiCell not working with negative y values 2018-09-17 18:56:51 +02:00
nicolaasuni
ac6e92fccc Fix for security vulnerability: Using the phar:// wrapper it was possible to trigger the unserialization of user provided data. 6.2.22 2018-09-14 16:26:29 +01:00
nicolaasuni
a3273af312 Remove typo comment 6.2.21 2018-09-14 14:49:09 +01:00
nicolaasuni
1861e33fe0 Fix for security vulnerability: Using the phar:// wrapper it was possible to trigger the unserialization of user provided data. 6.2.20 2018-09-14 14:28:55 +01:00
nicolaasuni
b32e75e1ec Bump version 6.2.19 2018-09-14 13:08:15 +01:00
Nicola Asuni
f20c0fcda8
Merge pull request #91 from kozaktomas/switch-issue
Fix continue in switch for PHP7.3
2018-09-14 13:05:18 +01:00
Nicola Asuni
e377b73ccc
Merge pull request #92 from moveDaniel/patch-1
Add ignore Annotation annotation
2018-09-14 13:01:14 +01:00
Nicola Asuni
5d6afea865
Merge pull request #93 from viktorminko/fix-rtl-spaces-reversion
Fix of issue with html tags inside RTL languages
2018-09-14 13:00:13 +01:00
Nicola Asuni
09f2e89ab2
Merge pull request #94 from leofeyer/patch-1
Security fix for disclosed stream wrapper attack
2018-09-14 12:57:48 +01:00
nicolaasuni
e6285db003 Bump version 2018-09-14 12:56:15 +01:00
nicolaasuni
9e42c8793c restore encoding on destroy function 2018-09-14 12:52:38 +01:00
Nicola Asuni
2d66d21d4b
Merge pull request #68 from csears123/patch-1
"Non well formed numeric value" error occurs in PHP 7
2018-09-14 12:46:52 +01:00
Leo Feyer
ebdfcb1cce Check for an external stream first 2018-09-11 10:35:20 +02:00
Leo Feyer
7174bfea73 Make the check case-insensitive 2018-09-11 10:26:06 +02:00
Leo Feyer
9f0350dca7 Do not allow stream wrappers other than http and https in file paths 2018-09-11 10:13:29 +02:00
viktorminko
c07caebd9c Fix of issue with html tags inside RTL languages, space reversion shouldn't be performed on RTL strings. Consider next code:
$pdf->SetFont('dejavusans', '', 14, '', false);
$pdf->setRTL(true);
$htmlhebrew = "אנ <b>לא</b> ודעת";
$pdf->WriteHTML($htmlhebrew, true, 0, true, 0);

it will output
אנלאודעת

with missing spaces around bold text לא

Expected output is:

אנ לא ודעת

with spaces around bold text לא
2018-08-25 13:03:46 +03:00
moveDaniel
ba1bb9f238
Add ignore Annotation annotation
Add IgnoreAnnotation annotations to ignore @public, @protected, @pre cause doctrine parser searching for imports
2018-08-20 13:17:04 +02:00
Tomas Kozak
536c8856bc
Fix continue in switch for PHP7.3 2018-08-06 15:49:38 +02:00
nicolaasuni
64fc194398 Bump version 6.2.17 2018-02-24 11:48:20 +00:00
Nicola Asuni
dc3254240e
Merge pull request #84 from NiklasBr/master
Restore PHP 5.3 compatibility Verified 11f0fd3
2018-02-24 11:45:06 +00:00
Niklas
11f0fd3811
Merge pull request #1 from NiklasBr/php5-3-array-fix
Restore PHP 5.3 compatibility
2018-02-21 16:11:03 +01:00
Niklas
278e831f64
Restore PHP 5.3 compat
composer.json for TCPDF claims support for PHP 5.3 and short array syntax is not in this old version. This undos commit 865cd727fc29b080e8da1959566de5078a605c73 in char101:patch-1
2018-02-21 16:10:37 +01:00
nicolaasuni
3527098537 Bump version 6.2.16 2018-02-19 15:01:27 +00:00
Nicola Asuni
21b7a5abc6
Update tcpdf_static.php 2018-02-19 14:32:39 +00:00
Nicola Asuni
508e1cb150
Merge pull request #61 from spipu/master
fix Undesired mouseover effect on links in PDF on Chrome Pdf Viewer
2018-02-19 14:30:29 +00:00
Nicola Asuni
a345d8a08f
Merge pull request #67 from GHopperMSK/toc_without_page_number
In some cases we want a part of TOC without page number. The patch fi…
2018-02-19 14:29:57 +00:00
Nicola Asuni
c549697bd2
Merge pull request #62 from procurios/url-bug-in-fileGetContents
Add url as an alternative path instead of returning directly
2018-02-19 14:27:42 +00:00
Nicola Asuni
0d61d43a1f
Merge pull request #58 from westhouseit/patch-1
Fix for Notice -> Undefined index: F0
2018-02-19 14:22:15 +00:00
Nicola Asuni
7e88955807
Merge pull request #65 from berlinquin/master
Reverse order of operations in getErrorCorrectionLevel
2018-02-19 14:21:42 +00:00
Nicola Asuni
5ecc348571
Merge pull request #66 from siturra/patch-1
refactoring write2DBarcode() in tcpdf
2018-02-19 14:20:58 +00:00
Nicola Asuni
7214fa2103
Merge pull request #69 from zeldajay/master
Fix tcpdf_addfont.php Bug
2018-02-19 14:18:50 +00:00
Nicola Asuni
1b4dffc80c
Merge pull request #73 from rgarcia-martin/patch-tcpdf_fonts
Update tcpdf_fonts.php
2018-02-19 14:17:24 +00:00
Nicola Asuni
486eca5348
Merge pull request #76 from westhouseit/westhouseit-patch-2
Fix Undesired mouseover effect on links
2018-02-19 14:15:09 +00:00
Nicola Asuni
865cd727fc
Merge pull request #78 from char101/patch-1
write1DBarcode: fix default parameter type for $style
2018-02-19 14:14:25 +00:00