My favorites | Sign in
Google
                
New issue | Search
for
| Advanced search | Search tips
Issue 6: Implement text rendering
6 people starred this issue and may be notified of changes. Back to list
Status:  Started
Owner:  erik.arvidsson
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by erik.arvidsson, Feb 24, 2009
VML has some text support and we should be able to get basic text support 
working in canvas.

Comment 1 by fabien.m...@gmail.com, Apr 13, 2009
I tried to implement text support in ExCanvas, I based my implementation on the work
I made on the lib I made to add this support on browsers that don't already do :
http://code.google.com/p/canvas-text/. This lib works on IE 6/7/8 with ExCanvas, but
is really slow as it draws the glyphs with the canvas functions moveTo, lineTo and
quadraticCurveTo.
A solution is, as you said, to use the VML text support. I joined a patch containing
these features (strokeText, fillText and measureText). It implements a big part of
the W3 spec (a little bit less than my implementation in canvas-text : the biggest
problem is that it doesn't take x/y scale into account, but can it be fixed with the
Matrix filter). The patch also contains the little modifications I talked about in
another issue (little code optimizations).

Please let me know whet you think about it.

Fabien
excanvas_textmethods.patch
12.2 KB   Download
Comment 2 by erik.arvidsson, Apr 19, 2009
(No comment was entered for this change.)
Status: Started
Sign in to add a comment