Forum Bugs

Very large 'padding' in mfrac bevelled

The 'padding' between the enumerator and denominator of a mfrac bevelled is quite large, making the result look quite bad. See the screenshot. The fraction should be drawn much smaller, preferably something like: (just a random image I found)

Here's code to reproduce (I'm using Prince 9 on Mac OS X 10.8):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
<HTML xmlns="" lang="en" xml:lang="en">
<math xmlns="" display="block">
<mrow><mi>12345</mi><mfrac bevelled="true"><mn>1</mn><mn>4</mn></mfrac><mi>12345</mi></mrow>
  1. Screen Shot 2013-09-05 at 2.04.39 PM.png8.6 kB
For simple numeric fractions it might be better to use the precomposed Unicode characters, eg. U+BC for one quarter, or an OpenType font that supports the "frac" feature. We do plan to improve MathML rendering, but our focus is on JavaScript DOM support for the time being.
Ah, that Unicode character works fine! In fact, the named version of it (&frac14;) works fine too, thanks!