Fix font-size calculation if font-family's differ #2

Merged
merged 1 commit into from Oct 6, 2011
Commits on Oct 5, 2011
  1. Fix font-size calculation if font-family's differ

    melo committed Oct 5, 2011
    If the original DOM element and the copy DOM element have very different
    font-family's, this calculation could be way off, and generate a very big
    overlay.
    
    By using the copy's width and height we do the calculation with
    the final font-family and assure that its always good.