Maybe someone could help me diagnose the problem:
Whatever I try, I get errors.
For example, clicking on the "Graph" command of a vocabulary, or the "schema" tab in admin/content/types I get the following error:

Graphviz encountered an error while rendering to format cmapx:
Error: Could not find/open font<br />Error: Could not find/open font<br />Error: Could not find/open font<br />Error: Could not find/open font<br />Error: Could not find/open font<br />Error: Could not find/open font<br />Error: Could not find/open font<br />Error: Could not .....

The graph is generated however. Sometimes, I don't get the graph initially, but a similar error about png, jpg or gif format

Thanks for help

Comments

infojunkie’s picture

Status: Active » Postponed

Googling "Could not find/open font" graphviz reveals that these are issues that Graphviz users may encounter. Please go through them first and let me know if they help.

infojunkie’s picture

Title: Many errors with Graphviz » Could not find/open font
jvieille’s picture

Hurrah!

After much search and tries, the problem was the following. On my Gentoo box,

1) no fonts were installed, as this is not a requirement for most servers.
I followed this post
http://en.gentoo-wiki.com/wiki/X.Org/Fonts
emerge -av --noreplace freetype corefonts freefonts artwiz-aleczapka-en terminus-font ttf-bitstream-vera unifont dejavu
- adding "truetype" in make.conf
yet without going up to the point of installing Xorg

2) gd was compiled without fontconfig support. I added "fontconfig" in the USE variable in make.conf file and re-emerged
This post was the most helpful
http://www.graphviz.org/bugs/b1431.html

Hope this will help someone...

jvieille’s picture

Status: Postponed » Fixed
infojunkie’s picture

Thanks for the info!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.