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

[whatwg] Font metrics

From: Greg Brown <gkbrown@mac.com>
Date: Fri, 02 Apr 2010 12:59:09 -0400
Message-ID: <365E0DE8-F722-4F01-A024-BC4C71E603F3@mac.com>
Hi all,

In reviewing the current draft API for the <canvas> element (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html), I noticed that there is no support for obtaining font metrics such as ascent, descent, leading, and bounding box. It seems like the most recent discussion regarding font metrics took place a couple of years ago:


But even that thread refers to discussions from 2006.

I would personally like to see support for these values added to the API. Is this something that could be considered for the final spec? What are the major obstacles to providing such support? I would think that this information could be easily obtained using the underlying graphics API, but maybe I am missing something.

Received on Friday, 2 April 2010 09:59:09 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:22 UTC