<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>14580</bug_id>
          
          <creation_ts>2011-10-27 22:10:30 +0000</creation_ts>
          <short_desc>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</short_desc>
          <delta_ts>2012-05-14 19:42:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML Canvas 2D Context</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>7798</dup_id>
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#top</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>lrosenth</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59108</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-10-27 22:10:30 +0000</bug_when>
    <thetext>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&apos;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 &quot;height&quot;,
which is not really enough for playing with rasterised text on a canvas. It&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59359</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-11-01 05:39:27 +0000</bug_when>
    <thetext>7798 is acting as the placeholder for the next TextMetrics update, it&apos;s not just about height any more.

*** This bug has been marked as a duplicate of bug 7798 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>