On 4/25/06, Bryce Harrington <bryce@...961...> wrote:
On Mon, Apr 24, 2006 at 03:42:54PM +0200, Ulf Erikson wrote:
I have written an EMF (enhanced metafile) exporter which is likely to have troubles on older Windows versions as well, and wonder how bad you find such limitations.
Thanks for doing this, I know people have asked for WMF support a good bit, so EMF support will be welcomed as well. Have you had a chance to
Well, EMF is supported by Windows since Win95, and is basically the 32bit enhancement of WMF. EMF also comes with some new vector drawing functions not available in WMF, such as the cubic bezier curves. Why do you think people ask for WMF support above EMF support?
search through the inkscape bug tracker for issues? That would be the proper place for any limitation in it to appear.
Since you draw a WMF/EMF file with the same graphics functions as you would draw on screen you are limited by the graphics capabilities of each Windows version. Windows 95/98 does not support strokes with a user defined dash-pattern, for instance.
Also, have you thought about also doing an EMF importer?
The Windows API helps you "play" a WMF/EMF file and later copy the result to any device (and automatically rescale the drawing to fit the DPI of that device), but I don't think it helps you find the graphical objects inside. You would have to parse the (undocumented?) binary file yourself to find them. I think this is what libwmf tries to do.