Two Slice, a font that's only 2px tall

1 day ago (joefatula.com)

There's a whole subculture for fonts smaller than 8 by 8, with real world uses for things such as small LED displays, for example. This is at the extreme end, though.

Also https://stormgold.itch.io/picket-right-font

  • I can think of a font that’s only 1 pixel high. Invented by Samuel Morse, takes a bit of practice to read :)

  • I wonder if there are really tiny fonts that make use of color. For example, this 2-pixel wide Picket Right font could theoretically be even thinner if we were to use sub-pixel features.

    At least, I think the 2-pixel high Two Slice font can be more legible with some anti-aliasing.

  • With the gap, it's effectively three pixels wide. Basically a 3x5 font with one pixel chopped off.

    On some displays, you can also divide RGB into three subpixels (R, G, and B stripes). A 3x5 pixel font (9x5 subpixels) can be drawn as a 6x5 subpixel font instead (a 2x5 pixel font).

  • That one is relatively easier to read, I guess because it looks like normal font that was cut into strips.

    • Not sure about one font vs the other, but that one seems easiest to read from a highly oblique angle since that makes it look more similar to what it would do if half wasn't missing... Unless I'm just gaslighting myself and find it easier to read that way because I was expecting that it would be easier!

  • > such as small LED displays

    The highest DPI screen is 127,000 PPI. You could fit over 14,000 lines of 8x8 text in a single inch tall screen.

    For reference, a decent monitor is 140 PPI.

    I'm pretty sure we don't need to go below 8x8 if physical size is the issue.

    • Pad grid controllers like the Novation Launchpad, and its indie, open-source counterpart, Mystrix Pro, have an 8x8 grid. At first this style of controller didn't use any lights, but as the manufacturing and features progressed, they went towards one RGB LED per pad. So, of course, you end up doing some text and graphics on the resulting grid. Mystrix uses a scrolling marquee which isn't ideal, but does get the job done.

      And yeah, you could throw on more hardware to have a display nearby and use that for text. That is not the problem being solved though.

      1 reply →

I think readability is helped a lot by the low entropy of English words and sentences, i.e. if you can’t make out one letter, you’ll probably get it anyway from the context.

It’s not so readable if you test it with random strings.

  • I think it's partly because we recognize letters, and whole words, by glyph shape more than specific identity. Obviously a 2x2 grid can only depict 16 different patterns, but we're trying to recognize whole words, not arbitrary letter sequences, and the sequence of shapes (hence letter possibilities) is evidentially enough, a bit like reading crappy handwriting.

    It's interesting how we can do this with this 2x2 font immediately without any training, but I suppose reading in general has provided enough training, and ability to read this 2x2 font just provides some insight as to how word perception works.

    • Most letters are 2x3 px, the letter m is even 2x5. And I wouldn't say that I could comfortably read this, it was closer to deciphering than reading.

      1 reply →

    • I believe it's in part because of our experience reading things at angles. In this case, it looks to me like letters tilted backwards on a table, and I'm peering at them just above their horizon. Legible, but not comfortable.

This brings back fond memories from the 8-bit era. Tasword II was a text processor for the Sinclair ZX Spectrum where the developers resorted to extra-narrow fonts to cope with the Speccy's very limited (256x192) screen resolution. The lower screenshot in [1] provides a glimpse of what seems to be a 3px wide font.

OP's 2px width are a bit too extreme for my taste though.

[1] https://spectrumcomputing.co.uk/entry/4000080/Timex/Tasword_...

  • One of the first Spectrum emulators (JPP?) used a VGA text mode with 2 pixel high font where each character was its own ordinal, i.e. 65 was two rows of 01000001 pixels. That meant you could draw individual rows bytewise exactly as the Spectrum did, and just take care of the Y offset bit shuffle, and fake the colour clash.

  • Similar to VIP Term on the Commodore 64, which used a 3x7 bitmap font in a 4x8 space to display 80-column text.

    I don't know is any word processors did that, though, except in printer preview mode.

White space around each letter is completely critical for fonts like this. That makes this font 4x4 as presented, or 3x4 but you lose a lot of readability—too much imho.

The exception to this would be a physical manifestation, where each 2x3 pixel block was surrounded by a dead space, so that the display was actually optimised for this font configuration.

Still, that’s an impressive accomplishment, allowing a 16x32 character display on a sub 1$ oled, and 10x18 on a 3$ integrated computer with built in display.

Nice work.

For anyone actually thinking of using tiny fonts in a practical project, imho 4x5 (3x4 plus padding) is about as small as it gets for a font that doesn’t require extra work to read, giving 1 pixel of (violable) padding bottom and right. Unlike the OP font, it only needs 1px of top padding to be perfectly readable, so you are actually getting “free” readability compared to needing top+bottom padding like the OP font.

  • Glyph advance or line spacing is not part of the bitmaps.

    • I get that, but it figures in when you actually put this on pixels. I’m thinking about practical use of such a font, most likely on a pixel-constrained screen, otherwise you would use a higher definition font.

      It’s a cool hack, and for someone actually using little fonts like I do in real world devices it’s very interesting.

      I find that you can actually go 4x5 (including padding) and still have great readability. Any less and you have to work to read it.

Capital H is cursed... unconnected pixels, indistinguishable from 'ii' or "II". The concept's cool, but for this one point the wrong choice was made.

  • Try reading "HiGh sky buys The lies" in the font. Pretty difficult to make out what it says...

    • I think most of what makes this font readable is the user using context to sort of guess at what the word could be.

      If you start writing things that aren’t sentences normal people would use (or especially if you start mixing case) it doesn’t hold up. Still interesting for a “normal” use case though.

I wonder what the minimum resolution of Chinese characters is. It’s definitely more than 2px tall.

Really like that zero glyph. I wonder if, instead of Roman numerals, one could use ligatures to encode numeric strings as binary… 42 as 010101

(I sort of randomly picked 42, didn't know it was such an interesting string… Douglas Adams must have known that)

Wow, can't be used as a braille alternative that people with sight can also understand?

  • Observation:

    Braille is 3 px in height. But only 2 px wide and monospaced, while this font is variable width.

    Oh, and several characters share representation in this, say other threads here.

X has had a 2 pixel bitmap font, `nil2`, from time immemorial (i.e. it's in X10).

Some of the characters/words (particularly "c"/"can") sort of look like they've been cropped from the top, trusting the brain to fill in the bottom half. Reminds me of what Sandisk did with the "S" in their redesign. I wonder if there's any research behind this?

I was so confused why "o" in the example was wider than "o" written myself - until I understood that example has it capitalized... That seems useless

> You can probably read this, even if you wish you couldn't.

Um... Nope. I can't.

I can get some of the letters, but not most of them, unfortunately.

Love the concept, and the art, that goes into things like this. But I just cannot read it.*

* I have nerve problems in my eyes. I'm not legally blind... Most of the time.

  • Yeah, a lot of words/letters made sense, but I definitely had to use some deduction to read it.

    Interesting, and given the limitation, it’s quite impressive.

    But I think “probably” is optimistic. I’d say “possibly” is more realistic.

  • It's not easy but I definitely could read it. It's easier if you don't try and read each word fully before continuing.

I wish I had this back capability when I used to program my TI graphing calculators back in highschool!

I love this. It speaks to me in a similar ways as a lot of the AI zeitgeist—why shouldn’t we optimize for how the brain actually operates at scale versus hundreds-years-old ideas about ligatures designed for reading in candlelight? (In the AI case, a romanticism for having to learn and prove memory in such a rote way)

okay but what about "c" being nearly the same as "z", neither of which look like the character and are nearly(?) identical. Is our brain supposed to just be able to figure it out?

Well I think to make fonts like these legible, the trick is to use texts as examples that the readers already know, then you don’t really need to recognize very letter, but just the one here and there to keep up overall recognition. It also helps to focus on letters that are most readable.

But tongue in cheek humor aside, this is a neat accomplishment. It’s a great idea to stretch the letters out in width, greatly improves readability. (Earlier approaches Fokus a lot on trying to stay square, which doesn’t really work at this size)

Is it just me or the s Z and z S should be swapped?

  • You're right. The capitals look fine, but the lowercased versions look swapped. I think this is because the creator decided to cut the spines for the uppercases and crop out the arms for lowercases. Since the arms and spine point in opposite directions for "s" and "z", it really hurts their identification

It is readable in English with quite some training and context. Many characters have the same representation.

I for one would say this is not generally usable and has a limited scope.

Interesting nonetheless.

xyv, bl, hi, in various cap/uncapped formats, are the same characters or nearly indistiguishable. I'm trying to craft the most unreadable sentence possible. I got as far as "Hi, THe czech's bliss is exact"

The Atari 2600 had pretty good vertical resolution (assuming you could set up the next line in 76 cycles) but limited horizontal resolution. A 3x5 font is possible, but good luck distinguishing N from M.

This font seems to use characters up to 5 pixels wide, which helps with its near-legibility.

It says in all caps: “YOU CAN PROBABLY READ THIS, EVEN IF YOU WISH YOU COULDN'T. IT TENDS TO BE EASIER TO READ AT SMALLER SIZES.”