[Kst] kdeextragear-2/kst/kst
Andrew Walker
arwalker at sumusltd.com
Sat Dec 18 22:36:16 CET 2004
CVS commit by arwalker:
Correctly display omicron, upsilon, xi and theta.
M +4 -0 kstlabel.cpp 1.54
--- kdeextragear-2/kst/kst/kstlabel.cpp #1.53:1.54
@@ -257,4 +257,5 @@ void KstLabel::draw(QPainter &p, int px,
{"\\Mu", "M"}, {"\\mu", "m"},
{"\\Nu", "N"}, {"\\nu", "n"},
+ {"\\Omicron", "O"}, {"\\omicron", "o"},
{"\\Pi", "P"}, {"\\pi", "p"},
{"\\Theta", "Q"}, {"\\theta", "q"},
@@ -262,5 +263,7 @@ void KstLabel::draw(QPainter &p, int px,
{"\\Sigma", "S"}, {"\\sigma", "s"},
{"\\Tau", "T"}, {"\\tau", "t"},
+ {"\\Upsilon", "U"}, {"\\upsilon", "u"},
{"\\Omega", "W"}, {"\\omega", "w"},
+ {"\\Xi", "X"}, {"\\xi", "x"},
{"\\Psi", "Y"}, {"\\psi", "y"},
{"\\Zeta", "Z"}, {"\\zeta", "z"},
@@ -331,4 +334,5 @@ void KstLabel::draw(QPainter &p, int px,
processedText.replace("\\t", "\t"); // \\t doesn't get evaluated properly FIXME
processedText.replace("\tau", "\\tau"); // put back the mistakes caused by the hack above
+ processedText.replace("\theta", "\\theta"); // put back the mistakes caused by the hack above
if (doScalarReplacement) {
More information about the Kst
mailing list