http://bugs.winehq.org/show_bug.cgi?id=13357
Summary: Arcs do not render properly to printer from Altium DXP 2004 SP4 Product: Wine Version: 1.0-rc1 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ninevoltz@metalink.net
When printing PC board artwork or schematic diagrams from Altium DXP 2004, arcs are not rendered properly. The start and end points of the arc are in the wrong places. I think it is related to the bug in gdi32 that I fixed some time ago (bug ID 7421) because it looks just like that problem, only except it effects printing instead of the screen. I'm not sure where print rendering is handled in the API, or I would go after the bug myself.
http://bugs.winehq.org/show_bug.cgi?id=13357
--- Comment #1 from John Voltz ninevoltz@metalink.net 2008-05-22 14:26:00 --- Created an attachment (id=13255) --> (http://bugs.winehq.org/attachment.cgi?id=13255) Screenshot of the bug
Notice the corners of the board in the print preview window as compared to the screen view in the background
http://bugs.winehq.org/show_bug.cgi?id=13357
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |printing
--- Comment #2 from Austin English austinenglish@gmail.com 2008-11-19 16:13:28 --- Is this still an issue in current (1.1.8 or newer) wine? Is this program available for download anywhere?
http://bugs.winehq.org/show_bug.cgi?id=13357
--- Comment #3 from John Voltz ninevoltz@metalink.net 2008-11-19 18:41:15 --- (In reply to comment #2) Yes, this bug is still present in 1.1.8. No, DXP is not available for download, no demo and the Viewer Edition requires a license for the full version. If someone could tell me what part of the API renders the screen data to the print API, I might be able to fix it. The bug I fixed earlier was caused by a simple typo, an X where a Y should be.
http://bugs.winehq.org/show_bug.cgi?id=13357
--- Comment #4 from Austin English austinenglish@gmail.com 2008-11-20 01:20:08 --- Probably something in gdi32.
http://bugs.winehq.org/show_bug.cgi?id=13357
--- Comment #5 from Austin English austinenglish@gmail.com 2009-05-29 12:17:39 --- Is this still an issue in current (1.1.22 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=13357
--- Comment #6 from John Voltz ninevoltz@metalink.net 2009-05-29 13:25:22 --- (In reply to comment #5)
Yes, still an issue. There is actually another regression that makes this bug even worse. I plan to submit another bug report when I track down the source of the regression. All of the text in prints and print preview is vertically flipped.
http://bugs.winehq.org/show_bug.cgi?id=13357
--- Comment #7 from Austin English austinenglish@gmail.com 2010-01-04 12:17:07 --- This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.1.35 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=13357
greg.burley@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |greg.burley@gmail.com
--- Comment #8 from greg.burley@gmail.com 2010-03-07 16:52:33 --- (In reply to comment #7)
This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.1.35 or newer) wine?
Still an issue as of wine-1.1.39 and AltiumDesigner Winter09.
http://bugs.winehq.org/show_bug.cgi?id=13357
--- Comment #9 from John Voltz johnvoltz@gmail.com 2010-05-28 08:24:44 --- Created an attachment (id=28351) --> (http://bugs.winehq.org/attachment.cgi?id=28351) Patch to fix arc bug
The attached patch fixes the bug, it was a typo in the enhanced metafile driver.
http://bugs.winehq.org/show_bug.cgi?id=13357
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #10 from Juan Lang juan_lang@yahoo.com 2010-05-28 10:56:03 --- Please send to wine-patches, that one looks pretty obviously correct.
http://bugs.winehq.org/show_bug.cgi?id=13357
--- Comment #11 from John Voltz johnvoltz@gmail.com 2010-05-28 11:36:20 --- (In reply to comment #10)
Please send to wine-patches, that one looks pretty obviously correct.
I'm still working on another problem related to this bug, the arc direction is reversed in PC board printouts for some reason. Also, text is all flipped upside down along it's Y axis, which is the subject for another bug report when I figure it out.
http://bugs.winehq.org/show_bug.cgi?id=13357
--- Comment #12 from John Voltz johnvoltz@gmail.com 2010-06-01 08:44:00 --- Created an attachment (id=28486) --> (http://bugs.winehq.org/attachment.cgi?id=28486) Print preview on left, editing view on right
Sometimes arcs are rendered in the wrong direction in print preview.
http://bugs.winehq.org/show_bug.cgi?id=13357
--- Comment #13 from John Voltz johnvoltz@gmail.com 2010-06-02 14:31:20 --- Created an attachment (id=28525) --> (http://bugs.winehq.org/attachment.cgi?id=28525) Metafile captured from gdi32
This is a metafile I dumped from a modified gdi32.dll. It proves that the bug happens during metafile creation rather than during metafile playback to the print preview window. Can be viewed with Windows Picture and Fax Viewer.
http://bugs.winehq.org/show_bug.cgi?id=13357
--- Comment #14 from John Voltz johnvoltz@gmail.com 2010-06-04 11:11:54 --- Created an attachment (id=28553) --> (http://bugs.winehq.org/attachment.cgi?id=28553) Patch to fix printing/print preview
This patch appears to completely fix the bug, however there is some arc end point flipping done in the code, which works but I don't fully understand why. Maybe someone who is more familiar with the gdi32/metafile driver can help fix it. I also added code to perform the AngleArc function in the metafile instead of redirecting it directly to the Arc function. This is probably the wrong way to do it too, but it does work...
http://bugs.winehq.org/show_bug.cgi?id=13357
--- Comment #15 from John Voltz johnvoltz@gmail.com 2010-06-04 11:14:36 --- Created an attachment (id=28554) --> (http://bugs.winehq.org/attachment.cgi?id=28554) PCB print preview screenshots
Print preview screen shots, on the left is the metafile as viewed in Windows, on the right as viewed in Wine, after the patch.
http://bugs.winehq.org/show_bug.cgi?id=13357
--- Comment #16 from John Voltz johnvoltz@gmail.com 2010-06-04 11:16:43 --- Created an attachment (id=28555) --> (http://bugs.winehq.org/attachment.cgi?id=28555) Schematic print preview screenshots
Screen shots of schematic print preview, on the left is the metafile as viewed in Windows, on the right in Wine, after the patch.
http://bugs.winehq.org/show_bug.cgi?id=13357
--- Comment #17 from Dmitry Timoshkov dmitry@codeweavers.com 2010-06-04 11:22:45 --- (In reply to comment #14)
This patch appears to completely fix the bug, however there is some arc end point flipping done in the code, which works but I don't fully understand why. Maybe someone who is more familiar with the gdi32/metafile driver can help fix it. I also added code to perform the AngleArc function in the metafile instead of redirecting it directly to the Arc function. This is probably the wrong way to do it too, but it does work...
You may try to add a test case which generates an EMF record and then verifies its contents to existing EMF tests.
http://bugs.winehq.org/show_bug.cgi?id=13357
Alex Belits abelits@phobos.illtel.denver.co.us changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |abelits@phobos.illtel.denve | |r.co.us
--- Comment #18 from Alex Belits abelits@phobos.illtel.denver.co.us 2011-07-01 22:32:14 CDT --- Bug is still there in wine 1.3.23. PDF output in Altium has no such problem, so printing generated PDFs can be used as a partial workaround.
https://bugs.winehq.org/show_bug.cgi?id=13357
--- Comment #19 from Bruno Jesus 00cpxxx@gmail.com --- Is this still an issue in wine 1.7.13 or later?
https://bugs.winehq.org/show_bug.cgi?id=13357
John Voltz john.voltz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |john.voltz@gmail.com
--- Comment #20 from John Voltz john.voltz@gmail.com --- (In reply to Bruno Jesus from comment #19)
Is this still an issue in wine 1.7.13 or later?
I don't use wine anymore, so I cannot test it.
https://bugs.winehq.org/show_bug.cgi?id=13357
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #21 from Austin English austinenglish@gmail.com --- (In reply to John Voltz from comment #20)
(In reply to Bruno Jesus from comment #19)
Is this still an issue in wine 1.7.13 or later?
I don't use wine anymore, so I cannot test it.
Marking abandoned, thanks for letting us know.
https://bugs.winehq.org/show_bug.cgi?id=13357
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Bruno Jesus 00cpxxx@gmail.com --- Closing abandoned bugs.