mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-17 05: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
576 B
Plaintext
17 lines
576 B
Plaintext
Fonts
|
|
|
|
Fonts are kept in "source" form in the following blocks and
|
|
then compiled to binary bitmasks by the following code. In
|
|
source form, fonts are a simple sequence of '.' and 'X'. '.'
|
|
means empty, 'X' means filled. Glyphs are entered one after the
|
|
other, starting at 0x21 and ending at 0x7e. To be space
|
|
efficient in blocks, we align glyphs horizontally in the blocks
|
|
to fit as many character as we can. For example, a 5x7 font
|
|
would mean that we would have 12x2 glyphs per block.
|
|
|
|
521 Font compiler 530 3x5 font
|
|
532 5x7 font 536 7x7 font
|
|
|
|
|
|
|