(*** This bug was imported into bugs.kde.org ***) Subject: Perhaps a bug in wmf (emf) library Date: Mon 30 Jul 2001 22:20:46 +0200 From: thierry lorthiois <lor.thi@libertysurf.fr> To: submit@bugs.kde.org Package:kword Version:cvs 30/07 (using KDE 2.2 CVS 30/07) Severity:normal Installed from: compiled sources Others : Â Suse7.1 linux 2.4.3 gcc 2.95.2 qt2.3.1 In file "koffice/lib/kwmf/wmfstruct.h" struct WmfEnhMetaHeader { ....... SIZEL szlDevice; // Size of the reference device in pixels SIZEL szlMillimeters; // Size of the reference device in millimeters }; with typedef Q_INT32 SIZEL; But the specification of Enhanced Meta Header say LONG WidthDevPixels; /* Width of reference device in pixels */ LONG HeightDevPixels; /* Height of reference device in pixels */ LONG WidthDevMM; /* Width of reference device in millimeters */ LONG HeightDevMM; /* Height of reference device in millimeters */ I don't see any change for wmf file :( bye thierry
On Monday 30 July 2001 22:20 thierry lorthiois wrote: > Package: kword > Version: cvs 30/07 (using KDE 2.2 CVS 30/07) > Severity: normal > Installed from: compiled sources > Others : Â Suse7.1 linux 2.4.3 gcc 2.95.2 qt2.3.1 > > In file "koffice/lib/kwmf/wmfstruct.h" > struct WmfEnhMetaHeader > { > ....... > SIZEL szlDevice; // Size of the reference device in pixels > SIZEL szlMillimeters; // Size of the reference device in millimeters > }; > with > typedef Q_INT32 SIZEL; > > But the specification of Enhanced Meta Header say > LONG WidthDevPixels; /* Width of reference device in pixels */ > LONG HeightDevPixels; /* Height of reference device in pixels */ > LONG WidthDevMM; /* Width of reference device in millimeters */ > LONG HeightDevMM; /* Height of reference device in millimeters */ Hmm hold on.... Where's the problem ? On an x86 machine Q_INT32 is 32 bits and LONG is 32 bits.... -- David FAURE david@mandrakesoft.com faure@kde.org http://perso.mandrakesoft.com/~david/ http://www.konqueror.org/ KDE Making The Future of Computing Available Today
*** Bug 302441 has been marked as a duplicate of this bug. ***