https://bugs.winehq.org/show_bug.cgi?id=54368
Bug ID: 54368 Summary: ::DrawGeometry doesn't respect stroke style Product: Wine Version: 8.0 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: d2d Assignee: wine-bugs@winehq.org Reporter: dmitry@baikal.ru Distribution: ---
Created attachment 73938 --> https://bugs.winehq.org/attachment.cgi?id=73938 thick lines
There's an application that uses d2d1 to draw its UI, and when the app scales its workspace the lines get very thick shapes. This seems to be related to 00d8:fixme:d2d:d2d_stroke_style_init transformType 1 is not supported 00d8:fixme:d2d:d2d_device_context_DrawGeometry Ignoring stroke style 000000001F3D8C80. According to MSDN transformType 1 refers to D2D1_STROKE_TRANSFORM_TYPE_FIXED: The stroke does not respect the world transform but it does respect the dpi and stroke width.
https://bugs.winehq.org/show_bug.cgi?id=54368
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 73939 --> https://bugs.winehq.org/attachment.cgi?id=73939 Tentative patch
This patch for ::DrawGeometry() seems to fix the bug, probably other drawing methods need a similar treatment.
https://bugs.winehq.org/show_bug.cgi?id=54368
--- Comment #2 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 73940 --> https://bugs.winehq.org/attachment.cgi?id=73940 good lines
How the lines look like with the patch. This seems to match Windows behaviour.
https://bugs.winehq.org/show_bug.cgi?id=54368
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |6dd11426e0a1083366760e3834a | |7098ffc0b1b1b Resolution|--- |FIXED
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru --- Fix committed as 6dd11426e0a1083366760e3834a7098ffc0b1b1b.
https://bugs.winehq.org/show_bug.cgi?id=54368
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.16.