mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 474819 - Correct the sign of baseline offsets in ATSUI font backend. r=roc
This commit is contained in:
parent
ad2f765c3e
commit
3c011596d4
@ -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…
Reference in New Issue
Block a user