note that dot -Tps, -Teps, -Tsvg, and -Tpdf all seem to work perfect.
thanks, your work is much appreciated.
1 [label="read" color=white fontcolor="red" ]
2 [label="write" color=white fontcolor="green" ]
3 [label="access" color=black fontcolor="black" ]
History- Everything worked OK in dot 2.18 after John (and Glenn?) fixed bug 1367 (by adding PEN_DOTTED and PEN_DASHED style to the Quartz renderer).
Relevance- I use dot -Tjpg to generate jpg files and show them in the GUI of my tool.
[ellson] If you run "dot -Tjpg:" (i.e. with a trailing ':' ) you should get a list of alternate jpg renderers. The first one is the default that you are using. Is it "jpg:quartz:quartz" ?
Could you do the following please? Assuming your test graph is called foo.gv, run:
and send me both foo.jpg and foo.err.
dot -v -Tjpg foo.gv >foo.jpg 2>foo.err
As a work around, you can try any of the alternatives (if there are any?). If you have it, try:
Generally, jpg is not a particularly good format for line drawings because of its lossy compression. It tends to blur lines and fonts.
Usually png is a better choice.