mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00
Bug 474819 - Correct the sign of baseline offsets in ATSUI font backend. r=roc
This commit is contained in:
parent
9d5eb50e56
commit
f9fb9cf40d
@ -1139,7 +1139,7 @@ SetGlyphsForCharacterGroup(ATSLayoutRecord *aGlyphs, PRUint32 aGlyphCount,
|
||||
aAppUnitsPerDevUnit);
|
||||
}
|
||||
details->mYOffset = !aBaselineDeltas ? 0.0f
|
||||
: FixedToFloat(aBaselineDeltas[i])*aAppUnitsPerDevUnit;
|
||||
: - FixedToFloat(aBaselineDeltas[i])*aAppUnitsPerDevUnit;
|
||||
}
|
||||
}
|
||||
if (detailedGlyphs.Length() == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user