[whatwg] Font metrics

Greg Brown gkbrown at mac.com
Tue Apr 6 06:44:10 PDT 2010

> 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.  :-)


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

More information about the whatwg mailing list