Bug 346417 RTL justify code is wrong in nsTextFrame r=smontagu, sr=roc

git-svn-id: svn://10.0.0.236/trunk@206705 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
masayuki%d-toybox.com
2006-08-07 06:27:57 +00:00
parent e410a6f9d9
commit 3f887ada2c

View File

@@ -3724,12 +3724,7 @@ nsTextFrame::PaintTextSlowly(nsPresContext* aPresContext,
nsTextDimensions newDimensions;//temp
#ifdef IBMBIDI // Simon - display substrings RTL in RTL frame
if (isRightToLeftOnBidiPlatform)
{
nsTextDimensions frameDimensions;
GetTextDimensions(aRenderingContext, aTextStyle, text,
(PRInt32)textLength, iter.IsLast(), &frameDimensions);
currentX = dx + frameDimensions.width;
}
currentX = dx + mRect.width;
#endif
while (!iter.IsDone())
{