When generating an emf meta file output the dotted and dashed linestyles appear to be ignored.
The sample works correctly when rending a gif output.
The command line is "dot -Temf -O Graph.dot".
Until recently, I have used version "uwin98 (01-26-98)", but this will not work on Server 2008 - understandably. I generated EMF output with the WinGraphViz COM components (with very poor rendering of lines).
The new version EMF support was very welcome and I hope that I am doing something incorrect rather than have found a bug.
In the last 5 years I have frequently used your tool to generate elegant drawings that can be rapidly re-generated and really appreciate the support. I have also used the UBET tool for small protocol analysis exercises and was amused to see Dot embedded.
Node1 -> Node2 [style="dashed"];
Node1 -> Node2 [style="dotted"];
Node1 -> Node2;
I saw that there is support for line styles in gpcanvas.c for Windows meta files, but have not reviewed the current full code base to see if it is still active.
[arif] The problem is gdiplus renderer does not seem supporting styles and emf is only available via gdiplus since it is window's native metafile format.We need to extend our rtests to cover gdi plus too.
[erg] Is it that the gdiplus renderer does not support styles, or that we have implemented them?
[arif] It supports dashed lines,i cant tell whether it supports others. But it is obvious that our gdiplus code is not complete.
> Is it that the gdiplus renderer does not support styles, or that we have implemented them?
Looks like the latter to me. I see no code for setting pen style in plugin/gdiplus/gvrender_gdiplus.cpp.
I think this code came from Glen Low.
[pekka] The Windows metafile PenStyle enumeration is documented (http://msdn.microsoft.com/en-us/library/cc231188(v=PROT.10).aspx) and supports 5 native line styles including the ones provided in the dot language.
Yes ,we are aware of the problem, it is about the gdiplus plugin. Hopefully someone will look into it soon.