Bug 960115 - No longer scale stretchy operators when a variant of any size is found. r=karlt

This commit is contained in:
Frédéric Wang 2014-04-23 00:28:00 -04:00
parent e3e665a8de
commit 187d109cb4

View File

@ -1763,6 +1763,10 @@ nsMathMLChar::StretchInternal(nsPresContext* aPresContext,
mUnscaledAscent = aDesiredStretchSize.ascent;
}
if (glyphFound) {
return NS_OK;
}
// stretchy character
if (stretchy) {
if (isVertical) {
@ -1795,7 +1799,7 @@ nsMathMLChar::StretchInternal(nsPresContext* aPresContext,
// We do not have a char variant for this largeop in display mode, so we
// apply a scale transform to the base char.
if (!glyphFound && largeop) {
if (largeop) {
float scale;
float largeopFactor = kLargeOpFactor;