GXT Canvas: What is the format to define a Font?

2012-11-06 Thread netCob
Hi, I'm trying to use the* com.google.gwt.canvas.client.Canvas Context2d setFont *(String fontString) method, but I didn't found any specification for the font string format. I tried getFont(), and I get 10px sans-serif... But for instance how set a Arial bold font? Thanks netCob -- You

Re: GXT Canvas: What is the format to define a Font?

2012-11-06 Thread Jens
It's the same as the CSS font syntax. http://www.w3.org/TR/2010/WD-2dcontext-20100624/#text -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit