mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-07 13:24:12 +00:00
Reverse the y offsets returned by ScriptPlace(). Bug 361782, r=pavlov
This commit is contained in:
parent
d32a138cc9
commit
73591377ea
@ -1172,7 +1172,7 @@ public:
|
||||
for (PRInt32 k = 0; k < mNumGlyphs; k++) {
|
||||
cglyphs[k].index = mGlyphs[k];
|
||||
cglyphs[k].x = pt.x + offset + (mOffsets[k].du * cairoToPixels);
|
||||
cglyphs[k].y = pt.y + (mOffsets[k].dv * cairoToPixels);
|
||||
cglyphs[k].y = pt.y + (mOffsets[k].dv * cairoToPixels * -1);
|
||||
|
||||
if (!mSpacing->IsEmpty() && mSpacing->Length() >= mNumGlyphs) {
|
||||
// XXX We need to convert char index to cluster index.
|
||||
|
Loading…
Reference in New Issue
Block a user