Number: 348
Title: No visible text in .png images of classes
Submitter: Clement Seveillac
Date: Wed Sep 3 15:43:26 2003
Subsys: Dot
Version: 1.8.9
System: x86-Linux-Debian Sid
Severity: major
Problem:
Hi,

I call Dot from Doxygen (on an updated Debian Sid) every night, but I have just found this new error: all the diagrams that _used_ to have text only a few days ago, don't seem to contain text anymore. Here is an example:

http://dudu.dyn.2-h.org/~clem/classPasswordDialog__inherit__graph.png

My doxygen output is here, but I did not find any dot-related error message in it:

http://dudu.dyn.2-h.org/~clem/doxy.tmp.gz

Please tell me which other piece of info you need!

By the way many many thanks for your great tool!

Sorry, I don't know how to get the temporary dot files used by Doxygen :-/ -- clem
Output file: b348.png
Comments:
[ellson] Firstly, do you know what changed on your system a few days ago? Did doxygen or graphviz get updated? Were any fonts removed? Did freetype change?

If you can get at it, can you send me the raw graph that doxygen generates and sends to dot to generate the image? I don't know doxygen well enough to know how to do this. If doxygen is using pipes you might be able to create a $HOME/bin/dot shell script that saves the file with something like:


    #!/bin/sh
    tee /tmp/save_$$.dot | /usr/bin/dot $*

Would you be able to build and install a more recent graphviz from source? (e.g. http://www.graphviz.org/pub/graphviz/graphviz-current.tar.gz )

Have you asked the doxygen developers about this?

Could you also verify that dot is working normally without doxygen? Please see if you get a png with legible text from execution of:


      echo 'digraph G {hello -> world }' | dot -Tpng -o out.png

Fix:
The user had removed some fonts on the system, and the old version of graphviz was failing to find an alternative font. Current versions of graphviz had no trouble finding a font.

It is unfortunate that doxygen doesn't appear to log stderr messages from dot.
Owner: ellson
Status: Fixed (4 September 2003)