Add text-rending:optimizeLegibility to integrals and other characters that extend well past their width. Resolves issue #1009
This commit is contained in:
parent
0740dd4735
commit
0a33759241
|
@ -1606,6 +1606,8 @@
|
|||
+ String.fromCharCode((N&0x3FF)+0xDC00);
|
||||
}
|
||||
}
|
||||
if (HTMLCSS.ffFontOptimizationBug && c[4] - c[2] > 125)
|
||||
{span.style.textRendering = "optimizeLegibility"}
|
||||
if (C.rfix) {this.addText(span,text+C.c); HTMLCSS.createShift(span,C.rfix/1000); return ""}
|
||||
if (c[2] || !this.msieAccentBug || text.length) {return text + C.c}
|
||||
// Handle IE accent clipping bug
|
||||
|
@ -3107,7 +3109,8 @@
|
|||
HTMLCSS.Augment({
|
||||
ffVerticalAlignBug: !browser.versionAtLeast("20.0"), // not sure when this bug was fixed
|
||||
AccentBug: true,
|
||||
allowWebFonts: webFonts
|
||||
allowWebFonts: webFonts,
|
||||
ffFontOptimizationBug: true
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user