|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)
- The problem is that loader on
16 hours 27 min ago
- Still not working
18 hours 41 min ago
- I see, another case of Debian
1 day 5 hours ago
- So you are running
1 day 10 hours ago
- I have already tried replacing pkg-config in the makefile
1 day 13 hours ago
- Your understanding is
1 day 15 hours ago
1 day 16 hours ago
- I believe pygraphviz uses the
3 days 20 hours ago
- Thanks. It helped a lot. I
4 days 17 hours ago
- Just if you couldn't solve this yet ...
5 days 1 hour ago