mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00

This corresponds to https://github.com/tecnickcom/TCPDF/pull/174 (and was fixed bycommit 510070b) and was a regression causing image files to be removed unconditionally. Only if the images are from cache, they can be removed. It's fixed upstream in version 6.3.4 and up.
86 lines
3.1 KiB
Text
86 lines
3.1 KiB
Text
Description of TCPDF library import 6.3.2
|
|
==========================================
|
|
* download library from https://github.com/tecnickcom/TCPDF/releases
|
|
* delete examples/, tools/ VERSION and tcpdf_import.php
|
|
* remove tcpdf_import.php from composer.json
|
|
* remove all fonts that were not already present
|
|
* Re-apply the following commits if they are not included in the upstream version imported:
|
|
(and remove them from here once they are verified to be part of the upstream library)
|
|
* 18dabac - https://git.io/JeKfU
|
|
* 60c9db7 - https://git.io/JeKfT
|
|
* 1adcd76 - https://git.io/JeKft
|
|
* 5e4d999 - https://git.io/JvrxB
|
|
* visit http://127.0.0.1/lib/tests/other/pdflibtestpage.php and view the pdf
|
|
|
|
Important
|
|
---------
|
|
A new version of the libray is being developed @ https://github.com/tecnickcom/tc-lib-pdf . Check periodically when it's ready
|
|
and if it's a drop-in replacement for the legacy tcpdf one.
|
|
|
|
2019/10/20
|
|
----------
|
|
Upgrade to tcpdf TCPDF 6.3.2 (MDL-66966)
|
|
by Eloy Lafuente <stronk7@moodle.org>
|
|
|
|
2019/05/06
|
|
----------
|
|
Upgrade to tcpdf TCPDF 6.2.26 (MDL-64794)
|
|
by Eloy Lafuente <stronk7@moodle.org>
|
|
|
|
- https://github.com/tecnickcom/TCPDF/pull/74 has been already merged upstream (6.2.16 and up), so we don't need to apply it.
|
|
- https://github.com/tecnickcom/TCPDF/pull/91 has been already merged upstream (6.2.19 and up), so we don't need to apply it.
|
|
|
|
2017/10/02
|
|
----------
|
|
Upgrade to tcpdf_php5 TCPDF 6.2.13 (MDL-60237)
|
|
by Marina Glancy <marina@moodle.com>
|
|
|
|
* replaced the calls to function each() deprecated in PHP7.2
|
|
|
|
2015/09/29
|
|
----------
|
|
Upgrade to tcpdf_php5 TCPDF 6.2.12 (MDL-51534)
|
|
by Jun Pataleta <jun@moodle.com>
|
|
|
|
2015/03/23
|
|
----------
|
|
Upgrade to tcpdf_php5 TCPDF 6.2.6 (MDL-49522)
|
|
by Adrian Greeve <adrian@moodle.com>
|
|
|
|
2011/10/29
|
|
----------
|
|
Upgrade to tcpdf_php5 TCPDF 5.9.133 (MDL-29283)
|
|
by Petr Skoda
|
|
|
|
2009/11/19
|
|
----------
|
|
Upgrade to tcpdf_php5 TCPDF 4.8.014 (MDL-20888)
|
|
by David Mudrak <david.mudrak@gmail.com>
|
|
|
|
2009/07/20
|
|
----------
|
|
Upgrade to tcpdf_php5 TCPDF 4.6.020 (MDL-19876)
|
|
by David Mudrak <david.mudrak@gmail.com>
|
|
|
|
* deleted cache/ doc/ examples/ config/tcpdf_config_alt.php config/lang/ images/
|
|
* removed all fonts but the core ones (courier.php, helveticabi.php,
|
|
helveticab.php, helveticai.php, helvetica.php, symbol.php, timesbi.php,
|
|
timesb.php, timesi.php, times.php, zapfdingbats.php) and FreeFont
|
|
* FreeFont chosen as a default utf8 font distributed by default, all others will
|
|
be downloadable from moodle.org via new UI
|
|
* removed font/utils/
|
|
* moving configuration to the lib/pdflib.php wrapper so we do not need to modify
|
|
TCPDF at all. Credit to Chardelle Busch for this solution in MDL-17179
|
|
|
|
2008/07/29
|
|
----------
|
|
Upgrade to tcpdf_php5 TCPDF 4.0.015 (MDL-15055)
|
|
by David Mudrak <david.mudrak@gmail.com>
|
|
|
|
* deleted cache/ doc/ examples/
|
|
* modified config/tcpdf_config.php
|
|
Default values for K_PATH_MAIN and K_PATH_URL are automatically set for
|
|
the Moodle installation. K_PATH_CACHE set to Moodle datadir cache.
|
|
K_PATH_URL_CACHE can't be mapped in Moodle as datadir should not be
|
|
accessible directly. However, it doesn't seem to be used within the
|
|
library code.
|