I don’t know why but I’m unable to use a “degree” symbol (°) with fillText. I tried everything: ALT+248, ALT+0176, °, copy/paste from web… All I get is nothing or °. Works fine in code or on the same page in HTML – just not in canvas.
Anyone know how to fix this? Thanks.
This works for me, using a literal Unicode character in the text. See an example here:
http://jsfiddle.net/W5d7D/
Is your source file:
Here’s a standalone example showing Unicode working in HTML and on Canvas. You can see this online at http://phrogz.net/tmp/canvas_unicode_degree_symbol.html