[whatwg] Font metrics

> a extra readonly attribute float "height" to the "TextMetrics" interface should be fairly trivial to implement for browser vendors and would greatly help web developers layout text in Canvas.

It would certainly help - might it also be possible to add a similar "baseline" (or "ascent") attribute? If so, I would be very happy, since this would cover most (if not all) of my use cases.  :-)

Greg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100406/a47a117e/attachment.htm>

Received on Tuesday, 6 April 2010 06:44:10 UTC