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;
|
||||
}
|
||||
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user