← All posts

Why ASCII art looks different on every screen: the rendering reality

Why ASCII art looks different on every screen: the rendering reality

Here is something that still gets me every time. You paste a piece of ASCII art into a chat window and it looks crisp. Perfectly aligned. Then you open the exact same text in a code editor, or a terminal, or a document, and half the diagonal lines have fallen apart into a staircase. Same characters. Same file. Same screen. Different art.

I want to walk you through why, because the answer is stranger than "your monitor is bad." The truth is that ascii rendering differences come from a stack of mismatched grids, and they explain a bunch of things you probably take for granted every day. They also explain why the tools we use to make ASCII art on the web — like the ascii.im studio — have to make so many careful choices about what a "pixel" really means when the only thing they are allowed to draw with is text.

The illusion that breaks: ascii rendering differences in your grid

Start with the trick that makes ASCII art possible at all. Every terminal, every code editor, every monospace text field on earth divides a line into a fixed number of columns. Say eighty. Every character, whatever shape it draws, occupies exactly one of those columns and exactly one row of lines. That's the deal. Your art is a grid of cells, and each cell holds one glyph.

Now here's the part I love. That grid is almost square. In most fonts, the character cell is taller than it is wide — a monospace cell is often around 0.6 as wide as it is tall, because we descend from typewriters where the mechanism squeezed the page and characters had to be narrow enough to fit a ribbon.

So the art you designed assumed square cells. The screen gives you cells that are roughly half as wide as they are tall. Everything vertical is stretched, everything horizontal is compressed, and your carefully hand-tuned diagonal —

  /\
 /  \
/____\

— becomes a smear.

Now the trick every ASCII artist learns, usually by accident: you compensate by using fewer horizontal characters than vertical ones. That's why so many pieces of ASCII art look slightly "stretched out" if you paste them into a proportional font. But the compensation only works if the font's aspect ratio matches what the artist assumed. Change the font, change the ratio, and the compensation overshoots or undershoots. The art wasn't broken. Your grid changed shape underneath it.

Monospace rendering is a promise, not a guarantee

People say "monospace rendering" like it's one thing. It isn't. It's a promise that every glyph in the font occupies the same horizontal advance width. Nothing else about it is guaranteed.

The promise says nothing about the design of the glyph itself. A monospace font can draw a very wide-looking capital M inside its cell and a very narrow-looking lowercase l inside that exact same cell, and both are perfectly compliant. The advance width is uniform; the ink inside the box is up to the font designer.

That means the classic ASCII art "shadow" trick — using a heavier character like # or @ to fake density next to a lighter . — only works if your font's # is actually drawn heavier than its .. Many terminal fonts are not. Many are. The terminal can't enforce it; it's a property of the typeface, and it varies wildly across the fonts people actually use.

Let me be honest about what I see in my own terminal versus what I see in a browser. The browser's default monospace stack — usually a Courier variant on Linux, Menlo or Consolas on a Mac, Cascadia Code on Windows — is drawn with hinting and designed for the terminal grid. Those look great. But when someone sends me art pasted out of Notepad, or out of a Google Doc, or rendered inside a chat bubble with a proportional fallback, I can spot it instantly. The proportions are wrong, the shading is muddy, and the whole thing looks like it was printed on tissue paper.

This is where most text art display issues actually begin: not with the art, but with the container.

Hint, subpixel, and the lie of the crisp pixel

Now let's go one level deeper, and this is the part that genuinely surprised me when I first learned it.

A terminal character cell isn't a square of pixels. It's a rectangle. On a modern display, that rectangle is maybe 9 pixels wide by 18 tall, or 8 by 19, or 10 by 22. The font's vector outlines get scaled to fit that rectangle, and then the rasterizer has to decide which pixels actually turn on.

Modern rasterizers do this two ways, and they mix them. Hinting snaps outlines to the pixel grid — it tells the glyph "your vertical stem should land exactly on these pixel columns." Subpixel rendering uses the red, green, and blue subpixels inside a single pixel to render the glyph at effectively three times horizontal resolution. Subpixel rendering makes small text beautifully smooth, and it makes your ASCII art look slightly smeared at the edges because the colored fringes fall in slightly different places than the ink actually is.

Add font smoothing and LCD vs grayscale filtering on top of that, and you have three or four different rendering pipelines depending on your OS, your GPU, your terminal emulator, and whether you're on a retina panel or a 1080p monitor.

The punchline: the same font file at the same nominal size produces genuinely different bitmap shapes on different machines. Not slightly different. Actually different outlines. A diagonal that lands on a pixel column on my display lands half a pixel to the left on yours, and that single half-pixel is the entire difference between a clean diagonal and a jagged one. This is the core of ascii rendering differences: the art is a grid of characters drawn on a grid of pixels, and the two grids have nothing to do with each other.

The font is the artist's instrument

Once you accept that, something important follows: in ASCII art, the font is the brush. Not a detail. The instrument.

Artists who came up through BBS culture and ANSI art often had a very specific font in mind — usually the IBM VGA 437 hardware font, or its descendants like Fixedsys, or the "Perfect DOS VGA" fonts the demoscene loved. That font has a specific personality: 8x16 cells, blocky, with distinctive shapes. The @ in it doesn't look like the @ in every other font. The # has a particular weight. When you draw a spaceship with that alphabet and then view it in Consolas, you get a spaceship that is almost right, in the way a translation is almost right.

So the practical question becomes: which font is your art targeting? The honest answer for most of us is "whichever one I have," which is why the same piece looks great in one screenshot and flat in another.

A few things worth knowing, in my experience:

Pick a font designed for the grid. Tall narrow-ish glyphs, reasonable stroke weight, symbols that don't collapse into each other — that holds your art together far better than a general-purpose coding font where the designer optimized for code readability, not shape fidelity.

Line height matters more than point size. If your terminal gives you 18 lines in the vertical space another gives 16, your proportions change. A skull drawn for an 8x16 grid becomes tall and gaunt at 8x20, squat at 8x13. This is why I like rendering ASCII art in a fixed-size preview — you see it in the proportions it was drawn for, instead of trusting the reader's font. The text pixel art guide goes into this in more detail.

Bold and dim text shift the grid. A font's bold variant is not always the same width as its regular, and a few terminal emulators apply synthetic bold, which smears the ink sideways by a fraction of a pixel — and a fraction of a pixel, as we established, is the whole game.

Where the browser is actually the good guy

Here's a bit of good news, and it surprised me too.

Your browser's monospace rendering is the most consistent environment most people will ever see. DOM text on the web goes through the OS font rasterizer with modern hinting and subpixel AA, and — crucially — the CSS ch unit lets you measure a character cell exactly. One ch is the width of one 0 glyph. That's a portable way to size an ASCII grid: set the line height to twice the character width, your cells become square, and your art stops being distorted.

That's the whole trick behind a lot of beautiful ASCII renderers on the web, and it's why art viewed in a browser with a well-tuned letter-spacing and line-height rule looks so much better than the same piece dumped into a chat window.

But the web has its own trap. Font loading. If a page loads a font from a CDN and you view it before the font arrives, the browser shows the fallback, which has a different aspect ratio. The art briefly collapses and then snaps into place. You see a flash of broken art, and you blame the art.

And then there's zoom. Everyone's screen scale is different: 100%, 125%, 150%, 175%, and fractional scaling on top. At 125% on a 1080p display, one character cell might land on 10.4 pixels instead of 9. The rasterizer is then scaling outlines by a non-integer factor and anti-aliasing instead of hinting — and your diagonal lines soften accordingly. This is the single biggest source of text art display issues I get asked about, and the answer is usually "your display scale is fighting the grid."

Fixing the most common text art display issues

Let me get concrete, because "it's the fonts" is not advice.

If you're making ASCII art, draw it in the environment you want it judged in. If it's going on a web page, build it in a browser with a fixed character cell and check it in Chrome, Safari, and Firefox. If it's going in a terminal, pick a font with an 8x16-ish grid heritage and don't resize the terminal mid-composition.

If you're viewing art someone sent you and it looks broken, before you assume the artist did a bad job, try these in order: check whether you're in a proportional font (by far the most common culprit), check the display scaling, check whether you're in a terminal with a nonstandard line height, and only then question the art.

If you're building tools — and this is why I care about the ascii.im studio — treat the character cell as a first-class primitive. Measure it, make it square, make it explicit, and give the user control over font, line height, and character set.

Where the aesthetic actually comes from

Let me back up a second, because I've buried the lede.

There's a reason this whole mess doesn't matter as much as it should. Old ASCII art has a specific look — the reason it feels like 1984 and not like a spreadsheet — because it was drawn for a font that no longer exists on your machine. Every VGA artist's hand was calibrated to a glyph set you cannot install. Their \ was not your \. Their @ was heavier. Their block characters were literally solid rectangles of pixels, a thing no proportional font can do.

When I make ASCII art now, I still draw in the vocabulary of that machine. I still use the block shading characters, the \+| density trick, the deliberate 2:1 vertical compensation. I'm not making art for your screen. I'm making art that carries a memory of a specific screen, and trusting the reader's screen to get close enough.

And this is the actual answer to why ascii looks different everywhere: it doesn't look different because any one screen is broken. It looks different because ASCII art was never a single artifact to begin with. It was a recipe, a set of instructions for drawing with a grid of characters, and it always needed a font to become an image. The image was never in the file. The image was in the file plus the reader's font plus the reader's display scaling plus the reader's GPU plus the rasterizer's mood on the day.

We just happened to agree on the fonts for about thirty years. Now we don't, and the disagreement shows up in every single staircase diagonal.

So here's my question for you, and I'll leave it there. If ASCII art is really a recipe rather than an image, then when you make something in a browser-based canvas today — with a selectable font, a downloadable PNG, a shareable link — are you making art, or are you making a recipe generator that happens to render a preview? And does the answer change how you should draw?

If you want to try the experiment yourself, the ascii.im studio is free to play with, and if you need a plan for picking fonts and sizes, the pricing page has the tiers for exporting. Either way, I'd love to see what your screen does to a \ character. Mine has feelings about it.

Why ASCII art looks different on every screen: the rendering reality — ascii.im Blog