[Kst] [Bug 125888] black & white printing tool has problems with legend and properties

Andrew Walker arwalker at sumusltd.com
Mon May 8 23:56:29 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125888         




------- Additional Comments From arwalker sumusltd com  2006-05-08 23:56 -------
For 2: the problem is that the view legend draws the line and symbol with a width of lineWidth * KstPainter::lineWidthAdjustmentFactor(). The former is set by the user while the latter is determined by the size of the painter. The same calculation is made for drawing the actual curve, but here the KstPainter is for the plor rather than the legend.

When plotting KstPainter::lineWidthAdjustmentFactor() returns the same value for the legend and plot. However, when printing the two values are very different (being larger for the plot). The result is line widths that do not match between the plot and legend.

The solution is not obvious as a legend does not have to reside in the plot that contains the curve, and the same curve can reside in more than one plot.


More information about the Kst mailing list