Re: wmf with libemf on debian, that's possible!
- From: Hans Breuer <hans breuer org>
- To: dia-list gnome org
- Subject: Re: wmf with libemf on debian, that's possible!
- Date: Mon, 30 Jun 2008 23:31:26 +0200
Am 30.06.2008 00:22, Thomas Harding schrieb:
On Sun, Jun 29, 2008 at 06:09:25PM -0400, Valek Filippov wrote:
libemf is the dependency required for .wmf (Windows Metafont) on Dia.
... but only on Linux. libEMF supports enough of the win32 drawing API,
so that the formerly windows only plug-in can be compiled and used.
2007-10-07 Hans Breuer <hans breuer org>
* configure.in plug-ins/wmf/Makefile.am plug-ins/wmf/wmf.cpp :
with the help of libEMF dia now can write EMF on Linux(x86), too.
* plug-ins/wmf/libemf-todo.txt : stuff not working from libEMF
I'm sorry, but...
- .wmf is Windows MetaFile, not Windows Metafont;
Maybe, while:
$ file securite_base3.wmf
securite_base3.wmf: ms-windows metafont .wmf
file is wrong here, it is Windows MetaFile - storing bitmaps (pixmaps in X
parlance) and vectors, basically a serialized form of win32 GDI API.
- WMF is supported by libwmf;
- libemf doesn't support WMF.
It supports Enhanced MetaFile.
http://libemf.sourceforge.net/
While configure says:
checking for CreateEnhMetaFileWithFILEW in -lEMF... yes
[...]
WMF plug-in with libEMF: yes
The plug-in is called WMF and can write WMF and EMF on windows, also it is
used for native win32 printing.
On windows there is the possibility to create plain WMF from the serialized
drawing commands, see GetWinMetaFileBits(). This functonality is missing
when libEMF is used.
libwmf on the other hand is a library to *read* WMF/EMF, a facility missing
for Dia on windows and linux.
Regards,
Hans
-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it. -- Dilbert
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]