Fonts
Testing some fonts for possible use in my homebrew computer project.
Hack,
Pico,
Gohu,
Each character is encoded using 0
’s and 1
’s. A zero represents an empty pixel, and a one represents a filled pixel. For example, here’s the array to represent 8
:
[
'00000000',
'01111110',
'01111110',
'01100110',
'01100110',
'01111110',
'01111110',
'01100110',
'01100110',
'01111110',
'01111110',
]
Using Gimp to save a font in the X PixMap image format has yielded the best results (so far) towards automating the encoding process.