Getting fonts in html 5 Canvas
You can "break Apart" text
so that it becomes a graphic
You can use google fonts with a little JavaScipt in the Flash file:
Example:
Dorsa font on a html 5 canvas page
In the timeline add this code:
var txt = new createjs.Text();
txt.font = "bold 36px Dorsa";
txt.color = "#000000";
txt.text = "Hello World!";
txt.x = 100;
txt.y = 100;
this.addChild(txt);
Publish the file and then add this code from Google fonts:
<link href='http://fonts.googleapis.com/css?family=Dorsa' rel='stylesheet' type='text/css'>
For referrence check out this article:
http://www.nathalielawhead.com/candybox/tutorial-building-a-game-with-flash-html5-canvas-createjs-haxatron-2000
<
>