|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)
- Perl script for generating an org chart
1 day 20 hours ago
- restrictions on loading image files
2 days 3 hours ago
- You are running dot on the
4 days 3 hours ago
- If someone would post a
5 days 3 hours ago
- same problem here
5 days 4 hours ago
- Do You have any good solution
1 week 21 hours ago
- A general tutorial can be
1 week 1 day ago
- The only reason the clickable
1 week 3 days ago
- In addition to what Emden
2 weeks 1 day ago
- Good news for me
2 weeks 1 day ago