[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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user