Summary: | Subscripts in X axis label reduce margin size | ||
---|---|---|---|
Product: | [Applications] kst | Reporter: | Netterfield <netterfield> |
Component: | general | Assignee: | kst |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.x | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Netterfield
2008-04-22 17:35:36 UTC
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. SVN commit 799931 by arwalker: BUG:161161 fix structure of line spacing of labels M +1 -0 kst2dplot.cpp M +6 -2 kstplotlabel.cpp M +3 -5 kstplotlabel.h M +2 -2 labelrenderer.cpp M +4 -11 labelrenderer.h WebSVN link: http://websvn.kde.org/?view=rev&revision=799931 |