Re:3270font: A Font for the Nostalgic
by rbanffy on Thursday October 01, 2020 @05:28AM
(#24649035)
Unless the bitmap font lines up with the pixels on the screen, the results are always terrible. They work well on CRTs because CRTs artifact away the pixels and blend them into round-edged horizontal lines. For high-dpi screens it's hopeless, as the pixels are invisible to the naked eye from a reasonable working distance.
[ Parent
| on HN ]
> Unless the bitmap font lines up with the pixels on the screen (...)
That's the basic tenet of bitmap fonts. You are not supposed to place them at sub-pixel positions, or to rescale them.
The visual effect of bad antialiasing is horrific, no matter the resolution of the screen. Even if your pixels are tiny, you readily notice if all the pixels are black and white only, or instead there are a few ugly "gray" pixels in between.
Re:3270font: A Font for the Nostalgic
by quietbritishjim on Thursday October 01, 2020 @06:09AM
(#24649257)
It's not the basic tenant of bitmap fonts from the 90's or earlier. CRT pixels (if you can call them that) would simply never line up perfectly (certainly not horizontally but also not vertically if I remember right). Screen fonts were specifically designed to look good after a bit of blurring, so to reproduce their originally intended display on modern screen it makes sense to artificially blur them a bit.
CRT pixels always line up perfectly because they are drawn with the electron gun, not etched into the screen like EL, plasma, or LCDs. OTOH, they are never square. They are always rounded at the ends and usually overlap due to focus and timing.
The electron gun draws through the shadow mask, which is fixed and independent of resolution. It's a debate long enjoyed by nitpickers.
Ok, how do we fix it?
You can apply a filter on top of a raw bitmap the same way programs like Cathode or Cool Retro Term do. This way you have CRT-like pseudopixels being rendered at the high resolution of native panel.
I used Cool Retro Term on Linux as my terminal in full screen when debugging stuff because the task was so boring that using an interesting terminal made it bearable.
Just use bitmap fonts as they are intended to be used, without antialiasing. They are beautiful.
I need a microscope to see a 5x7 font on my MBP screen.
Then use a larger font, duh
In order to be visible on the MBP screen, it'll require a humongous bitmap.
And the pixels will still be invisible to the naked eye. It'll make no difference.
Pixel-perfect fonts are great when you have 8-16 scanlines to define a character. It hasn't been like that for decades.