593 Commits

Author SHA1 Message Date
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
nicolaasuni
5ec5211b82 Update sRGB.icc with the one from the Debian package icc-profiles-free 2018-10-16 18:17:17 +01:00
nicolaasuni
a5135e2cf0 Fix support for image URLs 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
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. 2018-09-14 16:26:29 +01:00
nicolaasuni
a3273af312 Remove typo comment 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. 2018-09-14 14:28:55 +01:00
nicolaasuni
b32e75e1ec Bump version 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
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
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
5ecc348571
Merge pull request #66 from siturra/patch-1
refactoring write2DBarcode() in tcpdf
2018-02-19 14:20:58 +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
Nicola Asuni
505a521c30
Merge pull request #80 from NikkiDelRosso/master
Handle side padding correctly on writeHTML
2018-02-19 14:13:15 +00:00
Nikki DelRosso
749018f44d
Handle side padding correctly on writeHTML
Previously, right and left padding for HTML content were always equal on PDF, regardless of actual setting.
2017-12-11 11:22:32 -07:00
Charles
5867bd5fb0
write1DBarcode: fix default parameter type for $style 2017-11-23 13:53:28 +07:00
westhouseit
a0a73ee8e9 Fix Undesired mouseover effect on links
Credit to: 48e55aa595
2017-10-16 21:53:12 +01:00
Emiel Molenaar
4874651178 Refactor deprecated each() calls to foreach() 2017-09-21 12:10:50 +02:00
csears123
dc6b90d65b "Non well formed numeric value" error occurs in PHP 7
The $size variable in the SetFontSize function is supposed to be a float type, but a string can be passed in like "14px" causing an error in PHP 7.  Re-casting the variable is a simple solution to fix the variable type if it was incorrectly passed in.
2017-08-02 09:50:11 -06:00
Sebastián Iturra Valdés
6dfdc2d0d6 refactoring write2DBarcode() in tcpdf
Function write2DBarcode() have problem in 7.1.6, with this fix run in PHP 5 Upwards.

http://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration.types
2017-07-11 16:19:19 -04:00
westhouseit
071769775a Fix for Notice -> Undefined index: F0
Notice happens when using a numberless TOC and breaks local testing.
2017-05-22 21:12:10 +01:00
Nicola Asuni
bcba1088b0 Merge pull request #52 from opichon/multicell-border
fixed border in multicell printing across columns
2017-04-26 09:14:02 +01:00
Nicola Asuni
61d7805740 Merge pull request #48 from albertocubeddu/master
Check if the string is not empty
2017-04-26 09:12:32 +01:00
Alex Bogdanov
751d6c97fe Set back link to empty array as initiated. Illegal string offset warning otherwise. 2017-03-27 13:39:48 +02:00
Olivier Pichon
f5e7bfeb89 fixed border in multicell printing across columns 2017-01-21 15:37:43 +07:00
alberto
2326b09ed6 Check if the string is not empty 2016-11-28 17:25:04 +11:00
nicolaasuni
009f2304c3 last v6 version 2016-06-10 18:46:02 +01:00
nicolaasuni
2f732eaa91 6.2.12 (2015-09-12)
- fix composer package name to tecnickcom/tcpdf
2015-09-12 11:08:34 +01:00
nicolaasuni
354433a339 6.2.11 (2015-08-02)
- Bug #1070 "PNG regression in 6.2.9 (they appear as their alpha channel)" was fixed.
- Bug #1069 "Encoded SRC URLs in <img> tags don't work anymore" was fixed.
2015-08-02 13:30:27 +01:00
nicolaasuni
25394f75d6 6.2.10 (2015-07-28)
- Minor mod to PNG parsing.
- Make dependency on mcrypt optional.
2015-07-28 16:28:45 +01:00
nicolaasuni
fa6ab8a1e1 6.2.9 (2015-06-18)
-
2015-06-18 10:12:38 +01:00
nicolaasuni
3dee9e7f3a 6.2.8 (2015-04-29)
- Removed unwanted file.
2015-04-29 17:13:58 +01:00
nicolaasuni
8eb1adde16 6.2.7 (2015-04-28)
- Merged PR 17: Avoid warning when iterating a non-array variable.
- Merged PR 16: Improve MuliCell param definition.
- Improved column check (PR 15).
- Merged PR 11: Use stream_is_local instead of limit to file://.
- Merged PR 10: ImageMagick link on README.txt.
2015-04-28 20:51:18 +01:00
nicolaasuni
a2e8f5b505 6.2.6 (2015-01-28)
- Bug #1008 "UTC offset sing breaks PDF/A-1b compliance" was fixed.
2015-01-28 18:51:40 +00:00