Problem with formating the node label with html-tag

I have a problem with formating the node label.
If i use
label=<<font color="green">green text</font><font color="red>red text</font>>
for multi color text in node, the font size is no more uniformly in the whole of picture. some are greater and some are smaller. The setting for font size will be ignored!
Is there any solution or is it a bug?


This should not be happening.

This should not be happening. I vaguely recall there was a bug like this a long time ago. What version of graphviz are you using? (Type dot -V. ) If you are using a recent version, something is wrong, but we don't have enough information. Please submit your input and output as a bug report at Thanks.

Recent comments