From: Hans-Bernhard B. <br...@ph...> - 2004-04-23 10:32:41
|
On Thu, 22 Apr 2004, Ethan Merritt wrote: > Can you tell me where you found a copy of the current EMF spec? Maybe we don't need one. Look what I just came across on my Linux box, in file /usr/share/doc/packages/libEMF/README: libEMF is a library for generating Enhanced Metafiles on systems which don't natively support the ECMA-234 Graphics Device Interface (GDI). The library is intended to be used as a driver for other graphics programs such as Grace or gnuplot. Therefore, it implements a very limited subset of the GDI. I wonder, if he's seeing gnuplot as part of his intended target audience, why we never heard of this. Or did we, and I just forgut. I does seem to have a problem with gnuplot's EMF files, though. In particular, its 'printemf' tool complains GetEnhMetaFileW warning: read unknown record type 84 of size 80 GetEnhMetaFileW warning: read unknown record type 84 of size 84 [... several more ...] Seems like that is about our EMF_put_text() calling EMF_write_emr(84, 76 + len * 2); /* exttextoutw, yes it's the 16bits char version! */ Note that this little snippet from libEMF also contains a valuable hint at the actual EMF definition. Google finds: http://www.ecma-international.org/publications/standards/Ecma-234.htm -- Hans-Bernhard Broeker (br...@ph...) Even if all the snow were burnt, ashes would remain. |