W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2006

[whatwg] Canvas lack of drawString method

From: James Graham <jg307@cam.ac.uk>
Date: Tue, 17 Oct 2006 22:11:01 +0100
Message-ID: <453546E5.8030701@cam.ac.uk>
Mathieu Henri wrote:
>> I believe that some people's reason for not wanting to add it was 
>> because of Accessibility concerns.
> But if a user agent do no support Canvas, it MUST fallback to the 
> descendant tags of the Canvas.
> There you have the accessibility mean.

So how would I, using my canvas-supporting browser, make the text larger 
when the page author decided to make it illegibly (for me) small.

The idea that accessibility features are for people who need special 
browsers is a myth.

(actually the whole text-on-a-drawing thing is a huge can of worms. What 
if the browser has different fonts to the author? Font substitution can 
lead to a font being used with the wrong width, leading to text 
overlapping the drawing. (Browser implementations of) SVG have this 
problem. The same issues can occur if the text can be rescaled but not 
he graphic elements. The obvious solution to this - rescaling text and 
graphic in lockstep - is an improvement but can lead to huge amounts of 
unnecessary scrolling if the unscaled figure has a width close to the 
screen width since there's no sane way to reflow a figure.)

"The universe doesn't care what you believe. The wonderful thing about 
science is that it doesn't ask for your faith, it just asks for your 
eyes" --- http://xkcd.com/c154.html
Received on Tuesday, 17 October 2006 14:11:01 UTC

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