http://bugs.winehq.org/show_bug.cgi?id=33978
Bug #: 33978 Summary: Bug in converting/rendering Windows Metafile (SetWinMetaFileBits etc.) Product: Wine Version: 1.6-rc4 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: pavelkok@gmail.com Classification: Unclassified
Created attachment 45135 --> http://bugs.winehq.org/attachment.cgi?id=45135 input WMF-file
I attached metafile (input.wmf) that is renders incorectly under Wine. It is Windows Metafile, not Enhanced Metafile. Bug exist in all programs that use WinApi (SetWinMetaFileBits etc.). I also tested this WMF file in IrfanView. I wrote sample program (wmf2bmp.exe) for demonstration. It renders/converts input WMF file to BMP and EMF files. No error/warnings during run (except irrelevant fixme:heap:HeapSetInformation).
~/build2/wine-git/wine --version wine-1.6-rc4-52-g9a0b434
Thanks for any help!
http://bugs.winehq.org/show_bug.cgi?id=33978
--- Comment #1 from Pavel Kokolemin pavelkok@gmail.com 2013-07-07 10:44:36 CDT --- Created attachment 45136 --> http://bugs.winehq.org/attachment.cgi?id=45136 Rendered BMP file under Windows
http://bugs.winehq.org/show_bug.cgi?id=33978
Pavel Kokolemin pavelkok@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=33978
--- Comment #2 from Pavel Kokolemin pavelkok@gmail.com 2013-07-07 10:45:34 CDT --- Created attachment 45137 --> http://bugs.winehq.org/attachment.cgi?id=45137 Converted Enhanced metafile under WIndows
http://bugs.winehq.org/show_bug.cgi?id=33978
--- Comment #3 from Pavel Kokolemin pavelkok@gmail.com 2013-07-07 10:46:06 CDT --- Created attachment 45138 --> http://bugs.winehq.org/attachment.cgi?id=45138 Rendered BMP file under Wine
http://bugs.winehq.org/show_bug.cgi?id=33978
--- Comment #4 from Pavel Kokolemin pavelkok@gmail.com 2013-07-07 10:46:31 CDT --- Created attachment 45139 --> http://bugs.winehq.org/attachment.cgi?id=45139 Converted Enhanced metafile under Wine
http://bugs.winehq.org/show_bug.cgi?id=33978
--- Comment #5 from Pavel Kokolemin pavelkok@gmail.com 2013-07-07 10:47:03 CDT --- Created attachment 45140 --> http://bugs.winehq.org/attachment.cgi?id=45140 WINEDEBUG=+seh,+relay log file
http://bugs.winehq.org/show_bug.cgi?id=33978
--- Comment #6 from Pavel Kokolemin pavelkok@gmail.com 2013-07-07 10:47:43 CDT --- Created attachment 45141 --> http://bugs.winehq.org/attachment.cgi?id=45141 Source code of demonstration program
http://bugs.winehq.org/show_bug.cgi?id=33978
--- Comment #7 from Pavel Kokolemin pavelkok@gmail.com 2013-07-07 10:48:05 CDT --- Created attachment 45142 --> http://bugs.winehq.org/attachment.cgi?id=45142 Demonstration program
http://bugs.winehq.org/show_bug.cgi?id=33978
Pavel Kokolemin pavelkok@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pavelkok@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=33978
Pavel Kokolemin pavelkok@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|pavelkok@gmail.com |
http://bugs.winehq.org/show_bug.cgi?id=33978
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #8 from Dan Kegel dank@kegel.com 2013-07-07 13:23:17 CDT --- Can you whittle down the metafile to the smallest one that demonstrates the problem?
(Also, did you verify that 'winetricks corefonts' doesn't help, just in case?)
BTW WINEDEBUG=+metafile is probably the first thing I'd look at.
http://bugs.winehq.org/show_bug.cgi?id=33978
--- Comment #9 from Pavel Kokolemin pavelkok@gmail.com 2013-07-07 13:37:29 CDT --- Created attachment 45148 --> http://bugs.winehq.org/attachment.cgi?id=45148 WINEDEBUG=+metafile log file
Nothing special in log with WINEDEBUG=+metafile
http://bugs.winehq.org/show_bug.cgi?id=33978
--- Comment #10 from Pavel Kokolemin pavelkok@gmail.com 2013-07-07 13:43:35 CDT --- Сorefonts installation did not help although the result was slightly different because of the fonts. I'll try to draw another metafile manually to understand where the bug. This metafile I got from same program and it's the smallest I can get.
https://bugs.winehq.org/show_bug.cgi?id=33978
--- Comment #11 from Artem S. Tashkinov t.artem@mailcity.com --- Aside from the barcode I can say that this bug is fixed in Wine 3.0-rc3. Please retest.
https://bugs.winehq.org/show_bug.cgi?id=33978
Carlo B castro8583bennett@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |castro8583bennett@gmx.com
--- Comment #12 from Carlo B castro8583bennett@gmx.com --- its working for me Thank you guys. Please retest
Castro B, http://webtrafficgeeks.org
https://bugs.winehq.org/show_bug.cgi?id=33978
Marco Blakey canzara07@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |canzara07@gmail.com
--- Comment #13 from Marco Blakey canzara07@gmail.com --- Anyone had any luck with this? I can't seem to make it work
Thanks https://andwebtraffic.com
https://bugs.winehq.org/show_bug.cgi?id=33978
--- Comment #14 from Marco Blakey canzara07@gmail.com --- Converted Enhanced metafile under WIndows. https://andwebtraffic.org