139 Commits

Author SHA1 Message Date
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
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
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 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 2018-09-23 08:52:24 +01:00
nicolaasuni
aee50eb2bf Support remote files in file_exists 2018-09-22 12:50:04 +01:00
nicolaasuni
98799ea173 Simplify file_exists function 2018-09-22 10:37:08 +01: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
nicolaasuni
e6285db003 Bump version 2018-09-14 12:56:15 +01:00
nicolaasuni
64fc194398 Bump version 2018-02-24 11:48:20 +00:00
nicolaasuni
3527098537 Bump version 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
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
7e88955807
Merge pull request #65 from berlinquin/master
Reverse order of operations in getErrorCorrectionLevel
2018-02-19 14:21:42 +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
618efe390b
Update tcpdf_static.php 2018-02-19 14:10:48 +00:00
Rafael Garcia
d8e86f7136 Update tcpdf_fonts.php
#813 Undefined offset: 32766

I get that bug when i import that font: http://www.dafont.com/es/accidental-presiden.font

https://sourceforge.net/p/tcpdf/bugs/813/
2017-08-28 12:44:08 +02:00
berlinquin
05731a11d2 Reverse order of operations in getErrorCorrectionLevel 2017-06-24 16:12:41 -06:00
Taco van den Broek
3a1950ba8a Add url as an alternative path instead of returning directly
When TCPDF_STATIC::fileGetContents is called with a relative
path while $_SERVER['SCRIPT_URI'] is set, this method _always_
used the web-url to retrieve the contents.
2017-06-14 16:23:31 +02: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
nicolaasuni
da2fe93594 6.2.5 (2015-01-24)
- Bug #1019 " in static context" was fixed.
- Bug #1015 "Infinite loop in getIndirectObject method of parser" was fixed.
2015-01-24 09:41:10 +00:00
nicolaasuni
ba2afad72c 6.2.4 (2015-01-08)
- fix warning related to empty K_PATH_URL.
- fix error when a  key is not set.
2015-01-08 18:35:22 +00:00
nicolaasuni
d7071cbf26 6.2.3 (2014-12-18)
- New comment.
- Moved the K_PATH_IMAGES definition in tcpdf_autoconfig.
2014-12-18 13:36:04 +00:00
nicolaasuni
47e8e3e0d1 6.2.2 (2014-12-18)
- Fixed mispelled words.
- Fixed version number.
2014-12-18 13:26:15 +00:00
nicolaasuni
40662daa76 6.2.0 (2014-12-10)
- Bug #1005 "Security Report, LFI posting internal files externally abusing default parameter" was fixed.
- Static methods serializeTCPDFtagParameters() and unserializeTCPDFtagParameters() were moved as non static to the main TCPDF class (see changes in example n. 49).
- Deprecated methods were removed, please use the equivalents defined in other classes (i.e. TCPDF_STATIC and TCPDF_FONTS).
- The constant K_TCPDF_CALLS_IN_HTML is now set by default to FALSE.
- DLE, DLX and DLP page format was added.
- Page format are now defined as a public property in TCPDF_STATIC.
2014-12-10 18:53:49 +00:00
nicolaasuni
3d5921442e 6.1.0 (2014-12-07)
- The method TCPDF_STATIC::getRandomSeed() was improved.
2014-12-09 08:05:14 +00:00
nicolaasuni
95960170a2 6.1.0 (2014-12-07)
- The method TCPDF_STATIC::getRandomSeed() was improved.
- The disk caching feature was removed.
- Bug #1003 "Backslashes become duplicated in table, using WriteHTML" was fixed.
- Bug #1002 "SVG radialGradient within non-square Rect" was fixed.
2014-12-07 13:10:45 +00:00
nicolaasuni
75e7ad3945 6.0.099 (2014-11-15)
- Added basic support for nested SVG images (adapted PR from SamMousa).
- A bug related to setGDImageTransparency() was fixed (thanks to Maarten Boerema).
2014-11-15 12:35:49 +00:00
nicolaasuni
de89c0d7fd 6.0.098 (2014-11-08)
- Bug item #996 "getCharBBox() returns incorrect results for TTF glyphs without outlines" was fixed.
- Bug item #991 "Text problem with SVG" was fixed (only the font style part).
2014-11-08 11:12:39 +00:00
nicolaasuni
73b436e180 6.0.097 (2014-10-20)
- Bug item #988 "hyphenateText - charmin parameter not work" was fixed.
2014-10-20 21:02:38 +01:00
nicolaasuni
ff87991642 6.0.096 (2014-10-06)
- Bug item #982 "Display style is not inherited in SVG" was fixed.
- Bug item #984 "Double quote url in CSS" was fixed.
2014-10-06 18:50:43 +01:00
nicolaasuni
4c66489b8b 6.0.095 (2014-10-02)
- Bug item #979 "New Timezone option overwriting current timezone" was fixed.
2014-10-02 17:33:03 +01:00
nicolaasuni
89d007897e 6.0.094 (2014-09-30)
- Bug item #978 "Variable Undefined: " was fixed.
2014-09-30 18:01:15 +01:00
nicolaasuni
8ec040b3cc 6.0.093 (2014-09-02)
- Security fix: some serialize/unserialize methods were replaced with json_encode/json_decode to avoid a potential object injection with user supplied content. Thanks to ownCloud Inc. for reporting this issue.
- K_TIMEZONE constant was added to the default configuration to supress date-time warnings.
2014-09-02 20:31:33 +01:00
nicolaasuni
8debbff6b4 6.0.092 (2014-09-01)
- Bug item #956 "Monospaced fonts are not alignd at the baseline" was fixed.
- Bug item #964 "Problem when changing font size" was fixed.
- Bug item #969 "ImageSVG with radialGradient problem" was fixed.
- sRGB.icc file was replaced with the one from the Debian package icc-profiles-free (2.0.1+dfsg-1)
2014-09-01 21:14:37 +01:00
nicolaasuni
5252fd2e96 6.0.091 (2014-08-13)
- Issue #325"Division by zero when css fontsize equals 0" was fixed.
2014-08-13 17:57:25 +01:00