Hi
I'm looking to add loadble fonts into my terminal, but unsure what format the font is in. I mean, I see it's in base64 format, but not sure what format it is when it is decoded?
Also last night while I was adding sixel support, I think I spotted an error (or at least it confused me) in cterm.txt
Under raster attributes, it says "p3 and p4 define the height and width in sixels" I think it should read "p3 and p4 define the width and height in sixels" as p3 is the width and p4 is the height.
On Tue June 14 18:36:00 2022, Digital Man wrote to Apam <=-
I'm looking to add loadble fonts into my terminal, but unsure what format the font is in. I mean, I see it's in base64 format, but not sure what format it is when it is decoded?
The underlying font format is just bitmap CGA font data, each byte is a row of char/glyph data since the character cells are 8-pixels wide. Fonts can be either 8, 14, or 16 rows high however, so the number of bytes that make up a complete char/glyph depends on the target video mode.
Sysop: | MarisaG |
---|---|
Location: | South San Francisco, CA |
Users: | 5 |
Nodes: | 10 (0 / 10) |
Uptime: | 00:52:38 |
Calls: | 123 |
Files: | 36 |
Messages: | 30,463 |