I want to draw text on canvas., how to do it any sample example?
The canvas already contains some shape drawn, i want to show text on the top of that shape on canvas
How can i do it?
I want to draw text on canvas., how to do it any sample example?
Share
Also be aware that you need to actually have loaded a cufon font. There is no default font when using Fabric.js.
There are so many fonts available from http://www.cufonfonts.com/
This being the case the author is planning on removing the need for cufon. Discussed here: Fabric.js + Google Fonts
If you’re wanting to render a block, then some text inside of that block. I would do something like this.