Expand description
UGLY-MAXIMAL font.
Each character representation is defined as series of columns consisting of 5 bits
at maximum. Bits are ordered down-top and columns left-right. So 0 index bit of 0 index column
is top left corner. For example, for 0x1e = 0b11_110 which is 1ˢᵗ column of A this is 0
.
Constants§
- From ‘0’ to ‘9’.
- English alphabet. 26 letters.
- One column of ’0’s.
- Set of chosen symbols.
- Special matrix for unsupported
char
mapping.
Functions§
- Computes expected buffer size for
text
provided. Goes withstr.len()
thus size is computed from size in bytes notchar
s nor graphemes. Optionally extends size withextra
. - Provides
c
into 5×5 matrix defined projection. Somechar
s are unsuitable for exact 5×5 representation. For instance ‘!’ which is only 1 column wide. All letters are capitalized. - Provides mappings for input
text
into 5x5 matrixes. Eachchar
mapping is followed bySPACING
with exception for last one. Wholetext
is optinally followed byfinal_sp
count ofSPACING
s. For details seecol_def
.