From 66f9148721d55910598ea626ac28c6f2f6d6dcb9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 11 Sep 2005 13:32:20 +0000 Subject: [PATCH] - use system vera fonts Changed files: egroupware-ttfdir.patch -> 1.1 --- egroupware-ttfdir.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 egroupware-ttfdir.patch diff --git a/egroupware-ttfdir.patch b/egroupware-ttfdir.patch new file mode 100644 index 0000000..8b92c22 --- /dev/null +++ b/egroupware-ttfdir.patch @@ -0,0 +1,21 @@ +--- ./projects/inc/class.bostatistics.inc.php 2004-11-06 14:15:28.000000000 +0200 ++++ /tmp/class.bostatistics.inc.php 2005-09-11 16:21:20.000000000 +0300 +@@ -142,7 +142,7 @@ + if(!function_exists('imagecopyresampled')) + return false; + +- DEFINE("TTF_DIR",PHPGW_SERVER_ROOT."/projects/ttf-bitstream-vera-1.10/"); ++ DEFINE("TTF_DIR","/usr/share/fonts/TTF/"); + if(file_exists(PHPGW_SERVER_ROOT . '/../jpgraph/src/jpgraph.php')) + { + include(PHPGW_SERVER_ROOT . '/../jpgraph/src/jpgraph.php'); +--- ./projects/inc/jpgraph-1.5.2/src/jpgraph_dir.php 2004-06-01 13:38:37.000000000 +0300 ++++ /tmp/jpgraph_dir.php 2005-09-11 16:21:20.000000000 +0300 +@@ -26,6 +26,6 @@ + + // Directory for TTF fonts. Must end with '/' + #DEFINE("TTF_DIR","/usr/local/fonts/ttf/"); +-DEFINE("TTF_DIR",PHPGW_SERVER_ROOT."/projects/ttf-bitstream-vera-1.10/"); ++DEFINE("TTF_DIR","/usr/share/fonts/TTF/"); + + ?> -- 2.43.0