Skip to content

Commit 4e39770

Browse files
committed
Remove fonts from default VARIANT values, which where causing -smallOP to no inherit the normal fonts; this caused \int in STIX (and other fonts) not to be found, and so default to unknown character bboxes. Resolves issue #820.
1 parent ae31979 commit 4e39770

File tree

1 file changed

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

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -384,10 +384,8 @@
384384
FONTDATA: {
385385
TeX_factor: 1, baselineskip: 1.2, lineH: .8, lineD: .2, ffLineH: .8,
386386
FONTS: {},
387-
VARIANT: {
388-
"normal": {fonts:[]}, "-generic-variant": {fonts:[]},
389-
"-largeOp": {fonts:[]}, "-smallOp": {fonts:[]}
390-
}, RANGES: [], DELIMITERS: {}, RULECHAR: 0x2D, REMAP: {}
387+
VARIANT: {"normal": {fonts:[]}, "-generic-variant": {}, "-largeOp": {}, "-smallOp": {}},
388+
RANGES: [], DELIMITERS: {}, RULECHAR: 0x2D, REMAP: {}
391389
},
392390

393391
Config: function () {

0 commit comments

Comments
 (0)