W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2012

[whatwg] [Canvas] Text height

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 25 Apr 2012 17:50:39 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1204231851390.16099@ps20323.dreamhostps.com>
On Mon, 23 Apr 2012, Tyler Larson wrote:
>
> The measureText method in canvas' 2d context only returns the width of a 
> span of text. Why not the height?

Your information is out of date. :-)

http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-measuretext

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 25 April 2012 10:50:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:07 GMT