Bug 474819 - Correct the sign of baseline offsets in ATSUI font backend. r=roc

This commit is contained in:
Jonathan Kew 2009-02-26 19:58:31 +13:00
parent ad2f765c3e
commit 3c011596d4

View File

@ -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) {