Erich Hoover wrote:
I ran into an issue with WMF files in helping someone get an application to work (Athena Visual Studio) and I worked around it by pre-rendering the application's vector WMF files. I don't currently have the time to resolve the issue, but for when I do I'm curious whether there is a reason that OleLoadPicture* has been implemented manually. It seems that the LGPL "libwmf" has excellent support for both bitmap and vector WMF files (it at least worked for converting the files I had trouble with!), so it seems to me like it would make sense to use this library rather than spinning a separate implementation. Any comments are appreciated.
Do you have somewhere the specific WMF file in question? The license is a "bit" to expensive to buy it just to test this ;-)
Rolf Kalbermatter
I actually took some time out of my day (that I probably shouldn't have) to track down the issue and submitted a patch ( http://www.winehq.org/pipermail/wine-cvs/2009-January/052045.html). Not everything in the WMF files renders properly but at least Wine doesn't crash horribly, for now I've just pre-rendered the WMF files (we're distributing computers to students with this software, so we want things to look right). Also, there is a 15 day trial of the software :)
Erich Hoover ehoover@mines.edu
On Wed, Jan 21, 2009 at 11:03 PM, Rolf Kalbermatter < r.kalbermatter@hccnet.nl> wrote:
Erich Hoover wrote:
I ran into an issue with WMF files in helping someone get an application
to
work (Athena Visual Studio) and I worked around it by pre-rendering the application's vector WMF files. I don't currently have the time to
resolve
the issue, but for when I do I'm curious whether there is a reason that OleLoadPicture* has been implemented manually. It seems that the LGPL "libwmf" has excellent support for both bitmap and vector WMF files (it at least worked for converting the files I had trouble with!), so it seems to me like it would make sense to use this library rather than spinning a separate implementation. Any comments are appreciated.
Do you have somewhere the specific WMF file in question? The license is a "bit" to expensive to buy it just to test this ;-)
Rolf Kalbermatter