I\'m trying to write some text to a canvas element, but it seems that the font options I put in are being completely ignored. No matter what I change them to, it all comes o
That this can also happen if you reset the size of the canvas. At least, I saw this in Chrome 23 today.
context.font = 'bold 20px arial'; canvas.width = 100; canvas.height = 100; console.log(context.font); // gives '10px sans-serif'