forked from pool/graphviz
35 lines
2.1 KiB
Diff
35 lines
2.1 KiB
Diff
--- configure.ac
|
|
+++ configure.ac
|
|
@@ -91,7 +91,7 @@
|
|
AC_DEFINE_UNQUOTED(DARWIN_DYLIB,"$DARWIN_DYLIB",[Define for Darwin-style shared library names.])
|
|
;;
|
|
* ) # This sucks! Whatever happened to standards for file system layout?
|
|
- DEFAULT_FONTPATH="/usr/X11R6/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/truetype:/usr/X11R6/lib/X11/fonts/TTF:/usr/share/fonts/TrueType:/usr/share/fonts/truetype:/usr/openwin/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/Type1:/usr/common/share/fonts/ttf";
|
|
+ DEFAULT_FONTPATH="/usr/share/fonts/TTF:/usr/share/fonts/TrueType:/usr/share/fonts/truetype:/usr/openwin/lib/X11/fonts/TrueType:/usr/share/fonts/Type1:/usr/common/share/fonts/ttf";
|
|
PATHSEPARATOR=":"
|
|
;;
|
|
esac
|
|
--- doc/FAQ.html
|
|
+++ doc/FAQ.html
|
|
@@ -691,7 +691,8 @@
|
|
<P>
|
|
The default DOTFONTPATH is:
|
|
<pre>
|
|
-#define DEFAULT_FONTPATH "/usr/X11R6/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/truetype:/usr/X11R6/lib/X11/fonts/TTF:/usr/share/fonts/TrueType:/usr/share/fonts/truetype:/usr/openwin/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/Type1"
|
|
+#define DEFAULT_FONTPATH
|
|
+"/usr/share/fonts/TrueType:/usr/share/fonts/truetype:/usr/share/fonts/TTF:/usr/share/fonts/TrueType:/usr/share/fonts/truetype:/usr/openwin/lib/X11/fonts/TrueType:/usr/share/fonts/Type1"
|
|
</pre>
|
|
If your fonts are somewhere else, then you must set that directory in
|
|
the webdot script, or recompile Graphviz with the correct DEFAULT_FONTPATH
|
|
--- lib/gd/gd.h
|
|
+++ lib/gd/gd.h
|
|
@@ -59,7 +59,7 @@
|
|
/* 2.0.23: more Type 1 fonts */
|
|
#ifndef DEFAULT_FONTPATH
|
|
/* default fontpath for unix systems - whatever happened to standards ! */
|
|
-#define DEFAULT_FONTPATH "/usr/X11R6/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/truetype:/usr/X11R6/lib/X11/fonts/TTF:/usr/share/fonts/TrueType:/usr/share/fonts/truetype:/usr/openwin/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/Type1:/usr/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/Type1"
|
|
+#define DEFAULT_FONTPATH "/usr/share/fonts/TrueType:/usr/share/fonts/truetype:/usr/share/fonts/TTF:/usr/share/fonts/truetype:/usr/openwin/lib/X11/fonts/TrueType:/usr/share/fonts/Type1:/usr/openwin/lib/X11/fonts/Type1"
|
|
#endif
|
|
#ifndef PATHSEPARATOR
|
|
#define PATHSEPARATOR ":"
|