зеркало из https://github.com/mozilla/gecko-dev.git
bug 772640 - fix for incorrect glyph positioning in multi-glyph RTL clusters generated by Graphite shaping. r=jdaggett
This commit is contained in:
Родитель
db78ff9af9
Коммит
42d1b03c30
|
@ -340,7 +340,9 @@ gfxGraphiteShaper::SetGlyphsFromSegment(gfxShapedWord *aShapedWord,
|
|||
d->mAdvance = appAdvance;
|
||||
clusterLoc = xLocs[j];
|
||||
} else {
|
||||
d->mXOffset = (xLocs[j] - clusterLoc - adv) * dev2appUnits;
|
||||
d->mXOffset = dev2appUnits *
|
||||
(rtl ? (xLocs[j] - clusterLoc) :
|
||||
(xLocs[j] - clusterLoc - adv));
|
||||
d->mAdvance = 0;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче