http://bugs.winehq.org/show_bug.cgi?id=4300
Summary: viewportExt changed after call to StrokePath Product: Wine Version: 0.9.5. Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-gdi-(printing) AssignedTo: wine-bugs@winehq.org ReportedBy: tobi@die-loews.de
After a call to StrokePath the ViewPortExt is changed. The reason is the call "SetViewportExtEx(dc->hSelf, szViewportExt.cx, szViewportExt.cy, NULL);" in line 1784 in "path.c", as it calls implicitely "MAPPING_FixIsotropic" which changes (at least in my case) dc->vportExtX. (There is also the hint in MSDN to call SetWindowExtEx before SetViewportExtEx). A solution could to set the viewport and windowport explicit (without a call to SetViewport/WindowExtEx).