Search code examples
javascriptcanvashtml5-canvasantialiasing

Canvas blocky font rendering in JavaScript


i want to draw Blocky Font (Atari-Like) on a big Canvas. I have already made a Canvas which copies the rendered scene from a small 40-by-40 pixel canvas. But it looks like the Font is smoothed-out by the small canvas. How can I disable that?


Solution

  • Found it, needed to use ctx.fillText instead of ctx.strokeText.