This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 14580 - filing a separate feature request as requested in http://www.w3.org/Bugs/Public/show_bug.cgi?id=14562 --- Please add a more elaborate font metrics object such as currently shimmed on https://github.com/Pomax/fontmetrics.js, so that graphics involving text
Summary: filing a separate feature request as requested in http://www.w3.org/Bugs/Publ...
Status: RESOLVED DUPLICATE of bug 7798
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML Canvas 2D Context (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-27 22:10 UTC by contributor
Modified: 2012-05-14 19:42 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2011-10-27 22:10:30 UTC
Specification: http://www.w3.org/TR/2dcontext/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
filing a separate feature request as requested in
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14562
---

Please add a more elaborate font metrics object such as currently shimmed on
https://github.com/Pomax/fontmetrics.js, so that graphics involving text that
has to interact with the canvas graphics (like every game that uses canvas2d,
for instance) stops being a headache. This won't break work already done by
people so far, and will make life a lot easier for people who actually use
canvas. More importantly, it makes canvas more interesting for people who
currently forego canvas for things like flash because just text width s not
enough to work with text-as-graphics (something very different from working
with text).

The issue is brushed on in bug 7798, but this is only a request for "height",
which is not really enough for playing with rasterised text on a canvas. It's
also a ticket from over two years ago without any progress on it, even though
all major browsers (Firefox, Chrome, Opera, IE and Safari) have had support
for canvas and the canvas2d text metrics object for a while now. Now might be
a good time to close that bug as incomplete feature request, to be superseded
by a more complete request instead.

Posted from: 205.250.164.138
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.187 Safari/535.1
Comment 1 Ian 'Hixie' Hickson 2011-11-01 05:39:27 UTC
7798 is acting as the placeholder for the next TextMetrics update, it's not just about height any more.

*** This bug has been marked as a duplicate of bug 7798 ***