From: <var...@us...> - 2021-06-22 15:27:05
|
Revision: 10314 http://sourceforge.net/p/phpwiki/code/10314 Author: vargenau Date: 2021-06-22 15:27:04 +0000 (Tue, 22 Jun 2021) Log Message: ----------- lib/plugin/GraphViz.php: remove phpwiki.sourceforge.net and fontpath Modified Paths: -------------- trunk/lib/plugin/GraphViz.php Modified: trunk/lib/plugin/GraphViz.php =================================================================== --- trunk/lib/plugin/GraphViz.php 2021-06-22 13:21:55 UTC (rev 10313) +++ trunk/lib/plugin/GraphViz.php 2021-06-22 15:27:04 UTC (rev 10314) @@ -43,19 +43,11 @@ // Name of the Truetypefont - at least LucidaSansRegular.ttf is always present on OS X if (!defined('VISUALWIKIFONT')) define('VISUALWIKIFONT', 'LucidaSansRegular'); - // The default font paths do not find your fonts, set the path here: - $fontpath = "/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/fonts/"; - //$fontpath = "/usr/X11R6/lib/X11/fonts/TTF/"; } elseif (isWindows()) { if (!defined("GRAPHVIZ_EXE")) define('GRAPHVIZ_EXE', 'dot.exe'); if (!defined('VISUALWIKIFONT')) define('VISUALWIKIFONT', 'Arial'); -} elseif ($_SERVER["SERVER_NAME"] == 'phpwiki.sourceforge.net') { // sf.net hack - if (!defined("GRAPHVIZ_EXE")) - define('GRAPHVIZ_EXE', '/home/groups/p/ph/phpwiki/bin/dot'); - if (!defined('VISUALWIKIFONT')) - define('VISUALWIKIFONT', 'luximr'); } else { // other os if (!defined("GRAPHVIZ_EXE")) define('GRAPHVIZ_EXE', '/usr/bin/dot'); @@ -62,11 +54,6 @@ // Name of the Truetypefont - Helvetica is probably easier to read if (!defined('VISUALWIKIFONT')) define('VISUALWIKIFONT', 'Helvetica'); - //define('VISUALWIKIFONT', 'Times'); - //define('VISUALWIKIFONT', 'Arial'); - // The default font paths do not find your fonts, set the path here: - //$fontpath = "/usr/X11R6/lib/X11/fonts/TTF/"; - //$fontpath = "/usr/share/fonts/default/TrueType/"; } require_once 'lib/WikiPluginCached.php'; @@ -74,7 +61,6 @@ class WikiPlugin_GraphViz extends WikiPluginCached { - public $_args; public $source; public $_mapfile; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |