W3C home > Mailing lists > Public > public-canvas-api@w3.org > July to September 2011

Re: Firefox and text on canvas

From: Charles Pritchard <chuck@jumis.com>
Date: Fri, 23 Sep 2011 12:41:34 -0700
Message-ID: <4E7CE0EE.8080406@jumis.com>
To: paniz alipour <alipourpaniz@gmail.com>
CC: Canvas <public-canvas-api@w3.org>, Richard Schwerdtfeger <schwer@us.ibm.com>, Steve Faulkner <faulkner.steve@gmail.com>, Cynthia Shelly <cyns@microsoft.com>, Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
FF 3.0 had experimental methods:

TextStyle is pretty much ".font" nowadays. PathText was not used,
strokeText and fillText were used instead.

You can get a similar effect by simply running PathText then running 
stroke or fill.

There is a -big- difference in the consequences; the font size used when 
strokeText and fillText
are used is quite visible, whereas the font size with Mozilla's 
experimental API was not that important,
as it simply used a series of vector commands. strokeText and fillText 
-may- pre-composite a bitmap.

On 9/22/2011 8:01 AM, paniz alipour wrote:
> Hello All,
> I am using FF3.0.19 and investigating Text on Canvas but as I see Text 
> doesn't appear on Canvas however when
> I run it by Google Chrome text appears on Canvas .
> Is there any problem with Canvas , Text and Firefox?
> Thanks in advance
> -- 
> Paniz Alipour
Received on Friday, 23 September 2011 19:41:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:10:32 UTC