chiark / gitweb /
Add support for generating 8-cell mosaic graphics
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 23 Sep 2025 21:44:19 +0000 (22:44 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 23 Sep 2025 21:44:19 +0000 (22:44 +0100)
commitc62b3925534a58d5e3d4a93e8c6b80b75bffc468
tree9fba654218426803dc2ea5d4486e9e96bb49fb8e
parentc53957312f386c3f77e282ffa2fb87b7010b6caf
Add support for generating 8-cell mosaic graphics

This follows the pattern of the 6-cell and 4-cell versions, but without
separated mode because Unicode doesn't have that.  This required making
the bitmap data into an unsigned char array to allow for using all eight
bits.

The cell boundaries are chosen so that they line up with existing 6-cell
and 4-cell boundaries.  So we have row heights of [3,2,2,3], which is
maybe less pretty than [3,2,3,2], but is more in keeping with the
existing mosaics.  Indeed, it means that the existing 4-cell and 6-cell
contiguous characters could be expressed in 8-cell terms if I wanted to.
bedstead.c