nikhilbchilwant / google-web-toolkit-incubator

Automatically exported from code.google.com/p/google-web-toolkit-incubator
1 stars 1 forks source link

Add text renderer for gfx canvas #252

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If you want to see this feature/enhancement implemented, please star this
issue by clicking on the star in the upper left hand corner of this page.

== Enhancement Description ==
I use the gfx part and I would like to be able to render text in the canvas.
I suppose it's possible using things like that :
https://developer.mozilla.org/en/Drawing_text_using_a_canvas even if i know
it requires firefox 3.

Thank you for reading this

Original issue reported on code.google.com by PaRaDoXX...@gmail.com on 17 Mar 2009 at 2:47

GoogleCodeExporter commented 8 years ago
Here is a small patch that adds basic text support to GWT Canvas. I have not 
implemented IE support has there are other issues with IE support. What about 
using 
excanvas?

Original comment by nuno.mt....@gmail.com on 7 Apr 2010 at 2:09

Attachments:

GoogleCodeExporter commented 8 years ago
I added an Issue 349 to show how to use excanvas and GWT Canvas together.

Original comment by mbis...@gmail.com on 7 Apr 2010 at 10:59

GoogleCodeExporter commented 8 years ago
is there any way to apply the patch mention by nuno.mt.sousa and create a jar 
file
without using eclipse?

Original comment by monstern...@gmail.com on 11 May 2010 at 10:46

GoogleCodeExporter commented 8 years ago
Why would you need eclipse to make the JAR file? You can checkout the source 
code of 
the project, apply the patch and use Ant to build the distribution.

Original comment by nuno.mt....@gmail.com on 11 May 2010 at 12:54

GoogleCodeExporter commented 8 years ago
this is what i get when i use ant,what do i set GWT_TOOLS to?
C:\Users\monsternoobA\Desktop\gwt-incubator\build.xml:42: The following error
occurred while executing this line:
C:\Users\monsternoobA\Desktop\gwt-incubator\common.ant.xml:81: can't find gwt 
tools,
please set gwt.tools property (ant -Dgwt.tools=...) or define the GWT_TOOLS 
environ
ment variable

Original comment by monstern...@gmail.com on 21 May 2010 at 6:24