http://bugs.winehq.org/show_bug.cgi?id=17848
Summary: Windows Print Preview: Lines drawn have incorrect width Product: Wine Version: 1.1.17 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: olsentest@comcast.net
In Windows print preview, drawing commands embedded between BeginPath and EndPath have line widths that are way too wide. It appears that the same width (in pixels) is used in the print preview as was used for the main application window. Also, if you use the print preview zoom button, the line width remains the same, suggesting that it is not being adjusted for the changes in scale.
If drawing commands are not embedded between BeginPath and EndPath, then the print preview appears to work correctly.
I am attaching a screen capture of the main window and the print preview window. Also, I am attaching a simple Windows program that can be used for debug purposes. Also attached is a code snippet from the Windows program.
http://bugs.winehq.org/show_bug.cgi?id=17848
--- Comment #1 from olsentest@comcast.net 2009-03-25 11:50:19 --- Created an attachment (id=20118) --> (http://bugs.winehq.org/attachment.cgi?id=20118) Screen capture of the main window
http://bugs.winehq.org/show_bug.cgi?id=17848
--- Comment #2 from olsentest@comcast.net 2009-03-25 11:53:10 --- Created an attachment (id=20119) --> (http://bugs.winehq.org/attachment.cgi?id=20119) Screen capture of the displayed print preview
Note that the half-circles at the left of each line have been clipped because of the page boundary. What appears as clipping at the right intersection of the two lines is actually the results of the line join option.
http://bugs.winehq.org/show_bug.cgi?id=17848
--- Comment #3 from olsentest@comcast.net 2009-03-25 11:54:46 --- Created an attachment (id=20120) --> (http://bugs.winehq.org/attachment.cgi?id=20120) A code snippet from the Windows program that creates the drawing
http://bugs.winehq.org/show_bug.cgi?id=17848
--- Comment #4 from olsentest@comcast.net 2009-03-25 11:57:38 --- Created an attachment (id=20121) --> (http://bugs.winehq.org/attachment.cgi?id=20121) The Windows program you can run to demonstrate the problem
Note that when you do the print preview, you can use the zoom button and see that the line thickness do not change. Also note that the line thicknesses in the print preview window appear to be the same as in the main window.
http://bugs.winehq.org/show_bug.cgi?id=17848
--- Comment #5 from Austin English austinenglish@gmail.com 2009-09-22 14:02:10 --- Is this still an issue in current (1.1.29 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=17848
--- Comment #6 from olsentest@comcast.net 2009-09-22 18:03:11 --- (In reply to comment #5)
Is this still an issue in current (1.1.29 or newer) wine
Yes, this is still an issue using wine-1.1.29.
http://bugs.winehq.org/show_bug.cgi?id=17848
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #7 from Austin English austinenglish@gmail.com 2010-12-23 18:23:49 CST --- Still in wine-1.3.9-325-gfea5767.
http://bugs.winehq.org/show_bug.cgi?id=17848
Rafal Stanilewicz washuu@eastnews.com.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |washuu@eastnews.com.pl
--- Comment #8 from Rafal Stanilewicz washuu@eastnews.com.pl 2012-02-28 06:24:04 CST --- Wine 1.4-rc5, the bug seems untouched.
https://bugs.winehq.org/show_bug.cgi?id=17848
--- Comment #9 from Ken Sharp imwellcushtymelike@gmail.com --- Is this still an issue in Wine 1.7.45 or later?
https://bugs.winehq.org/show_bug.cgi?id=17848
--- Comment #10 from olsentest@comcast.net --- (In reply to Ken Sharp from comment #9)
Is this still an issue in Wine 1.7.45 or later?
Yes, the lines are still too wide. Ran on Wine 1.7.55
https://bugs.winehq.org/show_bug.cgi?id=17848
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #11 from winetest@luukku.com --- I get different results than in pictures attached here. Main window arrow is huge, but when doing print preview the arrow is a lot smaller, even when zoomed.
wine 2.0rc3.
Could you retest?
https://bugs.winehq.org/show_bug.cgi?id=17848
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |f40f379f050c97bf615adcff07e | |6b1f554dff3cc
--- Comment #12 from Jactry Zeng jactry92@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=f40f379f050c97bf615adcff0... .
https://bugs.winehq.org/show_bug.cgi?id=17848
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |gdiplus CC| |focht@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=17848
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.1.