W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2009

[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.

From: <bugzilla@wiggum.w3.org>
Date: Sat, 19 Sep 2009 22:04:29 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Mp82f-0007Qg-N4@wiggum.w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:01 UTC