Skip to content

Commit 32c540b

Browse files
committed
Merge branch 'issue1009' into develop. Issue #1009.
2 parents 0e07941 + 0a33759 commit 32c540b

File tree

1 file changed

+4
-1
lines changed
  • unpacked/jax/output/HTML-CSS

1 file changed

+4
-1
lines changed

unpacked/jax/output/HTML-CSS/jax.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,6 +1606,8 @@
16061606
+ String.fromCharCode((N&0x3FF)+0xDC00);
16071607
}
16081608
}
1609+
if (HTMLCSS.ffFontOptimizationBug && c[4] - c[2] > 125)
1610+
{span.style.textRendering = "optimizeLegibility"}
16091611
if (C.rfix) {this.addText(span,text+C.c); HTMLCSS.createShift(span,C.rfix/1000); return ""}
16101612
if (c[2] || !this.msieAccentBug || text.length) {return text + C.c}
16111613
// Handle IE accent clipping bug
@@ -3107,7 +3109,8 @@
31073109
HTMLCSS.Augment({
31083110
ffVerticalAlignBug: !browser.versionAtLeast("20.0"), // not sure when this bug was fixed
31093111
AccentBug: true,
3110-
allowWebFonts: webFonts
3112+
allowWebFonts: webFonts,
3113+
ffFontOptimizationBug: true
31113114
});
31123115
},
31133116

0 commit comments

Comments
 (0)