#142562 problem with <td align=right or align=center
We are observing langGroup in some place while ignor it in others. This patch make all font metrics call consistent. nsIRenderingContext API is change to make things neat. r=rbs, sr=waterson git-svn-id: svn://10.0.0.236/trunk@122131 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -227,7 +227,7 @@ nsMathMLmrootFrame::Reflow(nsIPresContext* aPresContext,
|
||||
|
||||
const nsStyleFont *font = NS_STATIC_CAST(const nsStyleFont*,
|
||||
mStyleContext->GetStyleData(eStyleStruct_Font));
|
||||
renderingContext.SetFont(font->mFont);
|
||||
renderingContext.SetFont(font->mFont, nsnull);
|
||||
nsCOMPtr<nsIFontMetrics> fm;
|
||||
renderingContext.GetFontMetrics(*getter_AddRefs(fm));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user