|
Update
Looking around at what's available, I've found this. It's much better. CanvasText: How to get text on your canvas (HTML5)A Javascript library that allows you to write simple text to your canvas. The source that produces this text is:
<script type="text/javascript" src="CanvasText.js"></script>
This pulls in the CanvasText library. And this...
<script type="text/javascript">
...simply draws the alphabet. Wonderful eh? Note: This library is quite large at around 12k, so you may want to gzip it, for example mod_gzip should do it automatically for you. If you're not using Apache, you're on your own... :-) The gzipped version comes out at under 2k - quite a reduction. |
