> 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") att
On Sat, 03 Apr 2010 17:23:39 +0300, Greg Brown wrote:
OK, that makes sense. Thanks for the info.
However, 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
OK, that makes sense. Thanks for the info.
On Apr 2, 2010, at 5:39 PM, Ian Hickson wrote:
> On Fri, 2 Apr 2010, Greg Brown wrote:
>>
>> In reviewing the current draft API for the element
>> (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html),
>>
>> I noticed
On Fri, 2 Apr 2010, Greg Brown wrote:
>
> In reviewing the current draft API for the 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 bound
Hi all,
In reviewing the current draft API for the 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 disc