Fran Moreno
f5b45b99f6
Fix cell_height_ratio type ( #405 )
...
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-12-28 11:53:02 +00:00
William Desportes
f59c2b8449
Update CHANGELOG ( #400 )
2021-12-28 11:52:37 +00:00
Jay Davis
f1a29a1a73
Leave &NBSP; lowercase when using text-transform ( #403 )
...
When using text-transform: uppercase, convert "&NBSP;" back to lowercase " " so that it is recognized as a space by Adobe Acrobat rather than printing out "&NBSP;"
2021-12-28 11:47:59 +00:00
nicolaasuni
172540dcbf
Bump version
6.4.2
2021-07-20 15:43:20 +01:00
Michael Voříšek
c4c3e054f3
Remove "U" modifier from regexes ( #359 )
...
* Revert "Optimized regular expression (#268 )"
This reverts commit f0e42daeaef04c89c903d3c270edc580024221ea.
* do not use U regex modifier
* fix #267
2021-07-20 15:25:58 +01:00
Simon Stücher
bf02c1cb62
Fix type hints ( #399 )
...
* Fix type hints
* More accurate type hint
Co-authored-by: William Desportes <williamdes@wdes.fr>
* document void return
* document void return
* Update include/tcpdf_fonts.php
Co-authored-by: William Desportes <williamdes@wdes.fr>
* Fix type hints
Co-authored-by: William Desportes <williamdes@wdes.fr>
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-07-20 15:25:22 +01:00
Markus Staab
5d48d1a0f0
removed status.txt from font directories, because of filesize ( #388 )
...
* Delete status.txt
* Delete status.txt
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-07-20 15:24:11 +01:00
Maurício Meneghini Fauth
ea9e1c4145
Fix implicit conversion from float to int ( #387 )
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-07-20 15:23:33 +01:00
William Desportes
150e756428
Add a new example with composer & fix CI ( #356 )
...
* Add a new example with composer
* Fix PHP 5.x failing testsuite setup
* Update .gitignore
Co-authored-by: Michael Voříšek <mvorisek@mvorisek.cz>
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-07-10 08:32:18 +01:00
Chris Seufert
5bc5d01ae0
Allows transparency in PDF/A-2 and PDF/A-3 ( #386 )
2021-07-10 08:19:23 +01:00
Michael Voříšek
da72d4964d
Normalize composer.json CS ( #360 )
...
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-07-10 08:11:07 +01:00
Matthias Vogel
366b550a96
fix docblock annotation typo ( #365 )
...
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-07-10 08:09:53 +01:00
zymurgic
7ecf638b13
fix warnings for undefined tags for $lineStyle ( #378 )
...
Under PHP8, this generated warnings. If a tag is not set, it would throw a warning. Because the downstream usage of the $lineStyle can handle undefined entries, it's safe to leave them unset here.
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-07-10 08:06:38 +01:00
Paul Holden
7f650ee925
Increase internal version number to 6.4.1. ( #366 )
...
Fixes #357 .
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-07-10 08:05:58 +01:00
sakarikl
c58fe0c63a
fix color being filled to type 0 with php8 ( #389 )
2021-07-10 08:02:30 +01:00
Nagy Imre
2dfe16d413
Update tcpdf.php version info ( #390 )
...
Update tcpdf.php version info
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-07-10 07:45:09 +01:00
Niklas
6cb2475ef4
Fix docblock spelliong error ( #392 )
2021-07-10 07:43:47 +01:00
Martin Vobruba
cf8a66c8ec
Remove pointless assignments ( #361 )
2021-04-06 16:35:45 +01:00
William Desportes
c979d00f60
PHP error fixes and final phpdoc fixes ( #348 )
...
* Fix a PHP array offset error
* Fix PHP 8.1 type error with TCPDF_STATIC::pregSplit on preg_split
* More phpdoc blocks fixes
* Add CHANGELOG entries
* Update file descriptions for barcode examples
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-04-02 12:45:14 +01:00
William Desportes
989a00f330
Add a CI for docs and running examples + (generating coverage !!) ( #349 )
...
* Add lint docs workflow and a testing workflow
* Add scripts to run tests on examples
* Add Doctum config
* Adjust examples source detection
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-04-02 12:43:30 +01:00
Thorsten Rinne
be4514d896
fix: corrected year of release dates ( #351 )
2021-04-02 12:39:35 +01:00
William Desportes
206a131d72
Drop a PHP 4 polyfill and add a .gitattributes file ( #346 )
...
* Drop PHP 4 polyfill for str_split
* Add a .gitattributes file
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-03-28 11:59:03 +01:00
William Desportes
4f1d629d24
Fix all phpdoc blocks ( #345 )
...
* Add a @since on a function
* Refresh phpdoc blocks
Using `@param (\$[a-zA-Z0-9_]+)\s\(([a-z]+)\)`
* Fix phpdoc blocks
* Fix typos and phpdoc mistakes
* More phpdoc block fixes
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-03-28 11:55:50 +01:00
William Desportes
03629b7c4e
Add missing CHANGELOG entries ( #344 )
2021-03-28 11:55:09 +01:00
nicolaasuni
5ba838befd
Update version
6.4.1
2021-03-27 16:00:33 +00:00
nicolaasuni
7a666c317c
Bump version
6.4.0
2021-03-27 09:20:31 +00:00
Roy Van Ginneken
869ab2651b
Fix image file type for urls with query params ( #287 )
...
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-03-27 09:17:09 +00:00
Nicola Asuni
0fb31c9ddd
Complex gmbh file proto main ( #342 )
...
* Allow enabling local file:// protocol
the option is disabled for security reasons by default, since it might be exploited, when a PDF is generated based on HTML provided by the enduser.
* Update tcpdf.php
Co-authored-by: William Desportes <williamdes@wdes.fr>
* Update tcpdf.php
Co-authored-by: William Desportes <williamdes@wdes.fr>
* fix whitespaces
Co-authored-by: Markus Staab <m.staab@complex-it.de>
Co-authored-by: Markus Staab <47448731+clxmstaab@users.noreply.github.com>
Co-authored-by: William Desportes <williamdes@wdes.fr>
2021-03-27 09:13:54 +00:00
mtreuberg
978eb8c824
check if file exists before calling unlink ( #327 )
...
* check if file exists before calling unlink
file_exists has a known vulnerability.
Replacing with the internal one.
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-03-27 09:08:05 +00:00
nicolaasuni
14fd6779f3
Revert "temporary files never deleted ( #263 )"
...
This reverts commit 7edddd21167870f65ff3f8eba772dfc165de461f.
2021-03-27 09:00:42 +00:00
Dario B
7edddd2116
temporary files never deleted ( #263 )
...
When creating PNG files, temporary file are not removed (search for __tcpdf_* in your temp directory). After this changes temp directory never has temporary files created by tcpdf
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-03-27 08:56:08 +00:00
Christoph Flathmann
b34328ae87
allow styles on <HR> tags ( #250 )
...
* allow styles on <HR> tags
* filter lineStyles before adding
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-03-27 08:48:54 +00:00
Florian Mortgat
e17b28015d
Fix vulnerability to roman numeral bombs ( #315 )
...
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-03-27 08:47:48 +00:00
Alexander Rakushin
f0e42daeae
Optimized regular expression ( #268 )
...
Fix: Empty result for big reports with writeHTML()
2021-03-27 08:45:34 +00:00
Teemu Koskinen
da030d11b7
Second parameter of TCPDF::cell() must be a number ( #283 )
...
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-03-27 08:44:38 +00:00
Roy Van Ginneken
c29df4acb4
Make sure parser follows the correct scope and gets unset ( #286 )
...
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-03-27 08:43:35 +00:00
Baptiste Pillot
f9046e0e2e
FIX SVGPath should accept 1.19.30 (equiv 1.19,.30) compacted values list ( #297 )
...
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
2021-03-27 08:42:23 +00:00
Nicola Asuni
f37a6610d6
Merge pull request #278 from brainfoolong/mb_encoding_change
...
removed mb_internal_encoding as it is useless
2021-03-27 08:41:34 +00:00
Nicola Asuni
60ed532e5d
Merge branch 'main' into mb_encoding_change
2021-03-27 08:41:26 +00:00
Nicola Asuni
843235b4d6
Merge pull request #288 from rvanginneken/fix-duplicate-file-retrieval
...
Fix duplicate file retrieval
2021-03-27 08:40:41 +00:00
Nicola Asuni
80decf0234
Merge branch 'main' into fix-duplicate-file-retrieval
2021-03-27 08:40:34 +00:00
Nicola Asuni
e0a7a053aa
Merge pull request #280 from Jakuje/rollback
...
Remove file_id from the cloned object before destruction
2021-03-27 08:39:18 +00:00
Nicola Asuni
26abef749a
Merge branch 'main' into rollback
2021-03-27 08:39:10 +00:00
Nicola Asuni
f930ac7cea
Merge pull request #319 from Ayesh/curl-hardening
...
Curl Security: Limit protocols and redirects
2021-03-27 08:36:19 +00:00
Nicola Asuni
76864e25f5
Merge branch 'main' into curl-hardening
2021-03-27 08:36:10 +00:00
Nicola Asuni
2a1241bfc5
Merge pull request #341 from dionisvl/main
...
Fixed large count of notices
2021-03-27 08:35:33 +00:00
Nicola Asuni
3894e0563f
Merge branch 'main' into main
2021-03-27 08:35:27 +00:00
Nicola Asuni
b9b011916b
Merge pull request #330 from DISPI-dev/dispi
...
General fixes and PHP 8 deprecation fixes
2021-03-27 08:34:19 +00:00
Nicola Asuni
d943b38655
Merge branch 'main' into dispi
2021-03-27 08:33:52 +00:00
nicolaasuni
a9525646a1
Merge branch 'main' of github.com:tecnickcom/TCPDF into main
2021-03-27 08:32:34 +00:00