[Bug 4501] New: Change to dlls/wineps/pen.c breaks printing in
qcharts
Wine Bugs
wine-bugs at winehq.org
Mon Feb 6 16:13:15 CST 2006
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 at winehq.org
ReportedBy: cdunn42 at yahoo.com
CC: dmitry at 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.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list