Setting Context.canvas.width Changes Context.font
I want to create an image via a canvas. However some weird stuff happens as context.font is changed when I assign context.canvas.width a value. Here is my code: var canvas = window
Solution 1:
When you change the size of the canvas, every property of the context is reset to its default value.
Post a Comment for "Setting Context.canvas.width Changes Context.font"