[MATHML] *Restructuration to put member data into a mPresentationData struct. *Added support for accent and accentunder, with provision for embellished operators. *Changed usage of GetBoundingMetrics() to the X Windows character coordinate system

git-svn-id: svn://10.0.0.236/trunk@57807 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rbs%maths.uq.edu.au
2000-01-14 08:38:25 +00:00
parent 99d3f3f2ed
commit fc2686eba5
24 changed files with 879 additions and 215 deletions

View File

@@ -156,7 +156,7 @@ nsMathMLmsqrtFrame::Reflow(nsIPresContext* aPresContext,
// overline bar
renderingContext.GetBoundingMetrics(mBarChar.GetUnicode(), PRUint32(1), bmBar);
nscoord thickspace = bmBar.ascent - bmBar.descent; // height of the overline bar
nscoord thickspace = bmBar.ascent + bmBar.descent; // height of the overline bar
// Stretch the sqrt symbol to the appropriate height if it is not big enough.
nsStretchMetrics contSize(aDesiredSize);