diff --git a/dev/dolibarr_changes.txt b/dev/dolibarr_changes.txt
index 0eb1163629511a937207c275df4fd3614a387493..5bf1664f695b2e9764df5c0ac1da89776302eca2 100644
--- a/dev/dolibarr_changes.txt
+++ b/dev/dolibarr_changes.txt
@@ -30,7 +30,7 @@ public function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false, $ln=
 by
 public function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false, $ln=1, $x='', $y='', $reseth=true, $stretch=0, $ishtml=false, $autopadding=false, $maxh=0, $valign='T', $fitcell=false) {
 
-* Removed all fonts except dejavu* (greek, arab, persan, romanian, turkish), freemono* (russian), stsongstdlight* (chinese), helvetica* (all other) and useless directories (fonts/utils, docs, cache, images)
+* Removed all fonts except dejavu* (used by greek, arab, persan, romanian, turkish), freemono* (russian), stsongstdlight* (chinese), helvetica* (all other) and useless directories (fonts/utils, docs, cache, images)
 
 * Replace in tcpdf_config.php
 define ('K_PATH_CACHE', K_PATH_MAIN.'cache/');
diff --git a/htdocs/includes/tcpdf/config/tcpdf_config.php b/htdocs/includes/tcpdf/config/tcpdf_config.php
index e3b3e4a5f8e75a6add57f371976bb680748e8a18..2396ea7e26036e8d3eb7545b81303bd845267f3e 100644
--- a/htdocs/includes/tcpdf/config/tcpdf_config.php
+++ b/htdocs/includes/tcpdf/config/tcpdf_config.php
@@ -91,12 +91,16 @@ if (!defined('K_TCPDF_EXTERNAL_CONFIG')) {
 	/**
 	 * cache directory for temporary files (full path)
 	 */
-	define ('K_PATH_CACHE', K_PATH_MAIN.'cache/');
+//	define ('K_PATH_CACHE', K_PATH_MAIN.'cache/');
+	define ('K_PATH_CACHE', DOL_DATA_ROOT.'/admin/temp/');
+	dol_mkdir(K_PATH_CACHE);
 
 	/**
 	 * cache directory for temporary files (url path)
 	 */
-	define ('K_PATH_URL_CACHE', K_PATH_URL.'cache/');
+//	define ('K_PATH_URL_CACHE', K_PATH_URL.'cache/');
+    define ('K_PATH_URL_CACHE', DOL_DATA_ROOT.'/admin/temp/');
+    dol_mkdir(K_PATH_URL_CACHE);
 
 	/**
 	 *images directory