I'm making a game with a canvas scaled up such that each pixel is pretty big. I want to display some pixelated text without anti-aliasing but I have idea how I would accomplish this.
Is there I way can do such a thing?
I'm making a game with a canvas scaled up such that each pixel is pretty big. I want to display some pixelated text without anti-aliasing but I have idea how I would accomplish this.
Is there I way can do such a thing?
In the css, you need to disable font smoothing for canvas:
canvas{
font-smooth: never;
-webkit-font-smoothing : none;
}