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