http://bugs.winehq.org/show_bug.cgi?id=4501
Summary: Change to dlls/wineps/pen.c breaks printing in qcharts Product: Wine Version: 0.9.7. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-gdi-(printing) AssignedTo: wine-bugs@winehq.org ReportedBy: cdunn42@yahoo.com CC: dmitry@codeweavers.com
Running QCharts (http://www.qcharts.com) stock charting software, after wine 0.9.7, studies (moving averages, indicators, etc) on a printed chart no longer keep the same line thickness they have on screen.
This is subscription software, so may be difficult to test, but as I am a subscriber, I'll help if I can.
After looking at the ChangeLog and the source code in dlls/wineps/pen.c, I found that if I backed out the change of 2/1/06 by replacing :
physDev->pen.width = logpen.lopnWidth.x; if (logpen.lopnStyle & PS_GEOMETRIC) { physDev->pen.width = PSDRV_XWStoDS( physDev, physDev->pen.width ); if(physDev->pen.width < 0) physDev->pen.width = -physDev->pen.width; }
with the previous code :
physDev->pen.width = PSDRV_XWStoDS(physDev, logpen.lopnWidth.x); if(physDev->pen.width < 0) physDev->pen.width = -physDev->pen.width;
then the problem went away, charts print with the correct line thicknesses.