diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-26 21:58:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-26 21:58:12 +0100 |
commit | d76b6613e545057331e9273ddd21e68d28d9e402 (patch) | |
tree | 2823b704acff0caa2bf185b4e4b38c95731cba39 /dev-php/jpgraph/files | |
parent | f6fd15e0418aea97c7ee77672468561cdac302e5 (diff) |
gentoo auto-resync : 26:08:2023 - 21:58:11
Diffstat (limited to 'dev-php/jpgraph/files')
-rw-r--r-- | dev-php/jpgraph/files/gentoo_ttf_dir.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/dev-php/jpgraph/files/gentoo_ttf_dir.patch b/dev-php/jpgraph/files/gentoo_ttf_dir.patch deleted file mode 100644 index a10479b3f673..000000000000 --- a/dev-php/jpgraph/files/gentoo_ttf_dir.patch +++ /dev/null @@ -1,31 +0,0 @@ -From fd1fc5e3c72ac4511f86852b1704821c440bdb3d Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Tue, 3 Jan 2017 12:56:18 -0500 -Subject: [PATCH 1/1] Set TTF_DIR to the Gentoo corefonts location. - -The default value of TTF_DIR in jpg-config.inc.php points to -/usr/share/fonts/truetype, a location that does not exist on -Gentoo. Since JpGraph largely only supports the Microsoft -corefonts, we point it to /usr/share/fonts/corefonts instead. -If the user does not have the corefonts installed, this is no -great loss: neither location exists. ---- - src/jpg-config.inc.php | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/jpg-config.inc.php b/src/jpg-config.inc.php -index ea16c1e..98cbdc7 100755 ---- a/src/jpg-config.inc.php -+++ b/src/jpg-config.inc.php -@@ -36,7 +36,7 @@ - // - //------------------------------------------------------------------------ - // define('CACHE_DIR','/tmp/jpgraph_cache/'); --// define('TTF_DIR','/usr/share/fonts/TrueType/'); -+define('TTF_DIR','/usr/share/fonts/corefonts/'); - // define('MBTTF_DIR','/usr/share/fonts/TrueType/'); - - //------------------------------------------------------------------------- --- -2.10.2 - |