DEV Community

Корчеватель
Корчеватель

Posted on

Subgrid devlog.1

This is the start of devlog of an experimental UI library inspired by the text video modes of the past and their console UI. Typical terminal emulator is a regular grid where each cell contains a exactly one character drawn with a monospaced font. Some terminals are known to use two cells to draw the characters like CJK.

This experiment is to verify if text mode approach with smaller cells makes sense. With smaller cells even the ASCII character can occupy several cells, for example the "i" letter takes one cell, the "A" takes two cells and the wider symbols like "W" takes three cells.

Why would anyone would like to do this? Well, with smaller cells we can have high information density by using the duospaced fonts and UI decorations.

Top comments (0)