|Join the Graphviz open source team!|
|With the explosion of graph-based data, the Graphviz project offers new contributors excellent opportunities to explore new concepts, or enhance tools that thousands of projects already use. We're looking for programmers and technical experts in core algorithms, interactive and command line programs, and rendering. This page provides a list of possible open work. And, of course, we are open to your suggestions. If you are interested, please contact us.|
I have "Font not found" errors, or text labels missing in webdot.
Firstly, recent versions of graphviz will use fontconfig if it is available on your platform. With fontconfig, this error should not occur, so you may want to see if an upgrade to graphviz is available, or if a rebuild will add fontconfig support.
If fontconfig is not available then graphviz tries to resolve fontnames to fontpaths itself, and uses DOTFONTPATH (or GDFONTPATH) to indicate where it should look.
For copyright reasons, Graphviz doesn't come with its own fonts. On a Windows machine, it knows to search in C:\Windows\Fonts. On a Unix machine, you need to set up a directory that contains Truetype fonts. You can get a copy of some fonts here.
The default DOTFONTPATH is:
#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"
If your fonts are somewhere else, then you must set that directory in the webdot script, or recompile Graphviz with the correct DEFAULT_FONTPATH (or set fontpath="/your/font/directory" in every graph you lay out, but that's pretty clumsy.)
You can also try to comment the line #set SIGNATURE "Graph by WebDot" in /var/www/cgi-bin/webdot It's work for me and one other person from the ML
GraphvizWiki: FaqFontNotFound (last edited 2008-06-10 19:49:52 by lns-bzn-51f-62-147-205-149)
- A side-effect of the code is
20 hours 32 min ago
21 hours 59 min ago
- The width and height
23 hours 14 min ago
- reg dot
1 day 2 hours ago
- I am not understanding what
1 day 17 hours ago
- drawing the graph in graphviz from .exe output of a c program
1 day 18 hours ago
- If by balanced, you want the
1 day 21 hours ago
- Why is the output of the C
1 day 21 hours ago
- file attached
2 days 6 hours ago
4 days 18 hours ago