Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#9 vinculums's relative thickness varies over magnifications

v0.9
open-later
nobody
5
2010-01-08
2009-12-23
Anonymous
No

This is an "imperfection", not a bug.

In the right hand side of "An Identity of Ramanujan" at <http://www.mathjax.org/?page_id=13>, there are a series of vinculums (fraction bars). In Firefox 3.5.6 OS X, these render with different apparent thicknesses, and which vinculums are thick or thin *change* depending on which magnification I use. (Safari and Chrome on OS X both produce nicer results.)

Discussion


  • Anonymous
    2009-12-23

    Hrmm, I know realise that which bars are thick and thin is not simply a function of the magnification, but also of the recent magnification history! I guess this is just a Firefox peculiarity, and not a MathJax issue.

     
  • The thickness of the fraction lines are specified to the browser in em's not pixels (so that they scale properly), and the mapping of em's to pixels is subject to round off issues. These seem to be particularly troublesome in Firefox, and you are right that it depends on the initial magnification. I hadn't realized it also depended on the zoom history, though.

    If the thickness is too small, Firefox may remove the line entirely (you can see this by zooming down to very small sizes), so MathJax uses a minimum size that is about one and a quarter pixels (at the default magnification) to try to prevent the line from disappearing. Unfortunately, FF still sometimes makes this two pixels wide rather than just one.

    Davide

     
    • milestone: --> v0.9
    • status: open --> pending-later
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending-later --> closed-later
     
  • Sorry, didn't know pending trackers would close automatically. I've reopened it, but left it as to be handled later.

    Davide

     
    • status: closed-later --> open-later