mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 15:08:05 +11:00
f6ded7712e
This is the first commit I do entirely in VE. It's a habit I'm planning on taking as it helps a lot to find usability issues.
17 lines
327 B
Plaintext
17 lines
327 B
Plaintext
( Converts "dot-X" fonts to binary "glyph rows". One byte for
|
|
each row. In a 5x7 font, each glyph thus use 7 bytes.
|
|
Resulting bytes are aligned to the left of the byte.
|
|
Therefore, for a 5-bit wide char, "X.X.X" translates to
|
|
0b10101000. Left-aligned bytes are easier to work with when
|
|
compositing glyphs. )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|