[Bug 7369] if context font is set to '' or null, the font from the css should be used. In this case, you have no idea what font is being use, so measureText should return a height of the font, as well as the width so that proper displaying can be done.

http://www.w3.org/Bugs/Public/show_bug.cgi?id=7369


Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |NEEDSINFO




--- Comment #1 from Ian 'Hixie' Hickson <ian@hixie.ch>  2009-09-19 22:04:29 ---
Can't you figure out the em height by getting .font and parsing it?

I mean, I agree we need to improve the metrics in due course, but it doesn't
seem that it's as pressing as is described above.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Saturday, 19 September 2009 22:04:39 UTC