Nicola Asuni
97c0e35a7a
Merge branch 'master' into patch-1
2020-02-12 10:50:50 +00:00
Nicola Asuni
59be217aa0
Merge branch 'master' into patch-1
2020-02-12 10:49:03 +00:00
gpenverne
9c75c9c7d2
handle integers for pages
2020-01-28 10:08:38 +01:00
LDAV
3575fa5f1b
Fix php7.4 error
...
PHP message: PHP Notice: Trying to access array offset on value of type int in /vendor/tecnickcom/tcpdf/tcpdf.php on line 12385
2020-01-08 15:27:06 +01:00
Greg Roach
0c73a9c580
PHP 7.4 - cannot use array offset on integers
...
PHP 7.3 casts integers to strings.
PHP 7.4 throws the error `Trying to access array offset on value of type int`
2019-09-20 23:40:22 +01:00
nicolaasuni
9fde7bb9b4
Update ICC profile
2019-09-20 10:35:01 +01:00
nicolaasuni
898eba141c
Bump version
2019-09-20 07:48:57 +01:00
Remi Collet
b86d1ea34a
fix Undefined property: GLPIPDF::$imagekeys
2019-09-19 13:15:29 +02:00
nicolaasuni
aff6e6a99a
Fix typos
2019-09-19 10:51:10 +01:00
nicolaasuni
e52ee540ee
Merge branch 'master' of github.com:tecnickcom/TCPDF
2019-09-19 10:41:29 +01:00
nicolaasuni
b41a5ca311
new setExtraXMPRDF function to set custom RDF XMP data
2019-09-19 10:41:12 +01:00
Nicola Asuni
87bd366fcc
Merge pull request #107 from Jakuje/patch-1
...
Fix the documentation how to calculate the cell height
2019-09-19 10:40:27 +01:00
Nicola Asuni
b00a4ed46c
Merge pull request #115 from defrance/patch-1
...
Introduce other version of pdfA (2 and 3)
2019-09-19 10:19:44 +01:00
Nicola Asuni
2b5fca36b2
Merge pull request #116 from Tofandel/patch-1
...
Fix performance issue of cloned instances
2019-09-19 10:14:32 +01:00
Nicola Asuni
149752e5fc
Merge pull request #117 from freddieleeman/patch-1
...
URI in PDF can result in E_NOTICE
2019-09-19 10:12:08 +01:00
Nicola Asuni
a8269f895d
Merge pull request #123 from jfcherng/fix-php74-type-warning
...
Fix a warning for PHP 7.4
2019-09-19 10:07:52 +01:00
Nicola Asuni
8d5e30ddf3
Merge pull request #124 from goat1000/master
...
Fixed gradient offsets for percentage-based stops.
2019-09-19 10:03:56 +01:00
Remi Collet
b0948269a6
Fix Array and string offset access syntax with curly braces is deprecated
2019-09-13 11:13:56 +02:00
goat1000
2db423fe7b
Fixed gradient offsets for percentage-based stops.
2019-07-12 08:23:37 +01:00
Jack Cherng
34eb0dff48
Fix a warning for PHP 7.4
...
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
2019-06-05 09:07:04 +08:00
Freddie Leeman
b5e0ca406f
URI in PDF can result in E_NOTICE
...
Generating a PDF file with a hyperlink like "tel:12345" results in an error: "Errstr: Undefined index: path" due to the fact that parse_url should only be used for URL not URI.
SOURCE: https://www.php.net/manual/en/function.parse-url.php
"This function is intended specifically for the purpose of parsing URLs and not URIs."
This fix does not prevent parsing the link but checks if the parsed result contains a 'path'. If it does not than the rest of the if statement is ignored and no error is generated.
2019-04-04 13:43:49 +02:00
Adrien Foulon
de0ae1af61
Also change glob to readdir which performs better
2019-03-22 13:13:31 +01:00
Adrien Foulon
e91887e463
Fix performance issue of cloned instances
...
I noted a performance issue using TCPDF when doing a lot of clones of the instance, it's caused by the destructor being called multiple times to cleanup things that already have been cleaned
This checks if the files have already been cleaned before redoing an expensive filesystem operation again (glob)
2019-03-22 12:53:16 +01:00
BENKE Charlene
1a7dcb7167
Update tcpdf.php
2019-03-13 17:06:06 +01:00
BENKE Charlene
71bc8786de
Add UF and AFRelationship missing
2019-03-13 16:54:13 +01:00
BENKE Charlene
aa485f78ff
Introduce other version of pdfA (2 and 3)
...
pdfa_mode is false or the number version (1, 2 or 3)
Need it for factur-X generation (pdfa/3)
2019-03-12 11:15:49 +01:00
Jakub Jelen
32fdbecd56
Drop duplicated array indices
2018-12-17 22:48:16 +01:00
Jakub Jelen
36dc955984
Fix the documentation how to calculate the cell height
2018-12-12 00:58:05 +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
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