зеркало из https://github.com/mozilla/pjs.git
Bug 374580. Fix embarrassing RTL regression on Mac. r=pavlov
This commit is contained in:
Родитель
6b345f1701
Коммит
08c2da68e4
|
@ -665,7 +665,7 @@ PostLayoutCallback(ATSULineRef aLine, gfxTextRun *aRun,
|
|||
|
||||
// Now process the rest of the glyphs, which should basically be in
|
||||
// the textrun's desired order, so process them in textrun order
|
||||
PRInt32 direction = PRUint32(aRun->GetDirection());
|
||||
PRInt32 direction = PRInt32(aRun->GetDirection());
|
||||
while (numGlyphs > 0) {
|
||||
PRUint32 glyphIndex = isRTL ? numGlyphs - 1 : 0;
|
||||
PRUint32 lastOffset = glyphRecords[glyphIndex].originalOffset;
|
||||
|
|
Загрузка…
Ссылка в новой задаче