mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 772640 - fix for incorrect glyph positioning in multi-glyph RTL clusters generated by Graphite shaping. r=jdaggett
This commit is contained in:
parent
aa64548679
commit
dcaf7cf48c
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user