From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Wed, 16 Oct 2013 14:32:08 -0400
Subject: Adapt fonts path
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

This directory must be writable, so it’s moved to /var/cache/.
---
 dompdf_config.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dompdf_config.inc.php b/dompdf_config.inc.php
index a6593ee..2bef44a 100644
--- a/dompdf_config.inc.php
+++ b/dompdf_config.inc.php
@@ -91,7 +91,7 @@ def("DOMPDF_FONT_DIR", DOMPDF_DIR . "/lib/fonts/");
  * 
  * Note: This directory must exist and be writable by the webserver process.
  */
-def("DOMPDF_FONT_CACHE", DOMPDF_FONT_DIR);
+def("DOMPDF_FONT_CACHE", "/var/cache/php-dompdf/fonts/");
 
 /**
  * The location of a temporary directory.
