mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 960115 - No longer scale stretchy operators when a variant of any size is found. r=karlt
This commit is contained in:
parent
e3e665a8de
commit
187d109cb4
@ -1763,6 +1763,10 @@ nsMathMLChar::StretchInternal(nsPresContext* aPresContext,
|
|||||||
mUnscaledAscent = aDesiredStretchSize.ascent;
|
mUnscaledAscent = aDesiredStretchSize.ascent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (glyphFound) {
|
||||||
|
return NS_OK;
|
||||||
|
}
|
||||||
|
|
||||||
// stretchy character
|
// stretchy character
|
||||||
if (stretchy) {
|
if (stretchy) {
|
||||||
if (isVertical) {
|
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
|
// We do not have a char variant for this largeop in display mode, so we
|
||||||
// apply a scale transform to the base char.
|
// apply a scale transform to the base char.
|
||||||
if (!glyphFound && largeop) {
|
if (largeop) {
|
||||||
float scale;
|
float scale;
|
||||||
float largeopFactor = kLargeOpFactor;
|
float largeopFactor = kLargeOpFactor;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user