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

[whatwg] Canvas lack of drawString method

From: Charles Iliya Krempeaux <supercanadian@gmail.com>
Date: Tue, 24 Oct 2006 16:02:20 -0700
Message-ID: <84ce626f0610241602o5402f39eha21de622714bff76@mail.gmail.com>
Hello,

There's also these ones...

http://www.donfrehulfer.com/texttest.html
http://caimansys.com/projects/canvas/digiclock.html
http://andrewwooldridge.com/canvas/canvasfonts/testfonts.html

On a separate note... I've been thinking that it would be useful to have a
program that could take a TTF font file and transform it into some
JavaScript that would draw the "strings" with the Bezier curve procedures
that <canvas> already has.


See ya

On 10/24/06, Alfonso Baqueiro <abaqueiro at gmail.com> wrote:
>
> This is the kind of hacks a drawString method can prevent.
>
> 2006/10/24, Lachlan Hunt <lachlan.hunt at lachy.id.au>:
> > Alfonso Baqueiro wrote:
> > > The canvas component is very promising, but the lack of drawString
> method
> > > could be a great error for its success, this lack is a huge
> limitation, how
> > > could you resolve this problem?
> >
> > Just for a bit of fun, I created a demo to show how it is already
> > possible to render text on canvas.  This technique has certainly got
> > many limitations and could never be made as good as a native
> > implementation, but it works Firefox, Opera and Safari.
> >
> > http://lachy.id.au/dev/2006/10/canvas-text
> >
> > --
> > Lachlan Hunt
> > http://lachy.id.au/
> >
>



-- 
    Charles Iliya Krempeaux, B.Sc.

    charles @ reptile.ca
    supercanadian @ gmail.com

    developer weblog: http://ChangeLog.ca/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20061024/0fdea7eb/attachment.htm>
Received on Tuesday, 24 October 2006 16:02:20 UTC

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