2009-04-21

Text support on trunk

Thanks to Fabien Menager we now support drawing text in Explorer Canvas. You can now use the following methods: fillText, strokeText and measureText.

The implementation uses VML text paths which allows text to be drawn on any path. For canvas we don't really need to support text on arbitrary paths so we just use a simple VML line element here.

Scaling is currently not working correctly but we know how to fix that and we expect to have that fixed within a few days.

The code is based on Canvas Text, another open source project by Fabien which adds text support for old browsers that have canvas without text support.

3 comments:

Shyru said...

Great! Any plans to release a new version when this feature is finished?

Lailson Bandeira said...
This post has been removed by the author.
Lailson Bandeira said...

Really nice, I was using the release version and was thinking of implementing text support, since it was essential to the project I'm doing. This saves me *a lot* of work... =D
And how is the progress with scaling? Thanks for making what Microsoft should be doing...

Post a Comment