[Kst] [Bug 161161] Subscripts in X axis label reduce margin size
arwalker at sumusltd.com
Tue Apr 22 22:33:44 CEST 2008
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
------- Additional Comments From arwalker sumusltd com 2008-04-22 22:33 -------
This problem is caused by the introduction of _lineSpacing to RenderContext in revision 519035.
The _lineSpacing member simply holds the line spacing of the last font set for a label. For simple labels, which do not support subscripts and superscripts, this makes sense. For labels that do support subscripts and superscripts _lineSpacing is essentially useless as it may be the line spacing of the main font or of the super/subscript font.
The solution is not to refer to lineSpacing() for x, y, top, etc labels.
More information about the Kst