Is there a way to determine the baseline of text in a field?
Posted: Mon Nov 04, 2013 10:56 am
Hello experts
I need to render mathematical formulae in my LiveCode cross-platform app. I tried going the MathML way with a browser but it just won't work consistently, so now I'm trying to write my own math rendering library. I ran into what seems to be a brick wall because I can't find a way to determine the baseline of text in a field. LC will let me find the height and line spacing, but it does no good in my quest for the baseline, which is crucial for lining up the math symbols with other formulae text.
Can anyone here help me out?
Thank you so much
Cairoo
I need to render mathematical formulae in my LiveCode cross-platform app. I tried going the MathML way with a browser but it just won't work consistently, so now I'm trying to write my own math rendering library. I ran into what seems to be a brick wall because I can't find a way to determine the baseline of text in a field. LC will let me find the height and line spacing, but it does no good in my quest for the baseline, which is crucial for lining up the math symbols with other formulae text.
Can anyone here help me out?
Thank you so much
Cairoo