-
Bug
-
Resolution: Fixed
-
Minor
-
2.6.3, 2.6.4, 2.6.5, 2.7, 2.7.1, 2.7.2
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
wip_
MDL-47333_m28_fonts -
-
When the tcpdf library was last upgraded, in MDL-40107, it introduced a bug that prevents the default font folder from being replaced by a fonts folder in dataroot. This prevents using custom / additional fonts in custom certificate types (unless you place the font files in lib/tcpdf/fonts).
pdflib.php defines the pdf class which overides the TCPDF class. Support for custom font folders is introduce by overiding the _getfontpath() member function. However in the new version of TCPDF this function has been moved into a new class TCPDF_FONTS causing the Moodle version of _getfontpath() to no longer be called.
I haven't confirmed that Moodle 2.5 works. But I had M22, M26, and M27 test sites that I tested the bug against. M22 worked, but M26 and M27 sites were both broken.
- is a regression caused by
-
MDL-40107 Upgrade TCPDF to tcpdf_6_0_031
- Closed